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;
void set_embedding_id(int id)
virtual HepMC::GenEvent * getEvent()
const HepMC::FourVector & get_collision_vertex() const
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns
HepMC::FourVector _collisionVertex
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns
virtual int size(void) const
bool addEvent(HepMC::GenEvent *evt)
host an HepMC event
bool swapEvent(HepMC::GenEvent *&evt)
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,...
int get_embedding_id() const
PHHepMCGenEvent * Clone() const
HepMC::GenEvent * _theEvt
The HEP MC record from event generator. Note the units are recorded in GenEvent.
virtual int vertexSize(void) const
virtual ~PHHepMCGenEvent()
void set_collision_vertex(const HepMC::FourVector &v)
collision vertex position in the Hall coordinate system, use PHENIX units of cm, ns
virtual void Reset()
Clear Event.
PHHepMCGenEvent & operator=(const PHHepMCGenEvent &event)
void is_simulated(bool v)
whether this event has been processed in Geant4 simulation
virtual void identify(std::ostream &os=std::cout) const
virtual int isValid() const
isValid returns non zero if object contains vailid data
int _embedding_id
Embedding ID for this generated event positive ID is the embedded event of interest,...
bool is_simulated() const
whether this event has been processed in Geant4 simulation
bool _isSimulated
whether this event has been processed in Geant4 simulation
#define PHOOL_VIRTUAL_WARNING