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

Comparing UserCode/MitHzz4l/Selection/src/PassHLT.cc (file contents):
Revision 1.2 by khahn, Thu Sep 8 20:10:48 2011 UTC vs.
Revision 1.5 by khahn, Thu Sep 15 20:44:10 2011 UTC

# Line 1 | Line 1
1   #include "PassHLT.h"
2 < #include "EWKAnaDefs.hh"
2 > #include "HiggsAnaDefs.hh"
3  
4   bool passHLT(uint64_t triggerBits, unsigned runNum, unsigned channel) {
5  
# Line 22 | Line 22 | bool passHLT(uint64_t triggerBits, unsig
22      if ( triggerBits & kHLT_Ele17_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_Ele8_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL )
23        pass = true;
24    }
25 <  if (runNum >= 172799 ) {  // there's 58 pb-1 that had a prescale issue, need to check the actual run range
25 >
26 >  // 58 pb-1 had a prescale issue, run range is 171050-171578
27 >  // they allow electron evts to pass kHLT_Ele17_CaloIdVT_CaloIsoVT_TrkIdT_TrkIsoVT_SC8_Mass30 in this period
28 >  if (runNum >= 171050 && runNum <= 171578 ) {  
29      if( triggerBits & kHLT_Ele17_CaloIdVT_CaloIsoVT_TrkIdT_TrkIsoVT_SC8_Mass30 )
30        pass=true;
31    }
32 <  //  }
32 >
33    
34    //
35    // Muons
# Line 44 | Line 47 | bool passHLT(uint64_t triggerBits, unsig
47          pass = true;
48    }
49    if( runNum >= 165088  ) {  // PRv4 and on ....
50 <    if( triggerBits & kHLT_Mu17_Mu8 )    
50 >    if( triggerBits & kHLT_Mu13_Mu8 )    
51        pass = true;
52    }
53    //  }
# Line 58 | Line 61 | bool passHLT(uint64_t triggerBits, unsig
61   bool passHLTMC(uint64_t triggerBits) {
62  
63    bool pass=false;
64 <  if( triggerBits & kHLT_DoubleMu7 ||
65 <      triggerBits & kHLT_DoubleMu6 ||
66 <      triggerBits & kHLT_Mu5 ) {
64 >  if( triggerBits & kHLT_DoubleMu7 // ||
65 >      // triggerBits & kHLT_DoubleMu6 ||
66 >      // triggerBits & kHLT_Mu5
67 >      ) {
68      pass = true;
69    } else if ( triggerBits & kHLT_Ele17_CaloIdL_CaloIsoVL_Ele8_CaloIdL_CaloIsoVL ||
70                triggerBits & kHLT_Ele27_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT ||

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines