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.1 by khahn, Thu Sep 8 13:33:18 2011 UTC vs.
Revision 1.2 by khahn, Thu Sep 8 20:10:48 2011 UTC

# Line 10 | Line 10 | bool passHLT(uint64_t triggerBits, unsig
10    // Electrons
11    //  
12    //  if( channel == 0 || channel == 2  ) {
13 <    //    if ( runNum >= 160404 && runNum <= 167151 ) { // may10 & PRv4
14 <    if ( runNum >= 160404 && runNum <= 170826 ) { // may10 & PRv4
15 <      if ( triggerBits & kHLT_Ele17_CaloIdL_CaloIsoVL_Ele8_CaloIdL_CaloIsoVL)
16 <        pass = true;
17 <    }
18 <    if (  runNum > 170826) { // aug05 & PRv6
19 <      if ( triggerBits & kHLT_Ele17_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_Ele8_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL )
20 <        pass = true;
21 <    }
22 <    //  }
23 <
13 >  //    if ( runNum >= 160404 && runNum <= 167151 ) { // may10 & PRv4
14 >  if(runNum < 160404) {
15 >    pass = true; //punt for now, Si doesn't have the needed triggers
16 >  }
17 >  if ( runNum >= 160404 && runNum <= 170826 ) { // may10 & PRv4
18 >    if ( triggerBits & kHLT_Ele17_CaloIdL_CaloIsoVL_Ele8_CaloIdL_CaloIsoVL)
19 >      pass = true;
20 >  }
21 >  if (  runNum > 170826 ) { // aug05 & PRv6
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
26 >    if( triggerBits & kHLT_Ele17_CaloIdVT_CaloIsoVT_TrkIdT_TrkIsoVT_SC8_Mass30 )
27 >      pass=true;
28 >  }
29 >  //  }
30 >  
31    //
32    // Muons
33    //
34 <    //  if( channel == 1 || channel == 2  ){
35 <    if( runNum >= 136033 && runNum <= 149942 ) { // april11 (2010)
36 <      // don't have DoubleMu3 in the ntuple
37 <      //      if( triggerBits & kHLT_DoubleMu3 )     pass = true;
38 <    }
39 <    if( runNum >= 160404 && runNum <= 163869 ) { // may10
34 >  //  if( channel == 1 || channel == 2  ){
35 >  if(runNum < 160404) {
36 >    pass = true; //punt for now, Si doesn't have the needed triggers
37 >  }
38 >  if( runNum >= 136033 && runNum <= 149942 ) { // april11 (2010)
39 >    // don't have DoubleMu3 in the ntuple
40 >    //      if( triggerBits & kHLT_DoubleMu3 )     pass = true;
41 >  }
42 >  if( runNum >= 160404 && runNum <= 163869 ) { // may10
43        if( triggerBits & kHLT_DoubleMu7 )    
44          pass = true;
45 <    }
46 <    if( runNum >= 165088  ) {  // PRv4 and on ....
47 <      if( triggerBits & kHLT_Mu17_Mu8 )    
48 <        pass = true;
49 <    }
50 <    //  }
45 >  }
46 >  if( runNum >= 165088  ) {  // PRv4 and on ....
47 >    if( triggerBits & kHLT_Mu17_Mu8 )    
48 >      pass = true;
49 >  }
50 >  //  }
51    
52    return pass;
53   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines