CbmRoot
|
#include <CbmStsPoint.h>
Public Member Functions | |
CbmStsPoint () | |
CbmStsPoint (int32_t trackID, int32_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, double tof, double length, double eLoss, int32_t pid=0, int32_t eventId=0, int32_t index=0, int16_t flag=3) | |
CbmStsPoint (const CbmStsPoint &point, int32_t eventId=-1, double eventTime=0., double epochTime=0.) | |
virtual | ~CbmStsPoint () |
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 |
int32_t | GetPid () const |
int32_t | GetIndex () const |
bool | IsEntry () const |
bool | IsExit () const |
void | PositionIn (TVector3 &pos) |
void | PositionOut (TVector3 &pos) |
void | MomentumOut (TVector3 &mom) |
double | GetX (double z) const |
double | GetY (double z) const |
bool | IsUsable () const |
void | SetPositionOut (TVector3 pos) |
void | SetMomentumOut (TVector3 mom) |
virtual void | SetTrackID (int32_t id) |
std::string | ToString () 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 | fPid |
int32_t | fIndex |
int16_t | fFlag |
Interception of MC track with a STS detetcor. Holds in addition to the base class the coordinates and momentum at the exit from the active volume.
Definition at line 32 of file CbmStsPoint.h.
CbmStsPoint::CbmStsPoint | ( | ) |
Default constructor
Definition at line 27 of file CbmStsPoint.cxx.
CbmStsPoint::CbmStsPoint | ( | int32_t | trackID, |
int32_t | detID, | ||
TVector3 | posIn, | ||
TVector3 | posOut, | ||
TVector3 | momIn, | ||
TVector3 | momOut, | ||
double | tof, | ||
double | length, | ||
double | eLoss, | ||
int32_t | pid = 0, | ||
int32_t | eventId = 0, | ||
int32_t | index = 0, | ||
int16_t | flag = 3 ) |
Constructor with arguments
trackID | Index of MCTrack |
detID | Detector ID |
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] |
pid | Particle ID (PDG code) |
eventId | MC event identifier |
index | Index of point in TClonesArray |
flag | +1 if entering, +2 if leaving the sensor |
Definition at line 44 of file CbmStsPoint.cxx.
References kMCTrack, and ToIntegralType().
CbmStsPoint::CbmStsPoint | ( | const CbmStsPoint & | 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 69 of file CbmStsPoint.cxx.
|
virtual |
Destructor
Definition at line 64 of file CbmStsPoint.cxx.
|
inline |
Definition at line 83 of file CbmStsPoint.h.
References fIndex.
|
inline |
Definition at line 82 of file CbmStsPoint.h.
References fPid.
Referenced by CbmStsSimSensor::ProcessPoint().
|
inline |
Definition at line 79 of file CbmStsPoint.h.
References fPx_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 80 of file CbmStsPoint.h.
References fPy_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 81 of file CbmStsPoint.h.
References fPz_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
double CbmStsPoint::GetX | ( | double | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 90 of file CbmStsPoint.cxx.
References fX_out, and fZ_out.
Referenced by CbmRecoQa::record().
|
inline |
Accessors
Definition at line 73 of file CbmStsPoint.h.
Referenced by CbmKFTrackFitQa::FillHitHistos(), CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 76 of file CbmStsPoint.h.
References fX_out.
Referenced by CbmKFTrackFitQa::FillHitHistos(), CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
double CbmStsPoint::GetY | ( | double | z | ) | const |
Definition at line 101 of file CbmStsPoint.cxx.
References fY_out, and fZ_out.
Referenced by CbmRecoQa::record().
|
inline |
Definition at line 74 of file CbmStsPoint.h.
Referenced by CbmKFTrackFitQa::FillHitHistos(), CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 77 of file CbmStsPoint.h.
References fY_out.
Referenced by CbmKFTrackFitQa::FillHitHistos(), CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 75 of file CbmStsPoint.h.
Referenced by CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 78 of file CbmStsPoint.h.
References fZ_out.
Referenced by CbmRecoStsPixel::ProcessData(), CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 84 of file CbmStsPoint.h.
References fFlag.
Referenced by CbmStsSimSensor::ProcessPoint().
|
inline |
Definition at line 85 of file CbmStsPoint.h.
References fFlag.
bool CbmStsPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 111 of file CbmStsPoint.cxx.
References fZ_out.
|
inline |
Definition at line 89 of file CbmStsPoint.h.
|
inline |
Definition at line 87 of file CbmStsPoint.h.
References pos.
|
inline |
|
inline |
Definition at line 135 of file CbmStsPoint.h.
|
inline |
|
inlinevirtual |
Definition at line 104 of file CbmStsPoint.h.
string CbmStsPoint::ToString | ( | ) | const |
String output
Definition at line 121 of file CbmStsPoint.cxx.
|
protected |
Index of point in its TClonesArray
Definition at line 120 of file CbmStsPoint.h.
|
protected |
|
protected |
Definition at line 118 of file CbmStsPoint.h.
Referenced by GetPid().
|
protected |
Definition at line 117 of file CbmStsPoint.h.
Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 117 of file CbmStsPoint.h.
Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 117 of file CbmStsPoint.h.
Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 116 of file CbmStsPoint.h.
Referenced by GetX(), GetXOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 116 of file CbmStsPoint.h.
Referenced by GetY(), GetYOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 116 of file CbmStsPoint.h.
Referenced by GetX(), GetY(), GetZOut(), IsUsable(), PositionOut(), SetPositionOut(), and ToString().