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

#include <FairMCTrack.h>

Inheritance diagram for FairMCTrack:

Public Member Functions

 FairMCTrack ()
 
 FairMCTrack (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)
 
 FairMCTrack (const FairMCTrack &track)
 
 FairMCTrack (TParticle *particle)
 
virtual ~FairMCTrack ()
 
virtual void Print (Int_t iTrack) 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 36 of file FairMCTrack.h.

Constructor & Destructor Documentation

FairMCTrack::FairMCTrack ( )

Default constructor

Definition at line 20 of file FairMCTrack.cxx.

FairMCTrack::FairMCTrack ( 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 34 of file FairMCTrack.cxx.

FairMCTrack::FairMCTrack ( const FairMCTrack track)

Copy constructor

Definition at line 57 of file FairMCTrack.cxx.

FairMCTrack::FairMCTrack ( TParticle *  particle)

Constructor from TParticle

Definition at line 71 of file FairMCTrack.cxx.

FairMCTrack::~FairMCTrack ( )
virtual

Destructor

Definition at line 85 of file FairMCTrack.cxx.

Member Function Documentation

void FairMCTrack::Get4Momentum ( TLorentzVector &  momentum)
inline

Definition at line 141 of file FairMCTrack.h.

Double_t FairMCTrack::GetEnergy ( ) const
inline

Definition at line 133 of file FairMCTrack.h.

Double_t FairMCTrack::GetMass ( ) const

Definition at line 95 of file FairMCTrack.cxx.

void FairMCTrack::GetMomentum ( TVector3 &  momentum)
inline

Definition at line 139 of file FairMCTrack.h.

Int_t FairMCTrack::GetMotherId ( ) const
inline

Definition at line 74 of file FairMCTrack.h.

Int_t FairMCTrack::GetNPoints ( DetectorId  detId) const

Accessors to the number of MCPoints in the detectors

Definition at line 115 of file FairMCTrack.cxx.

Double_t FairMCTrack::GetP ( ) const
inline

Definition at line 85 of file FairMCTrack.h.

Int_t FairMCTrack::GetPdgCode ( ) const
inline

Accessors

Definition at line 73 of file FairMCTrack.h.

Double_t FairMCTrack::GetPt ( ) const
inline

Definition at line 84 of file FairMCTrack.h.

Double_t FairMCTrack::GetPx ( ) const
inline

Definition at line 75 of file FairMCTrack.h.

Double_t FairMCTrack::GetPy ( ) const
inline

Definition at line 76 of file FairMCTrack.h.

Double_t FairMCTrack::GetPz ( ) const
inline

Definition at line 77 of file FairMCTrack.h.

Double_t FairMCTrack::GetRapidity ( ) const

Definition at line 108 of file FairMCTrack.cxx.

Double_t FairMCTrack::GetStartT ( ) const
inline

Definition at line 81 of file FairMCTrack.h.

void FairMCTrack::GetStartVertex ( TVector3 &  vertex)
inline

Definition at line 143 of file FairMCTrack.h.

Double_t FairMCTrack::GetStartX ( ) const
inline

Definition at line 78 of file FairMCTrack.h.

Double_t FairMCTrack::GetStartY ( ) const
inline

Definition at line 79 of file FairMCTrack.h.

Double_t FairMCTrack::GetStartZ ( ) const
inline

Definition at line 80 of file FairMCTrack.h.

void FairMCTrack::Print ( Int_t  iTrack) const
virtual

Output to screen

Definition at line 87 of file FairMCTrack.cxx.

void FairMCTrack::SetMotherId ( Int_t  id)
inline

Modifiers

Definition at line 95 of file FairMCTrack.h.

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

Definition at line 130 of file FairMCTrack.cxx.


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