00001 //************************************************************************* 00002 //* * 00003 //* class IsGenNoninteracting ** 00004 //* * 00005 //* this predicate returns true if the input is non interacting 00006 // such as a neutrino 00007 // Ian Hinchliffe (based on atlfast HepMCHelper) 00008 // * 00009 //* * 00010 //************************************************************************* 00011 #ifndef TRUTHHELPER_ISGENNONINTERACTING_H 00012 #define TRUTHHELPER_ISGENNONINTERACTING_H 00013 00014 #ifndef TRUTHHELPER_GENIMCSELECTOR_H 00015 #include "TruthHelper/GenIMCselector.h" 00016 #endif 00017 00018 00019 class IsGenNonInteracting: public GenIMCselector { 00020 00021 public: 00022 IsGenNonInteracting(); 00023 GenIMCselector* create() const; 00024 virtual bool operator()( const Particle* const p )const; 00025 virtual bool operator()( const Particle& p ) const; 00026 private: 00027 }; 00028 #endif