12#include <TClonesArray.h>
37 virtual void Clear(Option_t* =
"");
58 void AddTrack(
float px,
float py,
float pz,
float e,
59 float charge, SIMPLEPID pid);
76 void AddTrack(
float px,
float py,
float pz,
float e,
77 float charge, SIMPLEPID pid,
78 float logL_e,
float logL_mu,
float logL_pi,
float logL_k,
float logL_p,
float logL_d);
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