Changes in classes/DelphesHepMC2Reader.cc [cc8716b:b4786d3] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesHepMC2Reader.cc
rcc8716b rb4786d3 438 438 { 439 439 Candidate *candidate; 440 Candidate *candidateDaughter;441 440 map<int, pair<int, int> >::iterator itMotherMap; 442 441 map<int, pair<int, int> >::iterator itDaughterMap; … … 447 446 candidate = static_cast<Candidate *>(allParticleOutputArray->At(i)); 448 447 449 450 448 if(candidate->M1 > 0) 451 449 { … … 479 477 candidate->D1 = -1; 480 478 candidate->D2 = -1; 481 const TLorentzVector &decayPosition = candidate->Position; 482 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 483 } 479 } 484 480 else 485 481 { 486 482 candidate->D1 = itDaughterMap->second.first; 487 483 candidate->D2 = itDaughterMap->second.second; 488 candidateDaughter = static_cast<Candidate *>(allParticleOutputArray->At(candidate->D1)); 489 const TLorentzVector &decayPosition = candidateDaughter->Position; 490 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 491 492 493 } 494 } 495 } 496 } 497 498 //--------------------------------------------------------------------------- 484 } 485 } 486 } 487 } 488 489 //---------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.