Changeset 4acf2fd in git for modules/TreeWriter.cc
- Timestamp:
- May 17, 2021, 6:05:38 PM (3 years ago)
- Branches:
- master
- Children:
- 7dac4ea
- Parents:
- 46d3442 (diff), 4afb18d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Michele Selvaggi <michele.selvaggi@…> (05/17/21 18:05:38)
- git-committer:
- GitHub <noreply@…> (05/17/21 18:05:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TreeWriter.cc
r46d3442 r4acf2fd 356 356 entry->DZ = candidate->DZ; 357 357 entry->Nclusters = candidate->Nclusters; 358 entry->dNdx = candidate->dNdx; 358 359 359 360 entry->ErrorP = candidate->ErrorP; … … 404 405 entry->Mass = m; 405 406 406 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 407 const TLorentzVector &initialPosition = particle->Position; 407 //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 408 //const TLorentzVector &initialPosition = particle->Position; 409 const TLorentzVector &initialPosition = candidate->InitialPosition; 408 410 409 411 entry->X = initialPosition.X(); … … 411 413 entry->Z = initialPosition.Z(); 412 414 entry->T = initialPosition.T() * 1.0E-3 / c_light; 415 entry->ErrorT =candidate-> ErrorT * 1.0E-3 / c_light; 413 416 414 417 entry->Particle = particle; … … 509 512 entry->DZ = candidate->DZ; 510 513 entry->Nclusters = candidate->Nclusters; 514 entry->dNdx = candidate->dNdx; 511 515 512 516 entry->ErrorP = candidate->ErrorP; … … 557 561 entry->Mass = m; 558 562 559 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 560 const TLorentzVector &initialPosition = particle->Position; 563 //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 564 //const TLorentzVector &initialPosition = particle->Position; 565 const TLorentzVector &initialPosition = candidate->InitialPosition; 561 566 562 567 entry->X = initialPosition.X(); … … 564 569 entry->Z = initialPosition.Z(); 565 570 entry->T = initialPosition.T() * 1.0E-3 / c_light; 571 entry->ErrorT = candidate-> ErrorT * 1.0E-3 / c_light; 566 572 567 573 entry->VertexIndex = candidate->ClusterIndex; … … 574 580 entry->Edges[3] = candidate->Edges[3]; 575 581 576 entry->T = position.T() * 1.0E-3 / c_light;582 //entry->T = position.T() * 1.0E-3 / c_light; 577 583 entry->NTimeHits = candidate->NTimeHits; 578 584
Note:
See TracChangeset
for help on using the changeset viewer.