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

#include <CbmMvdPoint.h>

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

Public Member Functions

 CbmMvdPoint ()
 
 CbmMvdPoint (int32_t trackId, int32_t pdgCode, int32_t detId, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, double tof, double length, double eLoss, int32_t frame=0)
 
virtual ~CbmMvdPoint ()
 
double GetXOut () const
 
double GetYOut () const
 
double GetZOut () const
 
double GetPxOut () const
 
double GetPyOut () const
 
double GetPzOut () const
 
int32_t GetPdgCode () const
 
int32_t GetSystemId () const
 
int32_t GetSensorNr () const
 
int32_t GetPointId () const
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
int32_t GetFrame () const
 
int32_t GetAbsTime ()
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
void SetPdgCode (int32_t pdg)
 
void SetPointId (int32_t myId)
 
void SetFrameNr (int32_t frame)
 
virtual void Print (const Option_t *opt) const
 

Protected 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
 
int32_t fPdgCode
 
int32_t fPointId
 
int32_t fFrame
 
double fStartTime
 

Detailed Description

CbmMvdPoint.h

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

Data class for interception of MC track with a MVD detetcor station. Holds in addition to the base class the coordinates and momentum at the exit from the active volume.

Data level MC

Definition at line 34 of file CbmMvdPoint.h.

Constructor & Destructor Documentation

◆ CbmMvdPoint() [1/2]

CbmMvdPoint::CbmMvdPoint ( )

Default constructor

Definition at line 20 of file CbmMvdPoint.cxx.

References fFrame, fPdgCode, fPointId, fPx_out, fPy_out, fPz_out, fStartTime, fX_out, fY_out, and fZ_out.

◆ CbmMvdPoint() [2/2]

CbmMvdPoint::CbmMvdPoint ( int32_t trackId,
int32_t pdgCode,
int32_t detId,
TVector3 posIn,
TVector3 posOut,
TVector3 momIn,
TVector3 momOut,
double tof,
double length,
double eLoss,
int32_t frame = 0 )

Constructor with arguments

Parameters
trackIdIndex of MCTrack
pdgCodeParticle type (PDG code)
sensorNrGlobal sensor number
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]
frameNumber of frame this point is registered in

Definition at line 36 of file CbmMvdPoint.cxx.

References fFrame, fPdgCode, fPointId, fPx_out, fPy_out, fPz_out, fStartTime, fX_out, fY_out, and fZ_out.

◆ ~CbmMvdPoint()

CbmMvdPoint::~CbmMvdPoint ( )
virtual

Copy constructor Destructor

Definition at line 59 of file CbmMvdPoint.cxx.

Member Function Documentation

◆ GetAbsTime()

int32_t CbmMvdPoint::GetAbsTime ( )

◆ GetFrame()

int32_t CbmMvdPoint::GetFrame ( ) const
inline

Definition at line 80 of file CbmMvdPoint.h.

References fFrame.

Referenced by CbmMvdSensorDigitizerTask::Exec().

◆ GetPdgCode()

int32_t CbmMvdPoint::GetPdgCode ( ) const
inline

Definition at line 70 of file CbmMvdPoint.h.

References fPdgCode.

Referenced by CbmMvdSensorDigitizerTask::Exec(), and CbmMvdSensorDigitizerTBTask::Exec().

◆ GetPointId()

int32_t CbmMvdPoint::GetPointId ( ) const
inline

◆ GetPxOut()

double CbmMvdPoint::GetPxOut ( ) const
inline

Definition at line 67 of file CbmMvdPoint.h.

References fPx_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPyOut()

double CbmMvdPoint::GetPyOut ( ) const
inline

Definition at line 68 of file CbmMvdPoint.h.

References fPy_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPzOut()

double CbmMvdPoint::GetPzOut ( ) const
inline

Definition at line 69 of file CbmMvdPoint.h.

References fPz_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetSensorNr()

int32_t CbmMvdPoint::GetSensorNr ( ) const
inline

◆ GetSystemId()

int32_t CbmMvdPoint::GetSystemId ( ) const
inline

Definition at line 71 of file CbmMvdPoint.h.

References CbmMvdAddress::GetSystemIndex().

◆ GetXOut()

◆ GetYOut()

◆ GetZOut()

◆ MomentumOut()

void CbmMvdPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 79 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ PositionOut()

void CbmMvdPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 78 of file CbmMvdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

◆ Print()

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

Output to screen

Definition at line 64 of file CbmMvdPoint.cxx.

◆ SetFrameNr()

void CbmMvdPoint::SetFrameNr ( int32_t frame)
inline

Definition at line 88 of file CbmMvdPoint.h.

References fFrame.

Referenced by CbmMvdSensorFrameBuffer::BuildMimosaFrame().

◆ SetMomentumOut()

void CbmMvdPoint::SetMomentumOut ( TVector3 mom)
inline

Definition at line 112 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetPdgCode()

void CbmMvdPoint::SetPdgCode ( int32_t pdg)
inline

Definition at line 86 of file CbmMvdPoint.h.

References fPdgCode.

◆ SetPointId()

void CbmMvdPoint::SetPointId ( int32_t myId)
inline

Definition at line 87 of file CbmMvdPoint.h.

References fPointId.

Referenced by CbmMvdDigitizer::BuildEvent().

◆ SetPositionOut()

void CbmMvdPoint::SetPositionOut ( TVector3 pos)
inline

Modifiers

Definition at line 105 of file CbmMvdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Member Data Documentation

◆ fFrame

int32_t CbmMvdPoint::fFrame
protected

Definition at line 98 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetFrame(), and SetFrameNr().

◆ fPdgCode

int32_t CbmMvdPoint::fPdgCode
protected

Definition at line 96 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetPdgCode(), and SetPdgCode().

◆ fPointId

int32_t CbmMvdPoint::fPointId
protected

Definition at line 97 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetPointId(), and SetPointId().

◆ fPx_out

Double32_t CbmMvdPoint::fPx_out
protected

Definition at line 95 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetPxOut(), MomentumOut(), and SetMomentumOut().

◆ fPy_out

Double32_t CbmMvdPoint::fPy_out
protected

Definition at line 95 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetPyOut(), MomentumOut(), and SetMomentumOut().

◆ fPz_out

Double32_t CbmMvdPoint::fPz_out
protected

Definition at line 95 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetPzOut(), MomentumOut(), and SetMomentumOut().

◆ fStartTime

double CbmMvdPoint::fStartTime
protected

Definition at line 99 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), and GetAbsTime().

◆ fX_out

Double32_t CbmMvdPoint::fX_out
protected

Definition at line 94 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetXOut(), PositionOut(), and SetPositionOut().

◆ fY_out

Double32_t CbmMvdPoint::fY_out
protected

Definition at line 94 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetYOut(), PositionOut(), and SetPositionOut().

◆ fZ_out

Double32_t CbmMvdPoint::fZ_out
protected

Definition at line 94 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), CbmMvdPoint(), GetZOut(), PositionOut(), and SetPositionOut().


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