Fork me on GitHub

Changeset 7a86a5c in git for modules/PdgCodeFilter.cc


Ignore:
Timestamp:
Nov 23, 2018, 2:37:05 AM (6 years ago)
Author:
chekanov <chekanov@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
7c7fe5e
Parents:
e5fa629
Message:

Added new option to remove pileup particles from truth record

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/PdgCodeFilter.cc

    re5fa629 r7a86a5c  
    7676  fInvert = GetBool("Invert", false);
    7777
     78  // no pileup
     79  fRequireNotPileup = GetBool("RequireNotPileup", false);
     80
    7881  fRequireStatus = GetBool("RequireStatus", false);
    7982  fStatus = GetInt("Status", 1);
     
    127130    if(fRequireStatus && (candidate->Status != fStatus)) continue;
    128131    if(fRequireCharge && (candidate->Charge != fCharge)) continue;
     132    if(fRequireNotPileup && (candidate->IsPU   >0     )) continue;
    129133
    130134    pass = kTRUE;
Note: See TracChangeset for help on using the changeset viewer.