Changeset 29b722a in git for classes/DelphesHepMC3Reader.cc
- Timestamp:
- Dec 9, 2021, 8:42:12 PM (3 years ago)
- Children:
- a09b75f
- Parents:
- d612dec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesHepMC3Reader.cc
rd612dec r29b722a 458 458 TObjArray *array; 459 459 Candidate *candidate; 460 Candidate *candidateDaughter; 460 461 TParticlePDG *pdgParticle; 461 462 int pdgCode; … … 573 574 candidate->D1 = -1; 574 575 candidate->D2 = -1; 576 const TLorentzVector &decayPosition = candidate->Position; 577 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 575 578 } 576 579 else … … 578 581 candidate->D1 = itDaughterMap->second.first; 579 582 candidate->D2 = itDaughterMap->second.second; 580 } 581 } 582 } 583 } 584 585 //--------------------------------------------------------------------------- 583 candidateDaughter = static_cast<Candidate *>(allParticleOutputArray->At(candidate->D1)); 584 const TLorentzVector &decayPosition = candidateDaughter->Position; 585 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 586 } 587 } 588 } 589 } 590 591 //---------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.