CbmRoot
CbmTrdPoint Class Reference

#include <CbmTrdPoint.h>

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

Public Member Functions

 CbmTrdPoint ()
 
 CbmTrdPoint (Int_t trackID, Int_t detID, const TVector3 &posIn, const TVector3 &momIn, const TVector3 &posOut, const TVector3 &momOut, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~CbmTrdPoint ()
 
virtual void Print (const Option_t *opt) const
 
Double_t GetXIn () const
 
Double_t GetYIn () const
 
Double_t GetZIn () const
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Double_t GetPxIn () const
 
Double_t GetPyIn () const
 
Double_t GetPzIn () const
 
Int_t GetModuleAddress () const
 
void PositionOut (TVector3 &pos) const
 
void MomentumOut (TVector3 &mom) const
 

Private Attributes

Double32_t fX_out
 
Double32_t fY_out
 
Double32_t fZ_out
 
Double32_t fPx_out
 
Double32_t fPy_out
 
Double32_t fPz_out
 

Detailed Description

CbmTrdPoint.h

Author
V. Friese

Interception of MC track with a TR detector.

Definition at line 23 of file CbmTrdPoint.h.

Constructor & Destructor Documentation

◆ CbmTrdPoint() [1/2]

CbmTrdPoint::CbmTrdPoint ( )

Default constructor

Definition at line 14 of file CbmTrdPoint.cxx.

◆ CbmTrdPoint() [2/2]

CbmTrdPoint::CbmTrdPoint ( Int_t  trackID,
Int_t  detID,
const TVector3 &  posIn,
const TVector3 &  momIn,
const TVector3 &  posOut,
const TVector3 &  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCoordinates at entrance to active volume [cm]
posOutCoordinates 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 26 of file CbmTrdPoint.cxx.

◆ ~CbmTrdPoint()

CbmTrdPoint::~CbmTrdPoint ( )
virtual

Copy constructor Destructor

Definition at line 46 of file CbmTrdPoint.cxx.

Member Function Documentation

◆ GetModuleAddress()

◆ GetPxIn()

Double_t CbmTrdPoint::GetPxIn ( ) const
inline

◆ GetPxOut()

Double_t CbmTrdPoint::GetPxOut ( ) const
inline

◆ GetPyIn()

Double_t CbmTrdPoint::GetPyIn ( ) const
inline

◆ GetPyOut()

Double_t CbmTrdPoint::GetPyOut ( ) const
inline

◆ GetPzIn()

Double_t CbmTrdPoint::GetPzIn ( ) const
inline

◆ GetPzOut()

Double_t CbmTrdPoint::GetPzOut ( ) const
inline

◆ GetXIn()

◆ GetXOut()

◆ GetYIn()

◆ GetYOut()

◆ GetZIn()

◆ GetZOut()

◆ MomentumOut()

void CbmTrdPoint::MomentumOut ( TVector3 &  mom) const
inline

Definition at line 79 of file CbmTrdPoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by CbmL1::ReadMCPoint(), and TEST().

◆ PositionOut()

void CbmTrdPoint::PositionOut ( TVector3 &  pos) const
inline

Definition at line 78 of file CbmTrdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Referenced by CbmL1::ReadMCPoint(), and TEST().

◆ Print()

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

Output to screen

Definition at line 51 of file CbmTrdPoint.cxx.

References fPx_out, fPy_out, fPz_out, fX_out, fY_out, and fZ_out.

Referenced by CbmTrdModuleSimT::MakeDigi(), and TEST().

Member Data Documentation

◆ fPx_out

Double32_t CbmTrdPoint::fPx_out
private

Definition at line 85 of file CbmTrdPoint.h.

Referenced by GetPxOut(), MomentumOut(), and Print().

◆ fPy_out

Double32_t CbmTrdPoint::fPy_out
private

Definition at line 85 of file CbmTrdPoint.h.

Referenced by GetPyOut(), MomentumOut(), and Print().

◆ fPz_out

Double32_t CbmTrdPoint::fPz_out
private

Definition at line 85 of file CbmTrdPoint.h.

Referenced by GetPzOut(), MomentumOut(), and Print().

◆ fX_out

Double32_t CbmTrdPoint::fX_out
private

Definition at line 84 of file CbmTrdPoint.h.

Referenced by GetXOut(), PositionOut(), and Print().

◆ fY_out

Double32_t CbmTrdPoint::fY_out
private

Definition at line 84 of file CbmTrdPoint.h.

Referenced by GetYOut(), PositionOut(), and Print().

◆ fZ_out

Double32_t CbmTrdPoint::fZ_out
private

Definition at line 84 of file CbmTrdPoint.h.

Referenced by GetZOut(), PositionOut(), and Print().


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