Changes in modules/FastJetFinder.cc [7c0fcd5:01f457a] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/FastJetFinder.cc
r7c0fcd5 r01f457a 241 241 Candidate *candidate, *constituent; 242 242 TLorentzVector momentum; 243 244 TLorentzVector constmomentum; 245 243 246 Double_t deta, dphi, detaMax, dphiMax; 244 247 Double_t time, weightTime, avTime; … … 304 307 for(itOutputList = outputList.begin(); itOutputList != outputList.end(); ++itOutputList) 305 308 { 306 momentum.SetPxPyPzE(itOutputList->px(), itOutputList->py(), itOutputList->pz(), itOutputList->E()); 309 jet = *itOutputList; 310 if(fJetAlgorithm == 7) jet = join(jet.constituents()); 311 312 momentum.SetPxPyPzE(jet.px(), jet.py(), jet.pz(), jet.E()); 313 307 314 area.reset(0.0, 0.0, 0.0, 0.0); 308 315 if(fAreaDefinition) area = itOutputList->area_4vector(); … … 315 322 inputList.clear(); 316 323 inputList = sequence->constituents(*itOutputList); 324 325 constmomentum.SetPxPyPzE(0.0,0.0,0.0,0.0);; 317 326 318 327 for(itInputList = inputList.begin(); itInputList != inputList.end(); ++itInputList) 319 328 { 320 329 constituent = static_cast<Candidate*>(fInputArray->At(itInputList->user_index())); 330 331 constmomentum += constituent->Momentum; 321 332 322 333 deta = TMath::Abs(momentum.Eta() - constituent->Momentum.Eta());
Note:
See TracChangeset
for help on using the changeset viewer.