ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/SFrameTools/src/EventCalc.cxx
(Generate patch)

Comparing UserCode/UHHAnalysis/SFrameTools/src/EventCalc.cxx (file contents):
Revision 1.8 by peiffer, Tue Aug 21 15:49:48 2012 UTC vs.
Revision 1.9 by peiffer, Wed Oct 31 09:48:57 2012 UTC

# Line 252 | Line 252 | void EventCalc::FillHighMassTTbarHypothe
252      LorentzVector wlep_v4 = lepton->v4()+neutrinos[i];
253  
254      unsigned int n_jets = m_bcc->jets->size();
255 +    if(n_jets>10) n_jets=10; //avoid crashes in events with many jets
256      unsigned int max_j = myPow(3, n_jets);
256    if(max_j>10) max_j=10; //avoid crashes in events with many jets
257      for (unsigned int j=0; j < max_j; j++) {
258        LorentzVector tophad_v4(0,0,0,0);
259        LorentzVector toplep_v4 = wlep_v4;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines