CbmRoot
Loading...
Searching...
No Matches
CbmMustPoint Class Reference

#include <CbmMustPoint.h>

Inheritance diagram for CbmMustPoint:
[legend]
Collaboration diagram for CbmMustPoint:
[legend]

Public Member Functions

 CbmMustPoint ()
 
 CbmMustPoint (Int_t trackID, uint32_t address, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss)
 
 CbmMustPoint (const CbmMustPoint &point)
 
virtual ~CbmMustPoint ()
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
Int_t GetStationId () const
 
Int_t GetLayerId () const
 
Int_t GetModuleId () const
 
Int_t GetTubeId () const
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double_t fX_out {0.}
 
Double_t fY_out {0.}
 
Double_t fZ_out {0.}
 
Double_t fPx_out {0.}
 
Double_t fPy_out {0.}
 
Double_t fPz_out {0.}
 

Detailed Description

Definition at line 25 of file CbmMustPoint.h.

Constructor & Destructor Documentation

◆ CbmMustPoint() [1/3]

CbmMustPoint::CbmMustPoint ( )

Default constructor

Definition at line 20 of file CbmMustPoint.cxx.

Referenced by CbmMustPoint().

◆ CbmMustPoint() [2/3]

CbmMustPoint::CbmMustPoint ( Int_t trackID,
uint32_t address,
TVector3 posIn,
TVector3 posOut,
TVector3 momIn,
TVector3 momOut,
Double_t tof,
Double_t length,
Double_t eLoss )

Constructor with arguments

Parameters
trackIDIndex of MCTrack
addressDetector address
posInGlobal coordinates at entrance to active volume [cm]
posOutGlobal coordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 24 of file CbmMustPoint.cxx.

References fPx_out, fPy_out, fPz_out, fX_out, fY_out, fZ_out, kMCTrack, and ToIntegralType().

◆ CbmMustPoint() [3/3]

CbmMustPoint::CbmMustPoint ( const CbmMustPoint & point)

Copy constructor

Definition at line 43 of file CbmMustPoint.cxx.

References CbmMustPoint(), fPx_out, fPy_out, fPz_out, fX_out, fY_out, and fZ_out.

◆ ~CbmMustPoint()

CbmMustPoint::~CbmMustPoint ( )
virtual

Destructor

Definition at line 39 of file CbmMustPoint.cxx.

Member Function Documentation

◆ GetLayerId()

Int_t CbmMustPoint::GetLayerId ( ) const
inline

Definition at line 59 of file CbmMustPoint.h.

References CbmMustAddress::GetLayerIndex().

Referenced by CbmMust::AddPoint().

◆ GetModuleId()

Int_t CbmMustPoint::GetModuleId ( ) const
inline

Definition at line 60 of file CbmMustPoint.h.

References CbmMustAddress::GetModuleIndex().

Referenced by CbmMust::AddPoint().

◆ GetStationId()

Int_t CbmMustPoint::GetStationId ( ) const
inline

Definition at line 58 of file CbmMustPoint.h.

References CbmMustAddress::GetStationIndex().

Referenced by CbmMust::AddPoint().

◆ GetTubeId()

Int_t CbmMustPoint::GetTubeId ( ) const
inline

Definition at line 61 of file CbmMustPoint.h.

References CbmMustAddress::GetTubeIndex().

Referenced by CbmMust::AddPoint().

◆ MomentumOut()

void CbmMustPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 52 of file CbmMustPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ PositionOut()

void CbmMustPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 51 of file CbmMustPoint.h.

References fX_out, fY_out, fZ_out, and pos.

◆ Print()

void CbmMustPoint::Print ( const Option_t * opt) const
virtual

Output to screen

Definition at line 57 of file CbmMustPoint.cxx.

◆ SetMomentumOut()

void CbmMustPoint::SetMomentumOut ( TVector3 mom)
inline

Definition at line 86 of file CbmMustPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetPositionOut()

void CbmMustPoint::SetPositionOut ( TVector3 pos)
inline

Modifiers

Definition at line 79 of file CbmMustPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Member Data Documentation

◆ fPx_out

Double_t CbmMustPoint::fPx_out {0.}
protected

Definition at line 72 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), MomentumOut(), and SetMomentumOut().

◆ fPy_out

Double_t CbmMustPoint::fPy_out {0.}
protected

Definition at line 73 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), MomentumOut(), and SetMomentumOut().

◆ fPz_out

Double_t CbmMustPoint::fPz_out {0.}
protected

Definition at line 74 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), MomentumOut(), and SetMomentumOut().

◆ fX_out

Double_t CbmMustPoint::fX_out {0.}
protected

Definition at line 68 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), PositionOut(), and SetPositionOut().

◆ fY_out

Double_t CbmMustPoint::fY_out {0.}
protected

Definition at line 69 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), PositionOut(), and SetPositionOut().

◆ fZ_out

Double_t CbmMustPoint::fZ_out {0.}
protected

Definition at line 70 of file CbmMustPoint.h.

Referenced by CbmMustPoint(), CbmMustPoint(), PositionOut(), and SetPositionOut().


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