6 #include "masterclass/dataobjects/BEvent.h"
10 m_particles =
new TClonesArray(
"BParticle", 500);
19 void BEvent::EventNo(
int evt)
29 void BEvent::AddTrack(
float px,
float py,
float pz,
float e,
30 float charge, SIMPLEPID pid)
32 TClonesArray& particles = *m_particles;
33 new(particles[m_nprt++])
BParticle(px, py, pz, e, charge, pid);
36 int BEvent::NParticles()
41 TClonesArray* BEvent::GetParticleList()
46 void BEvent::Clear(Option_t*)