Fork me on GitHub

Changeset 56af73f in git for modules


Ignore:
Timestamp:
May 26, 2021, 7:13:43 PM (3 years ago)
Author:
Thomas Madlener <thomas.madlener@…>
Branches:
master
Children:
90132e0
Parents:
c6f9311
Message:

Fill Particle with correct pointer

Commented out in 0060caa, leads to Track::Particle and
ParticleFlowCandidate::Particle never being properly filled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    rc6f9311 r56af73f  
    405405    entry->Mass = m;
    406406
    407     //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
     407    particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
    408408    //const TLorentzVector &initialPosition = particle->Position;
    409409    const TLorentzVector &initialPosition = candidate->InitialPosition;
     
    561561    entry->Mass = m;
    562562
    563     //particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
     563    particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
    564564    //const TLorentzVector &initialPosition = particle->Position;
    565565    const TLorentzVector &initialPosition = candidate->InitialPosition;
Note: See TracChangeset for help on using the changeset viewer.