#include <MTrack.h>
Inheritance diagram for manchester::MTrack:
Public Member Functions | |
MTrack () | |
Constructor. | |
MTrack (Double_t px, Double_t py, Double_t pz, Double_t e) | |
Construct from 4-momentum with default everything else. | |
MTrack (const MTrack &trk) | |
Copy constructor. | |
virtual | ~MTrack () |
Destructor. | |
Bool_t | HasMeasuredPerigee () const |
Float_t | D0 () const |
Float_t | Theta () const |
Float_t | Z0 () const |
Float_t | D0AtVertex () const |
Float_t | D0CovAtVertex () const |
Float_t | D0SigAtVertex () const |
Float_t | ThetaAtVertex () const |
Float_t | Z0AtVertex () const |
Float_t | D0AtBeamSpot () const |
Float_t | ThetaAtBeamSpot () const |
Float_t | Z0AtBeamSpot () const |
void | SetD0 (Double_t d0) |
void | SetTheta (Double_t theta) |
void | SetZ0 (Double_t z0) |
void | SetD0CovAtVertex (const float d0cov) |
void | SetParamsAtVertex (const float d0, const float theta, const float phi, const float z0) |
void | SetParamsAtBeamSpot (const float d0, const float theta, const float phi, const float z0) |
virtual std::string | Type () const |
So we know what type of particle this is at run time. | |
virtual std::ostream & | PrintContent (std::ostream &os) const |
Works with operator<< to allow the printing of MParticle to screen. | |
MTrack & | operator= (const MTrack &p) |
Protected Member Functions | |
virtual void | Reset () |
Function resets the private variables. |
Stored as a 4-vector, with additional info such as d0, z0.
string MTrack::Type | ( | ) | const [virtual] |
So we know what type of particle this is at run time.
At run time we may have a vector<MParticle*> which could for example contain both electrons and muons. This function lets you know which particle it is.
Reimplemented from manchester::MParticle.
Reimplemented in manchester::MInDetTrack, and manchester::MMuon.