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.3 by dkralph, Wed Sep 14 12:11:57 2011 UTC vs.
Revision 1.6 by khahn, Mon Oct 17 16:23:43 2011 UTC

# Line 1 | Line 1
1   #include "PassHLT.h"
2   #include "HiggsAnaDefs.hh"
3  
4 + bool passHLTSingleMuon(uint64_t triggerBits) {
5 +  if ( triggerBits & kHLT_Mu8 ||
6 +       triggerBits & kHLT_Mu12 ||  
7 +       triggerBits & kHLT_Mu15 ||  
8 +       triggerBits & kHLT_Mu24 ||  
9 +       triggerBits & kHLT_Mu30 )
10 +    return true;
11 +  return false;
12 + }
13 +
14   bool passHLT(uint64_t triggerBits, unsigned runNum, unsigned channel) {
15  
16    bool isMC = false;
# Line 22 | Line 32 | bool passHLT(uint64_t triggerBits, unsig
32      if ( triggerBits & kHLT_Ele17_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_Ele8_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL )
33        pass = true;
34    }
35 <  if (runNum >= 172799 ) {  // there's 58 pb-1 that had a prescale issue, need to check the actual run range
35 >
36 >  // 58 pb-1 had a prescale issue, run range is 171050-171578
37 >  // they allow electron evts to pass kHLT_Ele17_CaloIdVT_CaloIsoVT_TrkIdT_TrkIsoVT_SC8_Mass30 in this period
38 >  if (runNum >= 171050 && runNum <= 171578 ) {  
39      if( triggerBits & kHLT_Ele17_CaloIdVT_CaloIsoVT_TrkIdT_TrkIsoVT_SC8_Mass30 )
40        pass=true;
41    }
42 <  //  }
42 >
43    
44    //
45    // Muons
# Line 44 | Line 57 | bool passHLT(uint64_t triggerBits, unsig
57          pass = true;
58    }
59    if( runNum >= 165088  ) {  // PRv4 and on ....
60 <    if( triggerBits & kHLT_Mu17_Mu8 )    
60 >    if( triggerBits & kHLT_Mu13_Mu8 )    
61        pass = true;
62    }
63    //  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines