ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtMCTrack Class Reference

#include <AtMCTrack.h>

Inheritance diagram for AtMCTrack:
Inheritance graph
[legend]
Collaboration diagram for AtMCTrack:
Collaboration graph
[legend]

Public Member Functions

 AtMCTrack ()
 
 AtMCTrack (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)
 
 AtMCTrack (const AtMCTrack &track)
 
 AtMCTrack (TParticle *particle)
 
virtual ~AtMCTrack ()
 
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)
 
void SetMotherId (Int_t id)
 

Detailed Description

Definition at line 34 of file AtMCTrack.h.

Constructor & Destructor Documentation

◆ AtMCTrack() [1/4]

AtMCTrack::AtMCTrack ( )

Default constructor

Definition at line 31 of file AtMCTrack.cxx.

◆ AtMCTrack() [2/4]

AtMCTrack::AtMCTrack ( 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 39 of file AtMCTrack.cxx.

◆ AtMCTrack() [3/4]

AtMCTrack::AtMCTrack ( const AtMCTrack track)
default

Copy constructor

◆ AtMCTrack() [4/4]

AtMCTrack::AtMCTrack ( TParticle *  particle)

Constructor from TParticle

Definition at line 54 of file AtMCTrack.cxx.

◆ ~AtMCTrack()

AtMCTrack::~AtMCTrack ( )
virtualdefault

Destructor

Member Function Documentation

◆ Get4Momentum()

void AtMCTrack::Get4Momentum ( TLorentzVector &  momentum)
inline

Definition at line 124 of file AtMCTrack.h.

◆ GetEnergy()

Double_t AtMCTrack::GetEnergy ( ) const
inline

Definition at line 113 of file AtMCTrack.h.

◆ GetMass()

Double_t AtMCTrack::GetMass ( ) const

Definition at line 80 of file AtMCTrack.cxx.

◆ GetMomentum()

void AtMCTrack::GetMomentum ( TVector3 &  momentum)
inline

Definition at line 119 of file AtMCTrack.h.

◆ GetMotherId()

Int_t AtMCTrack::GetMotherId ( ) const
inline

Definition at line 58 of file AtMCTrack.h.

◆ GetP()

Double_t AtMCTrack::GetP ( ) const
inline

Definition at line 69 of file AtMCTrack.h.

◆ GetPdgCode()

Int_t AtMCTrack::GetPdgCode ( ) const
inline

Accessors

Definition at line 57 of file AtMCTrack.h.

◆ GetPt()

Double_t AtMCTrack::GetPt ( ) const
inline

Definition at line 68 of file AtMCTrack.h.

◆ GetPx()

Double_t AtMCTrack::GetPx ( ) const
inline

Definition at line 59 of file AtMCTrack.h.

◆ GetPy()

Double_t AtMCTrack::GetPy ( ) const
inline

Definition at line 60 of file AtMCTrack.h.

◆ GetPz()

Double_t AtMCTrack::GetPz ( ) const
inline

Definition at line 61 of file AtMCTrack.h.

◆ GetRapidity()

Double_t AtMCTrack::GetRapidity ( ) const

Definition at line 95 of file AtMCTrack.cxx.

◆ GetStartT()

Double_t AtMCTrack::GetStartT ( ) const
inline

Definition at line 65 of file AtMCTrack.h.

◆ GetStartVertex()

void AtMCTrack::GetStartVertex ( TVector3 &  vertex)
inline

Definition at line 129 of file AtMCTrack.h.

◆ GetStartX()

Double_t AtMCTrack::GetStartX ( ) const
inline

Definition at line 62 of file AtMCTrack.h.

◆ GetStartY()

Double_t AtMCTrack::GetStartY ( ) const
inline

Definition at line 63 of file AtMCTrack.h.

◆ GetStartZ()

Double_t AtMCTrack::GetStartZ ( ) const
inline

Definition at line 64 of file AtMCTrack.h.

◆ Print()

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

Output to screen

Definition at line 67 of file AtMCTrack.cxx.

◆ SetMotherId()

void AtMCTrack::SetMotherId ( Int_t  id)
inline

Modifiers

Definition at line 76 of file AtMCTrack.h.


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