1 #ifndef __PHHEPMCGENEVENT__
2 #define __PHHEPMCGENEVENT__
7 #include <HepMC/GenEvent.h>
8 #include <HepMC/GenParticle.h>
9 #include <HepMC/GenVertex.h>
10 #include <HepMC/SimpleVector.h>
26 virtual void identify(std::ostream& os = std::cout)
const;
35 virtual const HepMC::GenEvent*
getEvent()
const;
68 virtual void moveVertex(
double x,
double y,
double z,
double t = 0);
71 virtual int size(
void)
const;
74 virtual void print(std::ostream& os = std::cout)
const;
97 #endif // __PHHEPMCEVENT__
int get_embedding_id() const
virtual int isValid() const
isValid returns non zero if object contains vailid data
void set_embedding_id(int id)
bool swapEvent(HepMC::GenEvent *&evt)
bool addEvent(HepMC::GenEvent *evt)
host an HepMC event
HepMC::GenEvent * _theEvt
The HEP MC record from event generator. Note the units are recorded in GenEvent.
virtual void print(std::ostream &os=std::cout) const
virtual void moveVertex(double x, double y, double z, double t=0)
move the collision vertex position in the Hall coordinate system, use PHENIX units of cm...
virtual HepMC::GenEvent * getEvent()
void is_simulated(bool v)
whether this event has been processed in Geant4 simulation
const HepMC::FourVector & get_collision_vertex() const
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns ...
virtual int size(void) const
PHHepMCGenEvent * Clone() const
bool is_simulated() const
whether this event has been processed in Geant4 simulation
virtual ~PHHepMCGenEvent()
virtual void Reset()
Clear Event.
bool _isSimulated
whether this event has been processed in Geant4 simulation
virtual int vertexSize(void) const
int _embedding_id
Embedding ID for this generated event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background.
HepMC::FourVector _collisionVertex
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns ...
#define PHOOL_VIRTUAL_WARNING
PHHepMCGenEvent & operator=(const PHHepMCGenEvent &event)
virtual void identify(std::ostream &os=std::cout) const
void set_collision_vertex(const HepMC::FourVector &v)
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns ...