CbmRoot
|
#include <CbmStsPoint.h>
Public Member Functions | |
CbmStsPoint () | |
CbmStsPoint (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 pid=0, Int_t eventId=0, Int_t index=0, Short_t flag=3) | |
CbmStsPoint (const CbmStsPoint &point, Int_t eventId=-1, Double_t eventTime=0., Double_t epochTime=0.) | |
virtual | ~CbmStsPoint () |
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 |
Int_t | GetPid () const |
Int_t | GetIndex () const |
Bool_t | IsEntry () const |
Bool_t | IsExit () const |
void | PositionIn (TVector3 &pos) |
void | PositionOut (TVector3 &pos) |
void | MomentumOut (TVector3 &mom) |
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 | SetTrackID (Int_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 |
Int_t | fPid |
Int_t | fIndex |
More... | |
Short_t | fFlag |
More... | |
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 27 of file CbmStsPoint.h.
CbmStsPoint::CbmStsPoint | ( | ) |
Default constructor
Definition at line 23 of file CbmStsPoint.cxx.
CbmStsPoint::CbmStsPoint | ( | 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 | pid = 0 , |
||
Int_t | eventId = 0 , |
||
Int_t | index = 0 , |
||
Short_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 38 of file CbmStsPoint.cxx.
References kMCTrack, and ToIntegralType().
CbmStsPoint::CbmStsPoint | ( | const CbmStsPoint & | 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
eventId | MC event identifier (negative values keep original event ID) |
eventTime | MC event time [ns] |
epochTime | epoch start time [ns] |
Definition at line 72 of file CbmStsPoint.cxx.
|
virtual |
Destructor
Definition at line 67 of file CbmStsPoint.cxx.
|
inline |
Definition at line 91 of file CbmStsPoint.h.
References fIndex.
|
inline |
Definition at line 90 of file CbmStsPoint.h.
References fPid.
Referenced by CbmStsSimSensor::ProcessPoint().
|
inline |
Definition at line 87 of file CbmStsPoint.h.
References fPx_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 88 of file CbmStsPoint.h.
References fPy_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 89 of file CbmStsPoint.h.
References fPz_out.
Referenced by CbmStsSimSensor::ProcessPoint(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
Double_t CbmStsPoint::GetX | ( | Double_t | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 96 of file CbmStsPoint.cxx.
References fX_out, and fZ_out.
Referenced by CbmL1::InputPerformance(), and CbmRecoQa::record().
|
inline |
Accessors
Definition at line 81 of file CbmStsPoint.h.
Referenced by CbmBinnedTrackerQA::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::HandleSts(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 84 of file CbmStsPoint.h.
References fX_out.
Referenced by CbmBinnedTrackerQA::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::HandleSts(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
Double_t CbmStsPoint::GetY | ( | Double_t | z | ) | const |
Definition at line 106 of file CbmStsPoint.cxx.
References fY_out, and fZ_out.
Referenced by CbmL1::InputPerformance(), and CbmRecoQa::record().
|
inline |
Definition at line 82 of file CbmStsPoint.h.
Referenced by CbmBinnedTrackerQA::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::HandleSts(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 85 of file CbmStsPoint.h.
References fY_out.
Referenced by CbmBinnedTrackerQA::Exec(), CbmKFTrackFitQA::FillHitHistos(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::HandleSts(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 83 of file CbmStsPoint.h.
Referenced by CbmBinnedTrackerQA::Finish(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), CbmL1::ReadEvent(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 86 of file CbmStsPoint.h.
References fZ_out.
Referenced by CbmBinnedTrackerQA::Finish(), CbmGlobalTrackingQA::Init(), CbmStsSimSensor::ProcessPoint(), CbmBinnedStsMCReader::Read(), CbmL1::ReadEvent(), and CbmLitMCTrackCreator::StsPointCoordinatesAndMomentumToLitMCPoint().
|
inline |
Definition at line 92 of file CbmStsPoint.h.
References fFlag.
Referenced by CbmStsSimSensor::ProcessPoint().
|
inline |
Definition at line 93 of file CbmStsPoint.h.
References fFlag.
Bool_t CbmStsPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 116 of file CbmStsPoint.cxx.
References fZ_out.
|
inline |
Definition at line 97 of file CbmStsPoint.h.
References fPx_out, fPy_out, and fPz_out.
Referenced by LxFinderTriplet::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxFinder::Exec(), CbmStsFitPerformanceTask::FillMCStateVectors(), and CbmL1::ReadMCPoint().
|
inline |
Definition at line 95 of file CbmStsPoint.h.
References pos.
|
inline |
Definition at line 96 of file CbmStsPoint.h.
References fX_out, fY_out, fZ_out, and pos.
Referenced by LxFinderTriplet::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxFinder::Exec(), CbmStsFitPerformanceTask::FillMCStateVectors(), and CbmL1::ReadMCPoint().
|
inline |
Definition at line 141 of file CbmStsPoint.h.
|
inline |
|
inlinevirtual |
Definition at line 112 of file CbmStsPoint.h.
string CbmStsPoint::ToString | ( | ) | const |
String output
Definition at line 125 of file CbmStsPoint.cxx.
|
protected |
Index of point in its TClonesArray
Definition at line 127 of file CbmStsPoint.h.
|
protected |
|
protected |
Definition at line 125 of file CbmStsPoint.h.
Referenced by GetPid().
|
protected |
Definition at line 124 of file CbmStsPoint.h.
Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 124 of file CbmStsPoint.h.
Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 124 of file CbmStsPoint.h.
Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 123 of file CbmStsPoint.h.
Referenced by GetX(), GetXOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 123 of file CbmStsPoint.h.
Referenced by GetY(), GetYOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 123 of file CbmStsPoint.h.
Referenced by GetX(), GetY(), GetZOut(), IsUsable(), PositionOut(), SetPositionOut(), and ToString().