ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/plugins/HbbTreeMaker.cc
(Generate patch)

Comparing UserCode/HbbAnalysis/plugins/HbbTreeMaker.cc (file contents):
Revision 1.35 by agilbert, Wed Jun 22 13:02:49 2011 UTC vs.
Revision 1.36 by agilbert, Thu Jun 23 08:39:31 2011 UTC

# Line 230 | Line 230 | void HbbTreeMaker::analyze(const edm::Ev
230        std::cout << "AMM: Collection of LHEEventProduct not available! Exception : " << e.what() << ". " << std::endl;
231      }
232  
233 <    HbbLHEInfo(lLHEEvt,event_->lheParticles());
234 <
233 >    if (lLHEEvt.isValid()){
234 >      HbbLHEInfo(lLHEEvt,event_->lheParticles());
235 >    }
236      try {
237        aEvt.getByLabel(genParticleSrc_,lGenParticles);  
238        if (debug_) std::cout << "** ngenParticles = " << lGenParticles->size() << std::endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines