1 #ifndef Ntuple2HepMCFiller_H
2 #define Ntuple2HepMCFiller_H
17 #include "HepMC/GenEvent.h"
44 HepMC::GenEvent *
evt;
58 int find_in_map(
const std::map<HepMC::GenParticle*,int>&
m,
61 std::vector<HepMC::GenParticle*>& hepevt_particle,
62 HepMC::GenEvent* evt,
bool printInconsistencyErrors );
67 #endif // Ntuple2HepMCFiller_H
HepMC::GenEvent * fillCurrentEventData()
virtual ~Ntuple2HepMCFiller()
Destructor.
Ntuple2HepMCFiller()
Constructor.
virtual bool readCurrentEvent()
int find_in_map(const std::map< HepMC::GenParticle *, int > &m, HepMC::GenParticle *p) const
static Ntuple2HepMCFiller * instance_
static Ntuple2HepMCFiller * instance()
void buildProductionVertex(int i, std::vector< HepMC::GenParticle * > &hepevt_particle, HepMC::GenEvent *evt, bool printInconsistencyErrors)
std::map< HepMC::GenParticle *, int > particle_to_index
int number_parents(int index)
HepMC::GenParticle * createParticle(int index)
virtual bool toGenEvent(int evtnum, HepMC::GenEvent *evt)
virtual bool setEvent(unsigned int event)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual bool printHepMcEvent() const
int number_children(int index)
std::vector< HepMC::GenParticle * > index_to_particle
virtual void initialize(const std::string &filename, int id)
void setInitialized(bool value)