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.7 by khahn, Tue May 1 23:39:16 2012 UTC vs.
Revision 1.8 by khahn, Sat May 12 03:00:15 2012 UTC

# Line 12 | Line 12 | bool passHLTSingleMuon(std::bitset<TRIGG
12    return false;
13   }
14  
15 < bool passHLT(std::bitset<TRIGGER_BIG_NUMBER> triggerBits, unsigned runNum, unsigned channel) {
15 > //--------------------------------------------------------------------------
16 > // for sync ...
17 > bool passHLTMC(std::bitset<TRIGGER_BIG_NUMBER> triggerBits,
18 >               unsigned runNum,
19 >               unsigned channel)
20 > //--------------------------------------------------------------------------
21 > {
22 >  bool isMC = false;
23 >  bool pass = false;  
24 >
25 >  //
26 >  // Electrons
27 >  //  
28 >  if ( triggerBits.test(kHLT_Ele17_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL_Ele8_CaloIdT_TrkIdVL_CaloIsoVL_TrkIsoVL) )
29 >    pass = true;
30 >
31 >  
32 >  //
33 >  // Muons
34 >  //
35 >  if( triggerBits.test(kHLT_Mu13_Mu8) || triggerBits.test(kHLT_Mu17_Mu8) )    
36 >    pass = true;
37 >  
38 >  return pass;
39 > }
40 >
41 >
42 > //--------------------------------------------------------------------------
43 > bool passHLT(std::bitset<TRIGGER_BIG_NUMBER> triggerBits,
44 >             unsigned runNum,
45 >             unsigned channel)
46 > //--------------------------------------------------------------------------
47 > {
48  
49    bool isMC = false;
50    bool pass = false;  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines