CbmRoot
CbmMuchPoint Class Reference

#include <CbmMuchPoint.h>

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

Public Member Functions

 CbmMuchPoint ()
 
 CbmMuchPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t eventId=0)
 
 CbmMuchPoint (const CbmMuchPoint &point, Int_t eventId=-1, Double_t eventTime=0., Double_t epochTime=0.)
 
virtual ~CbmMuchPoint ()
 
Int_t GetDetectorId () 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
 
void PositionIn (TVector3 &pos) const
 
void PositionOut (TVector3 &pos) const
 
void MomentumOut (TVector3 &mom) const
 
Double_t GetX (Double_t z) const
 
Double_t GetY (Double_t z) const
 
Bool_t IsUsable () const
 
void SetPositionOut (TVector3 pos)
 
void SetMomentumOut (TVector3 mom)
 
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
 

Detailed Description

CbmMuchPoint.h

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Version
1.0
Since
21.03.07

Class for Monte Carlo points in MUon CHambers detector

Definition at line 21 of file CbmMuchPoint.h.

Constructor & Destructor Documentation

◆ CbmMuchPoint() [1/3]

CbmMuchPoint::CbmMuchPoint ( )

Default constructor

CbmMuchPoint.cxx

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Version
1.0
Since
21.03.07

Class for Monte Carlo points in MUon CHambers detector

Definition at line 20 of file CbmMuchPoint.cxx.

◆ CbmMuchPoint() [2/3]

CbmMuchPoint::CbmMuchPoint ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  eventId = 0 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID (including module 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]
eventIdMC event identifier

Definition at line 32 of file CbmMuchPoint.cxx.

◆ CbmMuchPoint() [3/3]

CbmMuchPoint::CbmMuchPoint ( const CbmMuchPoint point,
Int_t  eventId = -1,
Double_t  eventTime = 0.,
Double_t  epochTime = 0. 
)

Copy constructor with event and epoch time Re-calculates time w.r.t. epoch time start

Parameters
eventIdMC event identifier (negative values keep original event ID)
eventTimeMC event time [ns]
epochTimeepoch start time [ns]

Definition at line 53 of file CbmMuchPoint.cxx.

◆ ~CbmMuchPoint()

CbmMuchPoint::~CbmMuchPoint ( )
virtual

Destructor

Definition at line 72 of file CbmMuchPoint.cxx.

Member Function Documentation

◆ GetDetectorId()

◆ GetPxOut()

Double_t CbmMuchPoint::GetPxOut ( ) const
inline

Definition at line 76 of file CbmMuchPoint.h.

References fPx_out.

Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPyOut()

Double_t CbmMuchPoint::GetPyOut ( ) const
inline

Definition at line 77 of file CbmMuchPoint.h.

References fPy_out.

Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().

◆ GetPzOut()

Double_t CbmMuchPoint::GetPzOut ( ) const
inline

Definition at line 78 of file CbmMuchPoint.h.

References fPz_out.

Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().

◆ GetX()

Double_t CbmMuchPoint::GetX ( Double_t  z) const

Point coordinates at given z from linear extrapolation

Definition at line 89 of file CbmMuchPoint.cxx.

References fX_out, and fZ_out.

◆ GetXIn()

◆ GetXOut()

◆ GetY()

Double_t CbmMuchPoint::GetY ( Double_t  z) const

Definition at line 98 of file CbmMuchPoint.cxx.

References fY_out, and fZ_out.

◆ GetYIn()

◆ GetYOut()

◆ GetZIn()

◆ GetZOut()

◆ IsUsable()

Bool_t CbmMuchPoint::IsUsable ( ) const

Check for distance between in and out

Definition at line 107 of file CbmMuchPoint.cxx.

References fZ_out.

◆ MomentumOut()

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

◆ PositionIn()

void CbmMuchPoint::PositionIn ( TVector3 &  pos) const
inline

◆ PositionOut()

◆ Print()

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

Output to screen

Definition at line 77 of file CbmMuchPoint.cxx.

◆ SetMomentumOut()

void CbmMuchPoint::SetMomentumOut ( TVector3  mom)
inline

Definition at line 114 of file CbmMuchPoint.h.

References fPx_out, fPy_out, and fPz_out.

◆ SetPositionOut()

void CbmMuchPoint::SetPositionOut ( TVector3  pos)
inline

Modifiers

Definition at line 107 of file CbmMuchPoint.h.

References fX_out, fY_out, fZ_out, and pos.

Referenced by LxGenNoiseElectrons::Exec().

Member Data Documentation

◆ fPx_out

Double32_t CbmMuchPoint::fPx_out
protected

Definition at line 101 of file CbmMuchPoint.h.

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

◆ fPy_out

Double32_t CbmMuchPoint::fPy_out
protected

Definition at line 101 of file CbmMuchPoint.h.

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

◆ fPz_out

Double32_t CbmMuchPoint::fPz_out
protected

Definition at line 101 of file CbmMuchPoint.h.

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

◆ fX_out

Double32_t CbmMuchPoint::fX_out
protected

Definition at line 100 of file CbmMuchPoint.h.

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

◆ fY_out

Double32_t CbmMuchPoint::fY_out
protected

Definition at line 100 of file CbmMuchPoint.h.

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

◆ fZ_out

Double32_t CbmMuchPoint::fZ_out
protected

Definition at line 100 of file CbmMuchPoint.h.

Referenced by GetX(), GetY(), GetZOut(), IsUsable(), PositionOut(), and SetPositionOut().


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