Fork me on GitHub

Changeset 2a2f310 in git


Ignore:
Timestamp:
Mar 2, 2022, 9:16:57 PM (3 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
master
Children:
4e8e72b
Parents:
3a105e5
Message:

add check for particles from towers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r3a105e5 r2a2f310  
    175175    while((candidate = static_cast<Candidate *>(it2.Next())))
    176176    {
    177       array->Add(candidate->GetCandidates()->At(0));
     177      candidate = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
     178      if(candidate->GetCandidates()->GetEntriesFast() == 0)
     179      {
     180        array->Add(candidate);
     181      }
    178182    }
    179183  }
Note: See TracChangeset for help on using the changeset viewer.