Fork me on GitHub

Changeset 90132e0 in git for modules


Ignore:
Timestamp:
Jun 3, 2021, 11:51:18 AM (3 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
9fbcf38
Parents:
a26a130 (diff), 56af73f (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@…> (06/03/21 11:51:18)
git-committer:
GitHub <noreply@…> (06/03/21 11:51:18)
Message:

Merge pull request #97 from tmadlener/fix-empty-candidates

Fill Particle with correct pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    ra26a130 r90132e0  
    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.