CbmRoot
CbmMvdPoint Class Reference

#include <CbmMvdPoint.h>

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

Public Member Functions

 CbmMvdPoint ()
 
 CbmMvdPoint (Int_t trackId, Int_t pdgCode, Int_t detId, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t frame=0)
 
virtual ~CbmMvdPoint ()
 
Double_t GetXOut () const
 
Double_t GetYOut () const
 
Double_t GetZOut () const
 
Double_t GetPxOut () const
 
Double_t GetPyOut () const
 
Double_t GetPzOut () const
 
Int_t GetPdgCode () const
 
Int_t GetSystemId () const
 
Int_t GetStationNr () const
 
Int_t GetPointId () const
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
Int_t GetFrame () const
 
Int_t GetAbsTime ()
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
void SetPdgCode (Int_t pdg)
 
void SetPointId (Int_t myId)
 
void SetFrameNr (Int_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
 
Int_t fPdgCode
 
Int_t fPointId
 
Int_t fFrame
 
Double_t fStartTime
 

Private Member Functions

Int_t DetectorId (Int_t iStation) const
 
Int_t SystemId (Int_t detectorId) const
 
Int_t StationNr (Int_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 28 of file CbmMvdPoint.h.

Constructor & Destructor Documentation

◆ CbmMvdPoint() [1/2]

CbmMvdPoint::CbmMvdPoint ( )

Default constructor

Definition at line 16 of file CbmMvdPoint.cxx.

◆ CbmMvdPoint() [2/2]

CbmMvdPoint::CbmMvdPoint ( Int_t  trackId,
Int_t  pdgCode,
Int_t  detId,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_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 33 of file CbmMvdPoint.cxx.

References CbmMvdDetectorId::DetectorId(), and fStartTime.

◆ ~CbmMvdPoint()

CbmMvdPoint::~CbmMvdPoint ( )
virtual

Copy constructor Destructor

Definition at line 68 of file CbmMvdPoint.cxx.

Member Function Documentation

◆ ClassDef()

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId  ,
 
)
inherited

◆ DetectorId()

Int_t CbmMvdDetectorId::DetectorId ( Int_t  iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 44 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::CbmMvdHit(), CbmMvdPoint(), and CbmMvdCluster::GetDetectorId().

◆ GetAbsTime()

Int_t CbmMvdPoint::GetAbsTime ( )

◆ GetFrame()

Int_t CbmMvdPoint::GetFrame ( ) const
inline

◆ GetPdgCode()

Int_t CbmMvdPoint::GetPdgCode ( ) const
inline

Definition at line 76 of file CbmMvdPoint.h.

References fPdgCode.

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

◆ GetPointId()

Int_t CbmMvdPoint::GetPointId ( ) const
inline

◆ GetPxOut()

Double_t CbmMvdPoint::GetPxOut ( ) const
inline

Definition at line 73 of file CbmMvdPoint.h.

References fPx_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPyOut()

Double_t CbmMvdPoint::GetPyOut ( ) const
inline

Definition at line 74 of file CbmMvdPoint.h.

References fPy_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPzOut()

Double_t CbmMvdPoint::GetPzOut ( ) const
inline

Definition at line 75 of file CbmMvdPoint.h.

References fPz_out.

Referenced by CbmLitMCTrackCreator::MvdPointCoordinatesAndMomentumToLitMCPoint().

◆ GetStationNr()

◆ GetSystemId()

Int_t CbmMvdPoint::GetSystemId ( ) const
inline

Definition at line 77 of file CbmMvdPoint.h.

References CbmMvdDetectorId::SystemId().

◆ GetXOut()

◆ GetYOut()

◆ GetZOut()

◆ MomentumOut()

void CbmMvdPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 84 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

Referenced by CbmStsFitPerformanceTask::FillMCStateVectors(), and CbmL1::ReadMCPoint().

◆ PositionOut()

void CbmMvdPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 83 of file CbmMvdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Referenced by CbmStsFitPerformanceTask::FillMCStateVectors(), and CbmL1::ReadMCPoint().

◆ Print()

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

Output to screen

Definition at line 73 of file CbmMvdPoint.cxx.

References GetStationNr().

◆ SetFrameNr()

void CbmMvdPoint::SetFrameNr ( Int_t  frame)
inline

Definition at line 93 of file CbmMvdPoint.h.

References fFrame.

Referenced by CbmMvdSensorFrameBuffer::BuildMimosaFrame().

◆ SetMomentumOut()

void CbmMvdPoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 121 of file CbmMvdPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetPdgCode()

void CbmMvdPoint::SetPdgCode ( Int_t  pdg)
inline

Definition at line 91 of file CbmMvdPoint.h.

References fPdgCode.

◆ SetPointId()

void CbmMvdPoint::SetPointId ( Int_t  myId)
inline

Definition at line 92 of file CbmMvdPoint.h.

References fPointId.

Referenced by CbmMvdDetector::SendInput().

◆ SetPositionOut()

void CbmMvdPoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 114 of file CbmMvdPoint.h.

References fX_out, fY_out, fZ_out, and pos.

◆ StationNr()

Int_t CbmMvdDetectorId::StationNr ( Int_t  detectorId) const
inlineinherited

Get station number from detector ID

Definition at line 61 of file CbmMvdDetectorId.h.

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

◆ SystemId()

Int_t CbmMvdDetectorId::SystemId ( Int_t  detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 50 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

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

Member Data Documentation

◆ fFrame

Int_t CbmMvdPoint::fFrame
protected

Definition at line 107 of file CbmMvdPoint.h.

Referenced by GetFrame(), and SetFrameNr().

◆ fPdgCode

Int_t CbmMvdPoint::fPdgCode
protected

Definition at line 104 of file CbmMvdPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fPointId

Int_t CbmMvdPoint::fPointId
protected

Definition at line 106 of file CbmMvdPoint.h.

Referenced by GetPointId(), and SetPointId().

◆ fPx_out

Double32_t CbmMvdPoint::fPx_out
protected

Definition at line 102 of file CbmMvdPoint.h.

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

◆ fPy_out

Double32_t CbmMvdPoint::fPy_out
protected

Definition at line 102 of file CbmMvdPoint.h.

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

◆ fPz_out

Double32_t CbmMvdPoint::fPz_out
protected

Definition at line 102 of file CbmMvdPoint.h.

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

◆ fStartTime

Double_t CbmMvdPoint::fStartTime
protected

Definition at line 108 of file CbmMvdPoint.h.

Referenced by CbmMvdPoint(), and GetAbsTime().

◆ fX_out

Double32_t CbmMvdPoint::fX_out
protected

Definition at line 101 of file CbmMvdPoint.h.

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

◆ fY_out

Double32_t CbmMvdPoint::fY_out
protected

Definition at line 101 of file CbmMvdPoint.h.

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

◆ fZ_out

Double32_t CbmMvdPoint::fZ_out
protected

Definition at line 101 of file CbmMvdPoint.h.

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


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