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.9 by ceballos, Thu Jan 22 22:25:27 2009 UTC vs.
Revision 1.10 by ceballos, Fri Jan 23 09:27:46 2009 UTC

# Line 14 | Line 14 | JetIDMod::JetIDMod(const char *name, con
14    fJetBranchName(Names::gkCaloJetBrn),
15    fGoodJetsName(ModNames::gkGoodJetsName),  
16    fUseJetCorrection(kTRUE),
17 <  fJetEtCut(20.0),
17 >  fJetPtCut(20.0),
18    fJets(0)
19   {
20    // Constructor.
# Line 37 | Line 37 | void JetIDMod::Process()
37      if (jet->AbsEta() > 5.0)
38        continue;
39      
40 <    Double_t jetet = jet->Et();
40 >    Double_t jetpt = jet->Pt();
41      if (fUseJetCorrection)
42 <      jetet *= jet->L2RelativeCorrectionScale() * jet->L3AbsoluteCorrectionScale();
42 >      jetpt *= jet->L2RelativeCorrectionScale() * jet->L3AbsoluteCorrectionScale();
43  
44 <    if (jetet < fJetEtCut)
44 >    if (jetpt < fJetPtCut)
45        continue;
46      
47      // add good jet to collection

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines