3 #include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
14 (
abs(p.pdg) == 13 ||
abs(p.pdg) == 2212 ||
15 abs(p.pdg) == 211 ||
abs(p.pdg) == 321 ) &&
22 bool IsGenie(
const caf::SRTrueParticleProxy&
p) {
bool IsGenie(const caf::SRTrueParticleProxy &p)
Whether this particle was generated by genie (as opposed to geant or corsika)
process_name opflashCryoW ana
bool IsPrimary(const caf::SRTrueParticleProxy &p)
Whether this is a primary particle or generated by a secondary interaction.
bool IsStable(const caf::SRTrueParticleProxy &p)
Whether this is a stable particle as generated by genie.
bool HasBraggPeak(const caf::SRTrueParticleProxy &p)
Whether this particle should have a bragg peak in the detector.