00001 #include <vector> 00002 00003 #include "TruthHelper/GenAll.h" 00004 #include "HepMC/GenParticle.h" 00005 using std::vector; 00006 using std::abs; 00007 //**************************************************************** 00008 //* All * 00009 //**************************************************************** 00010 bool GenAll::operator()( const Particle* const) const { 00011 return true; 00012 } 00013 bool GenAll::operator() ( const Particle& p ) const { 00014 return this->operator()(&p); 00015 } 00016 GenIMCselector* GenAll::create() const {return new GenAll();}