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

Comparing UserCode/MitHzz4l/Selection/src/applySelection.cc (file contents):
Revision 1.7 by khahn, Thu Oct 13 14:27:53 2011 UTC vs.
Revision 1.8 by khahn, Fri Oct 14 11:20:25 2011 UTC

# Line 37 | Line 37 | using namespace std;
37   #include "TElectron.hh"
38   #include "TMuon.hh"
39   #include "TJet.hh"
40 + #include "SiMVAElectronSelection.h"
41   #include "RunLumiRangeMap.h"
42  
43   //
# Line 50 | Line 51 | using namespace std;
51   #include "HZZBDTElectronSelection.h"
52   #include "SampleWeight.h"
53  
54 + //#define BDTFAIL_THEIR_EVENTS
55   //#define THEIR_EVENTS
56  
57   //=== MAIN =================================================================================================
# Line 113 | Line 115 | int main(int argc, char** argv)
115    initCiCSelection();
116    if(ctrl.eleSele=="lik") initLikSelection();
117    if(ctrl.eleSele=="bdt") initBDTSelection();
118 +  if(ctrl.eleSele=="si" ) initSiMVAElectronSelection();
119    initRunLumiRangeMap();
120  
121    //
# Line 179 | Line 182 | int main(int argc, char** argv)
182             info->evtNum == 10347106   ||
183             info->evtNum == 107360878  ) ) continue;
184   #endif
185 +
186 +
187 + #ifdef BDTFAIL_THEIR_EVENTS
188 +    if( !( info->evtNum == 78213037   ||
189 +           info->evtNum == 876658967  ) ) continue;
190 +          
191 + #endif
192  
193      unsigned evtfail = fails_HZZ4L_selection(ctrl, info, electronArr, muonArr, eventweight, passtuple);    
194      h_evtfail->Fill( evtfail, eventweight );
195 <    if( ctrl.debug ) cout << endl << endl;  
195 >
196            
197    } //end loop over data    
198  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines