# | Line 253 | Line 253 | void EventCalc::FillHighMassTTbarHypothe | |
---|---|---|
253 | ||
254 | unsigned int n_jets = m_bcc->jets->size(); | |
255 | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |