12 #include "TClonesArray.h"
14 #include "BParticle.h"
37 virtual void Clear(Option_t* =
"");
58 void AddTrack(
float px,
float py,
float pz,
float e,
59 float charge, SIMPLEPID pid);
The Class for Masterclass event parameters.
virtual void Clear(Option_t *="")
Clear the array of particles.
TClonesArray * GetParticleList()
Get the array of particles in the event.
int EventNo()
Get the current event number.
TClonesArray * m_particles
array of particles
void AddTrack(float px, float py, float pz, float e, float charge, SIMPLEPID pid)
Add the track to the event.
int m_nprt
number of particles in the event
~BEvent()
Default destructor.
int NParticles()
Get the number of particles in the event.
BEvent()
Default constructor.
int m_evno
current event number