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 GetStationNr () 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
 

Private Member Functions

int32_t DetectorId (int32_t iStation) const
 
int32_t SystemId (int32_t detectorId) const
 
int32_t StationNr (int32_t detectorId) const
 
 ClassDef (CbmMvdDetectorId, 1)
 

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.

◆ 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)
stationNrStation 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 39 of file CbmMvdPoint.cxx.

References CbmMvdDetectorId::DetectorId(), and fStartTime.

◆ ~CbmMvdPoint()

CbmMvdPoint::~CbmMvdPoint ( )
virtual

Copy constructor Destructor

Definition at line 66 of file CbmMvdPoint.cxx.

Member Function Documentation

◆ ClassDef()

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId ,
1  )
inherited

◆ DetectorId()

int32_t CbmMvdDetectorId::DetectorId ( int32_t iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 49 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdDetector::AddSensor(), CbmMvdHit::CbmMvdHit(), CbmMvdPoint(), CbmMvdCluster::GetDetectorId(), and CbmMvdHitfinder::ProcessData().

◆ GetAbsTime()

int32_t CbmMvdPoint::GetAbsTime ( )

◆ GetFrame()

int32_t CbmMvdPoint::GetFrame ( ) const
inline

Definition at line 83 of file CbmMvdPoint.h.

References fFrame.

Referenced by CbmMvdSensorDigitizerTask::Exec().

◆ GetPdgCode()

int32_t CbmMvdPoint::GetPdgCode ( ) const
inline

Definition at line 73 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 70 of file CbmMvdPoint.h.

References fPx_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPyOut()

double CbmMvdPoint::GetPyOut ( ) const
inline

Definition at line 71 of file CbmMvdPoint.h.

References fPy_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPzOut()

double CbmMvdPoint::GetPzOut ( ) const
inline

Definition at line 72 of file CbmMvdPoint.h.

References fPz_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetStationNr()

◆ GetSystemId()

int32_t CbmMvdPoint::GetSystemId ( ) const
inline

Definition at line 74 of file CbmMvdPoint.h.

References CbmMvdDetectorId::SystemId().

◆ GetXOut()

◆ GetYOut()

◆ GetZOut()

◆ MomentumOut()

void CbmMvdPoint::MomentumOut ( TVector3 & mom)
inline

Definition at line 82 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ PositionOut()

void CbmMvdPoint::PositionOut ( TVector3 & pos)
inline

Definition at line 81 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 71 of file CbmMvdPoint.cxx.

References GetStationNr().

◆ SetFrameNr()

void CbmMvdPoint::SetFrameNr ( int32_t frame)
inline

Definition at line 91 of file CbmMvdPoint.h.

References fFrame.

Referenced by CbmMvdSensorFrameBuffer::BuildMimosaFrame().

◆ SetMomentumOut()

void CbmMvdPoint::SetMomentumOut ( TVector3 mom)
inline

Definition at line 118 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetPdgCode()

void CbmMvdPoint::SetPdgCode ( int32_t pdg)
inline

Definition at line 89 of file CbmMvdPoint.h.

References fPdgCode.

◆ SetPointId()

void CbmMvdPoint::SetPointId ( int32_t myId)
inline

Definition at line 90 of file CbmMvdPoint.h.

References fPointId.

Referenced by CbmMvdDigitizer::BuildEvent().

◆ SetPositionOut()

void CbmMvdPoint::SetPositionOut ( TVector3 pos)
inline

Modifiers

Definition at line 110 of file CbmMvdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

◆ StationNr()

int32_t CbmMvdDetectorId::StationNr ( int32_t detectorId) const
inlineinherited

Get station number from detector ID

Definition at line 65 of file CbmMvdDetectorId.h.

Referenced by CbmMvdDigi::GetStationNr(), CbmMvdHit::GetStationNr(), GetStationNr(), and CbmMvdTrackingInterface::GetTrackingStationIndex().

◆ SystemId()

int32_t CbmMvdDetectorId::SystemId ( int32_t detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 53 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::GetSystemId(), and GetSystemId().

Member Data Documentation

◆ fFrame

int32_t CbmMvdPoint::fFrame
protected

Definition at line 103 of file CbmMvdPoint.h.

Referenced by GetFrame(), and SetFrameNr().

◆ fPdgCode

int32_t CbmMvdPoint::fPdgCode
protected

Definition at line 101 of file CbmMvdPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fPointId

int32_t CbmMvdPoint::fPointId
protected

Definition at line 102 of file CbmMvdPoint.h.

Referenced by GetPointId(), and SetPointId().

◆ fPx_out

Double32_t CbmMvdPoint::fPx_out
protected

Definition at line 100 of file CbmMvdPoint.h.

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

◆ fPy_out

Double32_t CbmMvdPoint::fPy_out
protected

Definition at line 100 of file CbmMvdPoint.h.

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

◆ fPz_out

Double32_t CbmMvdPoint::fPz_out
protected

Definition at line 100 of file CbmMvdPoint.h.

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

◆ fStartTime

double CbmMvdPoint::fStartTime
protected

Definition at line 104 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), and GetAbsTime().

◆ fX_out

Double32_t CbmMvdPoint::fX_out
protected

Definition at line 99 of file CbmMvdPoint.h.

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

◆ fY_out

Double32_t CbmMvdPoint::fY_out
protected

Definition at line 99 of file CbmMvdPoint.h.

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

◆ fZ_out

Double32_t CbmMvdPoint::fZ_out
protected

Definition at line 99 of file CbmMvdPoint.h.

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


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