11,7 → 11,7 |
#include "TObject.h" |
#include "TClonesArray.h" |
|
enum SIMPLEPID {PHOTON, ELECTRON, PION, MUON, KAON, PROTON, JPSI, D, DSTAR, B,KS }; |
enum SIMPLEPID {PHOTON, ELECTRON, PION, MUON, KAON, PROTON, JPSI, D, DSTAR, B,KS, ALL }; |
|
class BParticle : public TObject { |
|
32,6 → 32,7 |
float py() const { return m_py; }; |
float pz() const { return m_pz; }; |
float e() const { return m_e; }; |
float GetMomentum() const { return sqrt(m_px*m_px+m_py*m_py+m_pz*m_pz); }; |
float charge() const { return m_charge; }; |
SIMPLEPID pid() const { return m_pid; }; |
float GetMass(SIMPLEPID pid); |