ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/NonMCBackground/src/applyEMU.cc
(Generate patch)

Comparing UserCode/MitHzz4l/NonMCBackground/src/applyEMU.cc (file contents):
Revision 1.6 by dkralph, Fri Jul 6 15:01:29 2012 UTC vs.
Revision 1.10 by dkralph, Tue Jan 15 10:02:46 2013 UTC

# Line 55 | Line 55 | using namespace std;
55  
56   #include "TriggerUtils.h"
57   #include "PassHLT.h"
58 #include "Angles.h"
58   #include "KinematicsStruct.h"
59   #include "InfoStruct.h"
60   #include "GenInfoStruct.h"
# Line 69 | Line 68 | using namespace std;
68  
69   #include "SampleWeight.h"
70   #include "EfficiencyWeightsInterface.h"
72 #include "SelectionZ.h"
71  
72   #include "SimpleLepton.h"
73  
# Line 296 | Line 294 | int main(int argc, char** argv)
294      if(!(ientry%1000)) cerr << "entry: " << ientry << "\t" << float(ientry)/imax << endl;
295  
296      string fname = string(chain->GetFile()->GetEndpointUrl()->GetFile());
297 <    if( ctrl.era == 0  )
300 <      setEra( fname, ctrl );
297 >    setEra( fname, ctrl );
298  
299      // pfNoPU
300      PFnoPUflag.clear();
# Line 336 | Line 333 | int main(int argc, char** argv)
333      passingLeptons.clear();
334      EventData ret4l;
335          
339    if(ctrl.fakeScheme.Contains("oneZ"))
340      ret4l = apply_HZZ4L_Z_selection(ctrl, info,
341                                      hltTable,
342                                      hltObjArr,
343                                      fTrigObjs,
344                                      vtxArr,
345                                      pfArr,
346                                      puDArr,
347                                      electronArr,
348                                      &electronReferencePreSelection,
349                                      &electronReferenceIDMVASelectionV1,
350                                      &electronReferenceIsoSelection,
351                                      muonArr,
352                                      &muonReferencePreSelection,
353                                      &muonIDPFSelection,
354                                      &muonReferenceIsoSelection);
355    else
336        ret4l = apply_HZZ4L_EMU_selection(ctrl, info,
337                                          hltTable,
338                                          hltObjArr,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines