Fork me on GitHub

Changeset f3598d0 in git for modules


Ignore:
Timestamp:
Apr 10, 2018, 11:54:31 AM (7 years ago)
Author:
Fabio Monti <fabio.monti@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
a670493
Parents:
a027b5e
Message:

add stable gen photon info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/StatusPidFilter.cc

    ra027b5e rf3598d0  
    190190    if(pdgCode > 22 && pdgCode < 43) pass = kTRUE;
    191191
     192    //Stable photons
     193    if(pdgCode == 22 && status==1) pass = kTRUE;
     194
    192195    // logic ported from HepPDF: http://lcgapp.cern.ch/project/simu/HepPDT/HepPDT.2.05.02/html/ParticleID_8cc-source.html#l00081
    193196    bool is_b_hadron = hasBottom(pdgCode);
Note: See TracChangeset for help on using the changeset viewer.