manchester::MTrack Class Reference

#include <MTrack.h>

Inheritance diagram for manchester::MTrack:

Inheritance graph
[legend]
Collaboration diagram for manchester::MTrack:

Collaboration graph
[legend]
List of all members.

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.
MTrackoperator= (const MTrack &p)

Protected Member Functions

virtual void Reset ()
 Function resets the private variables.

Detailed Description

Class to hold the information of tracks.

Stored as a 4-vector, with additional info such as d0, z0.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Thu Jun 30 11:40:30 2011 for manTreeSFrame by  doxygen 1.4.7