Changeset fd4b326 in git for modules/Calorimeter.cc
- Timestamp:
- Mar 17, 2021, 4:19:54 PM (3 years ago)
- Branches:
- master
- Children:
- 9cc5aeb
- Parents:
- b8a6aa3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Calorimeter.cc
rb8a6aa3 rfd4b326 559 559 if(ecalNeutralEnergy > fECalEnergyMin && ecalNeutralSigma > fECalEnergySignificanceMin) 560 560 { 561 // create new photon tower 561 // create new photon tower assuming null mass 562 562 tower = static_cast<Candidate *>(fTower->Clone()); 563 563 pt = ecalNeutralEnergy / TMath::CosH(eta); … … 646 646 track = static_cast<Candidate *>(track->Clone()); 647 647 track->AddCandidate(mother); 648 649 648 track->Momentum *= rescaleFactor; 649 track->Momentum.SetPtEtaPhiM(track->Momentum.Pt()*rescaleFactor, track->Momentum.Eta(), track->Momentum.Phi(), track->Momentum.M()); 650 650 651 651 fEFlowTrackOutputArray->Add(track);
Note:
See TracChangeset
for help on using the changeset viewer.