FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MyProjMCTrack Class Reference

#include <MyProjMCTrack.h>

Inheritance diagram for MyProjMCTrack:

Public Member Functions

 MyProjMCTrack ()
 
 MyProjMCTrack (Int_t pdgCode, Int_t motherID, Double_t px, Double_t py, Double_t pz, Double_t x, Double_t y, Double_t z, Double_t t, Int_t nPoints)
 
 MyProjMCTrack (const MyProjMCTrack &track)
 
 MyProjMCTrack (TParticle *particle)
 
virtual ~MyProjMCTrack ()
 
void Print (Int_t iTrack=0) const
 
Int_t GetPdgCode () const
 
Int_t GetMotherId () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetStartX () const
 
Double_t GetStartY () const
 
Double_t GetStartZ () const
 
Double_t GetStartT () const
 
Double_t GetMass () const
 
Double_t GetEnergy () const
 
Double_t GetPt () const
 
Double_t GetP () const
 
Double_t GetRapidity () const
 
void GetMomentum (TVector3 &momentum)
 
void Get4Momentum (TLorentzVector &momentum)
 
void GetStartVertex (TVector3 &vertex)
 
Int_t GetNPoints (DetectorId detId) const
 
void SetMotherId (Int_t id)
 
void SetNPoints (Int_t iDet, Int_t np)
 
 MyProjMCTrack ()
 
 MyProjMCTrack (Int_t pdgCode, Int_t motherID, Double_t px, Double_t py, Double_t pz, Double_t x, Double_t y, Double_t z, Double_t t, Int_t nPoints)
 
 MyProjMCTrack (const MyProjMCTrack &track)
 
 MyProjMCTrack (TParticle *particle)
 
virtual ~MyProjMCTrack ()
 
void Print (Int_t iTrack=0) const
 
Int_t GetPdgCode () const
 
Int_t GetMotherId () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetStartX () const
 
Double_t GetStartY () const
 
Double_t GetStartZ () const
 
Double_t GetStartT () const
 
Double_t GetMass () const
 
Double_t GetEnergy () const
 
Double_t GetPt () const
 
Double_t GetP () const
 
Double_t GetRapidity () const
 
void GetMomentum (TVector3 &momentum)
 
void Get4Momentum (TLorentzVector &momentum)
 
void GetStartVertex (TVector3 &vertex)
 
Int_t GetNPoints (DetectorId detId) const
 
void SetMotherId (Int_t id)
 
void SetNPoints (Int_t iDet, Int_t np)
 

Detailed Description

Definition at line 33 of file MyProjMCTrack.h.

Constructor & Destructor Documentation

MyProjMCTrack::MyProjMCTrack ( )

Default constructor

Definition at line 26 of file MyProjMCTrack.cxx.

MyProjMCTrack::MyProjMCTrack ( Int_t  pdgCode,
Int_t  motherID,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Int_t  nPoints = 0 
)

Standard constructor

Definition at line 42 of file MyProjMCTrack.cxx.

MyProjMCTrack::MyProjMCTrack ( const MyProjMCTrack track)

Copy constructor

Definition at line 67 of file MyProjMCTrack.cxx.

MyProjMCTrack::MyProjMCTrack ( TParticle *  particle)

Constructor from TParticle

Definition at line 83 of file MyProjMCTrack.cxx.

MyProjMCTrack::~MyProjMCTrack ( )
virtual

Destructor

Definition at line 99 of file MyProjMCTrack.cxx.

MyProjMCTrack::MyProjMCTrack ( )

Default constructor

MyProjMCTrack::MyProjMCTrack ( Int_t  pdgCode,
Int_t  motherID,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Int_t  nPoints 
)

Standard constructor

MyProjMCTrack::MyProjMCTrack ( const MyProjMCTrack track)

Copy constructor

MyProjMCTrack::MyProjMCTrack ( TParticle *  particle)

Constructor from TParticle

virtual MyProjMCTrack::~MyProjMCTrack ( )
virtual

Destructor

Member Function Documentation

void MyProjMCTrack::Get4Momentum ( TLorentzVector &  momentum)
inline

Definition at line 133 of file MyProjMCTrack.h.

void MyProjMCTrack::Get4Momentum ( TLorentzVector &  momentum)
Double_t MyProjMCTrack::GetEnergy ( ) const
inline

Definition at line 125 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetEnergy ( ) const
Double_t MyProjMCTrack::GetMass ( ) const
Double_t MyProjMCTrack::GetMass ( ) const

Definition at line 115 of file MyProjMCTrack.cxx.

void MyProjMCTrack::GetMomentum ( TVector3 &  momentum)
inline

Definition at line 131 of file MyProjMCTrack.h.

void MyProjMCTrack::GetMomentum ( TVector3 &  momentum)
Int_t MyProjMCTrack::GetMotherId ( ) const
inline

Definition at line 66 of file MyProjMCTrack.h.

Int_t MyProjMCTrack::GetMotherId ( ) const
inline

Definition at line 66 of file MyProjMCTrack.h.

Int_t MyProjMCTrack::GetNPoints ( DetectorId  detId) const

Accessors to the number of MCPoints in the detectors

Definition at line 139 of file MyProjMCTrack.cxx.

Int_t MyProjMCTrack::GetNPoints ( DetectorId  detId) const

Accessors to the number of MCPoints in the detectors

Double_t MyProjMCTrack::GetP ( ) const
inline

Definition at line 77 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetP ( ) const
inline

Definition at line 77 of file MyProjMCTrack.h.

Int_t MyProjMCTrack::GetPdgCode ( ) const
inline

Accessors

Definition at line 65 of file MyProjMCTrack.h.

Int_t MyProjMCTrack::GetPdgCode ( ) const
inline

Accessors

Definition at line 65 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPt ( ) const
inline

Definition at line 76 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPt ( ) const
inline

Definition at line 76 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPx ( ) const
inline

Definition at line 67 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPx ( ) const
inline

Definition at line 67 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPy ( ) const
inline

Definition at line 68 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPy ( ) const
inline

Definition at line 68 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPz ( ) const
inline

Definition at line 69 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetPz ( ) const
inline

Definition at line 69 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetRapidity ( ) const
Double_t MyProjMCTrack::GetRapidity ( ) const

Definition at line 130 of file MyProjMCTrack.cxx.

Double_t MyProjMCTrack::GetStartT ( ) const
inline

Definition at line 73 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartT ( ) const
inline

Definition at line 73 of file MyProjMCTrack.h.

void MyProjMCTrack::GetStartVertex ( TVector3 &  vertex)
void MyProjMCTrack::GetStartVertex ( TVector3 &  vertex)
inline

Definition at line 135 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartX ( ) const
inline

Definition at line 70 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartX ( ) const
inline

Definition at line 70 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartY ( ) const
inline

Definition at line 71 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartY ( ) const
inline

Definition at line 71 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartZ ( ) const
inline

Definition at line 72 of file MyProjMCTrack.h.

Double_t MyProjMCTrack::GetStartZ ( ) const
inline

Definition at line 72 of file MyProjMCTrack.h.

void MyProjMCTrack::Print ( Int_t  iTrack = 0) const

Output to screen

Definition at line 103 of file MyProjMCTrack.cxx.

void MyProjMCTrack::Print ( Int_t  iTrack = 0) const

Output to screen

void MyProjMCTrack::SetMotherId ( Int_t  id)
inline

Modifiers

Definition at line 87 of file MyProjMCTrack.h.

void MyProjMCTrack::SetMotherId ( Int_t  id)
inline

Modifiers

Definition at line 87 of file MyProjMCTrack.h.

void MyProjMCTrack::SetNPoints ( Int_t  iDet,
Int_t  np 
)
void MyProjMCTrack::SetNPoints ( Int_t  iDet,
Int_t  np 
)

Definition at line 154 of file MyProjMCTrack.cxx.


The documentation for this class was generated from the following files: