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

#include <CbmTrdPoint.h>

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

Public Member Functions

 CbmTrdPoint ()
 
 CbmTrdPoint (int32_t trackID, int32_t detID, const TVector3 &posIn, const TVector3 &momIn, const TVector3 &posOut, const TVector3 &momOut, double tof, double length, double eLoss)
 
virtual ~CbmTrdPoint ()
 
virtual void Print (const Option_t *opt) const
 Output to screen.
 
virtual std::string ToString () const
 Output to string.
 
double GetXIn () const
 
double GetYIn () const
 
double GetZIn () const
 
double GetXOut () const
 
double GetYOut () const
 
double GetZOut () const
 
double GetPxOut () const
 
double GetPyOut () const
 
double GetPzOut () const
 
double GetPxIn () const
 
double GetPyIn () const
 
double GetPzIn () const
 
int32_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 30 of file CbmTrdPoint.h.

Constructor & Destructor Documentation

◆ CbmTrdPoint() [1/2]

CbmTrdPoint::CbmTrdPoint ( )

Default constructor

Definition at line 18 of file CbmTrdPoint.cxx.

◆ CbmTrdPoint() [2/2]

CbmTrdPoint::CbmTrdPoint ( int32_t trackID,
int32_t detID,
const TVector3 & posIn,
const TVector3 & momIn,
const TVector3 & posOut,
const TVector3 & momOut,
double tof,
double length,
double 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 23 of file CbmTrdPoint.cxx.

◆ ~CbmTrdPoint()

CbmTrdPoint::~CbmTrdPoint ( )
virtual

Copy constructor Destructor

Definition at line 38 of file CbmTrdPoint.cxx.

Member Function Documentation

◆ GetModuleAddress()

int32_t CbmTrdPoint::GetModuleAddress ( ) const
inline

◆ GetPxIn()

double CbmTrdPoint::GetPxIn ( ) const
inline

◆ GetPxOut()

double CbmTrdPoint::GetPxOut ( ) const
inline

◆ GetPyIn()

double CbmTrdPoint::GetPyIn ( ) const
inline

◆ GetPyOut()

double CbmTrdPoint::GetPyOut ( ) const
inline

◆ GetPzIn()

double CbmTrdPoint::GetPzIn ( ) const
inline

◆ GetPzOut()

double CbmTrdPoint::GetPzOut ( ) const
inline

◆ GetXIn()

◆ GetXOut()

◆ GetYIn()

◆ GetYOut()

◆ GetZIn()

◆ GetZOut()

◆ MomentumOut()

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

Definition at line 81 of file CbmTrdPoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by TEST().

◆ PositionOut()

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

Definition at line 80 of file CbmTrdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Referenced by TEST().

◆ Print()

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

Output to screen.

Definition at line 43 of file CbmTrdPoint.cxx.

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

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

◆ ToString()

std::string CbmTrdPoint::ToString ( ) const
virtual

Output to string.

Definition at line 55 of file CbmTrdPoint.cxx.

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

Member Data Documentation

◆ fPx_out

Double32_t CbmTrdPoint::fPx_out
private

Definition at line 85 of file CbmTrdPoint.h.

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

◆ fPy_out

Double32_t CbmTrdPoint::fPy_out
private

Definition at line 85 of file CbmTrdPoint.h.

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

◆ fPz_out

Double32_t CbmTrdPoint::fPz_out
private

Definition at line 85 of file CbmTrdPoint.h.

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

◆ fX_out

Double32_t CbmTrdPoint::fX_out
private

Definition at line 84 of file CbmTrdPoint.h.

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

◆ fY_out

Double32_t CbmTrdPoint::fY_out
private

Definition at line 84 of file CbmTrdPoint.h.

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

◆ fZ_out

Double32_t CbmTrdPoint::fZ_out
private

Definition at line 84 of file CbmTrdPoint.h.

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


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