Subversion Repositories f9daq

Rev

Rev 271 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 271 Rev 273
Line 31... Line 31...
31
  float px() const { return m_px; };
31
  float px() const { return m_px; };
32
  float py() const { return m_py; };
32
  float py() const { return m_py; };
33
  float pz() const { return m_pz; };
33
  float pz() const { return m_pz; };
34
  float e() const { return m_e; };
34
  float e() const { return m_e; };
35
  float GetMomentum() const { return sqrt(m_px*m_px+m_py*m_py+m_pz*m_pz); };
35
  float GetMomentum() const { return sqrt(m_px*m_px+m_py*m_py+m_pz*m_pz); };
-
 
36
  float GetTransverseMomentum() const { return sqrt(m_px*m_px+m_py*m_py); };
36
  float charge() const { return m_charge; };
37
  float charge() const { return m_charge; };
37
  SIMPLEPID pid() const { return m_pid; };
38
  SIMPLEPID pid() const { return m_pid; };
38
  float GetMass(SIMPLEPID pid);
39
  float GetMass(SIMPLEPID pid);
39
  float GetMass();
40
  float GetMass();
40
  void SetEnergyFromMass (float mass);
41
  void SetEnergyFromMass (float mass);