Fork me on GitHub

Changeset 4acf2fd in git for modules/TreeWriter.cc


Ignore:
Timestamp:
May 17, 2021, 6:05:38 PM (3 years ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge branch 'master' into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r46d3442 r4acf2fd  
    356356    entry->DZ = candidate->DZ;
    357357    entry->Nclusters = candidate->Nclusters;
     358    entry->dNdx = candidate->dNdx;
    358359
    359360    entry->ErrorP = candidate->ErrorP;
     
    404405    entry->Mass = m;
    405406
    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;
    408410
    409411    entry->X = initialPosition.X();
     
    411413    entry->Z = initialPosition.Z();
    412414    entry->T = initialPosition.T() * 1.0E-3 / c_light;
     415    entry->ErrorT =candidate-> ErrorT * 1.0E-3 / c_light;
    413416
    414417    entry->Particle = particle;
     
    509512    entry->DZ = candidate->DZ;
    510513    entry->Nclusters = candidate->Nclusters;
     514    entry->dNdx = candidate->dNdx;
    511515
    512516    entry->ErrorP = candidate->ErrorP;
     
    557561    entry->Mass = m;
    558562
    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;
    561566
    562567    entry->X = initialPosition.X();
     
    564569    entry->Z = initialPosition.Z();
    565570    entry->T = initialPosition.T() * 1.0E-3 / c_light;
     571    entry->ErrorT = candidate-> ErrorT * 1.0E-3 / c_light;
    566572
    567573    entry->VertexIndex = candidate->ClusterIndex;
     
    574580    entry->Edges[3] = candidate->Edges[3];
    575581
    576     entry->T = position.T() * 1.0E-3 / c_light;
     582    //entry->T = position.T() * 1.0E-3 / c_light;
    577583    entry->NTimeHits = candidate->NTimeHits;
    578584
Note: See TracChangeset for help on using the changeset viewer.