00001 //************************************************************************* 00002 //* * 00003 //* class IsGenerator ** 00004 //* * 00005 //* this predicate returns true was produced by the event generator * 00006 //* * 00007 //************************************************************************* 00008 #ifndef TRUTHHELPER_ISGENERATOR_H 00009 #define TRUTHHELPER_ISGENERATOR_H 00010 00011 #ifndef TRUTHHELPER_IMCSELECTOR_H 00012 #include "TruthHelper/GenIMCselector.h" 00013 #endif 00014 00015 00016 class IsGenerator: public GenIMCselector { 00017 00018 public: 00019 IsGenerator(); 00020 GenIMCselector* create() const; 00021 virtual bool operator()( const Particle* const p )const; 00022 virtual bool operator()( const Particle& p ) const; 00023 private: 00024 }; 00025 #endif 00026