Fork me on GitHub

Changeset 868daac in git for modules/StatusPidFilter.cc


Ignore:
Timestamp:
Nov 3, 2016, 12:43:01 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
122ab2f
Parents:
93b4a8c
Message:

extended compatibility of StatusPidFilter with py8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/StatusPidFilter.cc

    r93b4a8c r868daac  
    104104    pass = kFALSE;
    105105
    106     // status == 3
    107     if(status == 3) pass = kTRUE;
     106    // hard scattering particles (first condition for Py6, second for Py8)
     107    if(status == 3 || (status > 20 && status < 30 )) pass = kTRUE;
    108108
    109109    // electrons, muons, taus and neutrinos
     
    111111
    112112    // heavy quarks
    113     if(pdgCode == 5 || pdgCode == 6) pass = kTRUE;
     113    if(pdgCode == 4 ||pdgCode == 5 || pdgCode == 6) pass = kTRUE;
    114114
    115115    // Gauge bosons and other fundamental bosons
Note: See TracChangeset for help on using the changeset viewer.