ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/src/HiInclusiveJetAnalyzer.cc
(Generate patch)

Comparing UserCode/CmsHi/JetAnalysis/src/HiInclusiveJetAnalyzer.cc (file contents):
Revision 1.8 by mnguyen, Tue Mar 6 15:03:10 2012 UTC vs.
Revision 1.9 by yilmaz, Sun Apr 22 19:12:44 2012 UTC

# Line 80 | Line 80 | HiInclusiveJetAnalyzer::HiInclusiveJetAn
80    }
81  
82    cout<<" jet collection : "<<jetTag_<<endl;
83 <  if(isMC_)cout<<" genjet collection : "<<genjetTag_<<endl;
84 <
83 >  if(isMC_){
84 >     cout<<" genjet collection : "<<genjetTag_<<endl;
85 >     genPtMin_ = iConfig.getUntrackedParameter<double>("genPtMin",0);
86 >  }
87  
88    
89   }
# Line 454 | Line 456 | HiInclusiveJetAnalyzer::analyze(const Ev
456         float genjet_pt = genjet.pt();
457        
458         // threshold to reduce size of output in minbias PbPb
459 <       if(genjet_pt>20.){
459 >       if(genjet_pt>genPtMin_){
460  
461           jets_.genpt[jets_.ngen] = genjet_pt;                            
462           jets_.geneta[jets_.ngen] = genjet.eta();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines