CbmRoot
|
#include <CbmMuchPoint.h>
Public Member Functions | |
CbmMuchPoint () | |
CbmMuchPoint (int32_t trackID, int32_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, double tof, double length, double eLoss, int32_t eventId=0) | |
CbmMuchPoint (const CbmMuchPoint &point, int32_t eventId=-1, double eventTime=0., double epochTime=0.) | |
virtual | ~CbmMuchPoint () |
int32_t | GetDetectorId () const |
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 |
void | PositionIn (TVector3 &pos) const |
void | PositionOut (TVector3 &pos) const |
void | MomentumOut (TVector3 &mom) const |
double | GetX (double z) const |
double | GetY (double z) const |
bool | 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 |
Class for Monte Carlo points in MUon CHambers detector
Definition at line 27 of file CbmMuchPoint.h.
CbmMuchPoint::CbmMuchPoint | ( | ) |
Default constructor
Class for Monte Carlo points in MUon CHambers detector
Definition at line 25 of file CbmMuchPoint.cxx.
CbmMuchPoint::CbmMuchPoint | ( | int32_t | trackID, |
int32_t | detID, | ||
TVector3 | posIn, | ||
TVector3 | posOut, | ||
TVector3 | momIn, | ||
TVector3 | momOut, | ||
double | tof, | ||
double | length, | ||
double | eLoss, | ||
int32_t | eventId = 0 ) |
Constructor with arguments
trackID | Index of MCTrack |
detID | Detector ID (including module number) |
posIn | Coordinates at entrance to active volume [cm] |
posOut | Coordinates at exit of active volume [cm] |
momIn | Momentum of track at entrance [GeV] |
momOut | Momentum of track at exit [GeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [GeV] |
eventId | MC event identifier |
Definition at line 32 of file CbmMuchPoint.cxx.
CbmMuchPoint::CbmMuchPoint | ( | const CbmMuchPoint & | point, |
int32_t | eventId = -1, | ||
double | eventTime = 0., | ||
double | epochTime = 0. ) |
Copy constructor with event and epoch time Re-calculates time w.r.t. epoch time start
eventId | MC event identifier (negative values keep original event ID) |
eventTime | MC event time [ns] |
epochTime | epoch start time [ns] |
Definition at line 47 of file CbmMuchPoint.cxx.
|
virtual |
Destructor
Definition at line 64 of file CbmMuchPoint.cxx.
|
inline |
Accessors
Definition at line 64 of file CbmMuchPoint.h.
|
inline |
Definition at line 71 of file CbmMuchPoint.h.
References fPx_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 72 of file CbmMuchPoint.h.
References fPy_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 73 of file CbmMuchPoint.h.
References fPz_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().
double CbmMuchPoint::GetX | ( | double | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 80 of file CbmMuchPoint.cxx.
|
inline |
Definition at line 65 of file CbmMuchPoint.h.
Referenced by CbmMuchHitProducerIdeal::Exec(), CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmMuchHitFinderQa::PullsQa(), and CbmRecoQa::record().
|
inline |
Definition at line 68 of file CbmMuchPoint.h.
References fX_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmMuchHitFinderQa::PullsQa(), and CbmRecoQa::record().
double CbmMuchPoint::GetY | ( | double | z | ) | const |
Definition at line 90 of file CbmMuchPoint.cxx.
|
inline |
Definition at line 66 of file CbmMuchPoint.h.
Referenced by CbmMuchHitProducerIdeal::Exec(), CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmMuchHitFinderQa::PullsQa(), and CbmRecoQa::record().
|
inline |
Definition at line 69 of file CbmMuchPoint.h.
References fY_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint(), CbmMuchDigitizerQa::PrintFrontLayerPoints(), CbmMuchHitFinderQa::PullsQa(), and CbmRecoQa::record().
|
inline |
Definition at line 67 of file CbmMuchPoint.h.
Referenced by CbmMuchHitProducerIdeal::Exec(), CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint(), and CbmMuchDigitizerQa::PrintFrontLayerPoints().
|
inline |
Definition at line 70 of file CbmMuchPoint.h.
References fZ_out.
Referenced by CbmLitMCTrackCreator::MuchPointCoordinatesAndMomentumToLitMCPoint().
bool CbmMuchPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 100 of file CbmMuchPoint.cxx.
References fZ_out.
|
inline |
Definition at line 76 of file CbmMuchPoint.h.
|
inline |
Definition at line 74 of file CbmMuchPoint.h.
References pos.
Referenced by CbmMuchDigitizeGem::ExecPoint(), CbmMuchTransportQa::Fill2dSpatialDistributionHistos(), and CbmMuchDigitizerQa::ProcessMCPoints().
|
inline |
Definition at line 75 of file CbmMuchPoint.h.
References fX_out, fY_out, fZ_out, and pos.
Referenced by CbmMuchDigitizeGem::ExecPoint(), CbmMuchTransportQa::Fill2dSpatialDistributionHistos(), and CbmMuchDigitizerQa::ProcessMCPoints().
|
virtual |
Output to screen
Definition at line 69 of file CbmMuchPoint.cxx.
|
inline |
Definition at line 108 of file CbmMuchPoint.h.
|
inline |
|
protected |
Definition at line 94 of file CbmMuchPoint.h.
Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 94 of file CbmMuchPoint.h.
Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 94 of file CbmMuchPoint.h.
Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 93 of file CbmMuchPoint.h.
Referenced by GetX(), GetXOut(), PositionOut(), and SetPositionOut().
|
protected |
Definition at line 93 of file CbmMuchPoint.h.
Referenced by GetY(), GetYOut(), PositionOut(), and SetPositionOut().
|
protected |
Definition at line 93 of file CbmMuchPoint.h.
Referenced by GetX(), GetY(), GetZOut(), IsUsable(), PositionOut(), and SetPositionOut().