ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/src/JetIDMod.cc
(Generate patch)

Comparing UserCode/MitPhysics/Mods/src/JetIDMod.cc (file contents):
Revision 1.15 by loizides, Mon Mar 23 14:23:06 2009 UTC vs.
Revision 1.16 by ceballos, Sat May 9 18:35:57 2009 UTC

# Line 14 | Line 14 | JetIDMod::JetIDMod(const char *name, con
14    fJetsName(ModNames::gkPubJetsName),
15    fGoodJetsName(ModNames::gkGoodJetsName),  
16    fUseJetCorrection(kTRUE),
17 <  fJetPtCut(35.0)
17 >  fJetPtCut(35.0),
18 >  fJetEtaMaxCut(5.0)
19   {
20    // Constructor.
21   }
# Line 39 | Line 40 | void JetIDMod::Process()
40    for (UInt_t i=0; i<inJets->GetEntries(); ++i) {
41      const Jet *jet = inJets->At(i);
42  
43 <    if (jet->AbsEta() > 5.0)
43 >    if (jet->AbsEta() > fJetEtaMaxCut)
44        continue;
45      
46      Double_t jetpt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines