Changeset 0060caa in git for modules/TreeWriter.cc
- Timestamp:
- May 5, 2021, 6:17:32 PM (4 years ago)
- Branches:
- master
- Children:
- f08474a
- Parents:
- c27c038
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TreeWriter.cc
rc27c038 r0060caa 404 404 entry->Mass = m; 405 405 406 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 407 const TLorentzVector &initialPosition = particle->Position; 406 //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 407 //const TLorentzVector &initialPosition = particle->Position; 408 const TLorentzVector &initialPosition = candidate->InitialPosition; 408 409 409 410 entry->X = initialPosition.X(); … … 557 558 entry->Mass = m; 558 559 559 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 560 const TLorentzVector &initialPosition = particle->Position; 560 //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 561 //const TLorentzVector &initialPosition = particle->Position; 562 const TLorentzVector &initialPosition = candidate->InitialPosition; 561 563 562 564 entry->X = initialPosition.X(); … … 574 576 entry->Edges[3] = candidate->Edges[3]; 575 577 576 entry->T = position.T() * 1.0E-3 / c_light;578 //entry->T = position.T() * 1.0E-3 / c_light; 577 579 entry->NTimeHits = candidate->NTimeHits; 578 580
Note:
See TracChangeset
for help on using the changeset viewer.