Go to the documentation of this file. 1 #ifndef Input_HepMCFileReader_h
2 #define Input_HepMCFileReader_h
virtual void getStatsFromTuple(int &mo1, int &mo2, int &da1, int &da2, int &status, int &pid, int j) const
HepMC::GenEvent * fillCurrentEventData()
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
edm::propagate_const< HepMC::GenEvent * > evt_
virtual void initialize(const std::string &filename)
virtual bool printHepMcEvent() const
virtual bool setEvent(int event)
static HepMCFileReader * instance()
std::map< HepMC::GenParticle *, int > particle_to_index
HepMC::IO_BaseClass *& input()
edm::propagate_const< HepMC::IO_BaseClass * > input_
const HepMC::IO_BaseClass * input() const
virtual ~HepMCFileReader()
virtual bool readCurrentEvent()
int find_in_map(const std::map< HepMC::GenParticle *, int > &m, HepMC::GenParticle *p) const
static HepMCFileReader * instance_
std::vector< HepMC::GenParticle * > index_to_particle
bool isInitialized() const