Changeset d244bc9 in git
- Timestamp:
- Dec 4, 2014, 3:25:06 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 51f7063
- Parents:
- 6fb1a5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/FastJetFinder.cc
r6fb1a5d rd244bc9 223 223 Candidate *candidate, *constituent; 224 224 TLorentzVector momentum; 225 226 TLorentzVector constmomentum; 227 225 228 Double_t deta, dphi, detaMax, dphiMax; 226 229 Double_t time, weightTime, avTime; … … 286 289 for(itOutputList = outputList.begin(); itOutputList != outputList.end(); ++itOutputList) 287 290 { 288 momentum.SetPxPyPzE(itOutputList->px(), itOutputList->py(), itOutputList->pz(), itOutputList->E()); 291 jet = *itOutputList; 292 if(fJetAlgorithm == 7) jet = join(jet.constituents()); 293 294 momentum.SetPxPyPzE(jet.px(), jet.py(), jet.pz(), jet.E()); 295 289 296 area.reset(0.0, 0.0, 0.0, 0.0); 290 297 if(fAreaDefinition) area = itOutputList->area_4vector(); … … 297 304 inputList.clear(); 298 305 inputList = sequence->constituents(*itOutputList); 306 307 constmomentum.SetPxPyPzE(0.0,0.0,0.0,0.0);; 299 308 300 309 for(itInputList = inputList.begin(); itInputList != inputList.end(); ++itInputList) 301 310 { 302 311 constituent = static_cast<Candidate*>(fInputArray->At(itInputList->user_index())); 312 313 constmomentum += constituent->Momentum; 303 314 304 315 deta = TMath::Abs(momentum.Eta() - constituent->Momentum.Eta());
Note:
See TracChangeset
for help on using the changeset viewer.