#include <PndSdsMCPoint.h>
|
| PndSdsMCPoint () |
|
| PndSdsMCPoint (Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss) |
|
| PndSdsMCPoint (const PndSdsMCPoint &point) |
|
virtual | ~PndSdsMCPoint () |
|
Int_t | GetSensorID () const |
|
void | SetSensorID (Int_t sensorID) |
|
virtual void | SetTrackID (Int_t id) |
|
virtual void | Print (const Option_t *opt=nullptr) const |
|
| PndMCPoint () |
|
virtual | ~PndMCPoint () |
|
| PndMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 posOut, TVector3 mom, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0) |
|
Double_t | GetXOut () const |
|
Double_t | GetYOut () const |
|
Double_t | GetZOut () const |
|
Double_t | GetPxOut () const |
|
Double_t | GetPyOut () const |
|
Double_t | GetPzOut () const |
|
TVector3 | GetPosition () const |
|
TVector3 | GetPositionOut () const |
|
TVector3 | GetMeanPosition () const |
|
void | PositionOut (TVector3 &pos) const |
|
TVector3 | GetMomentum () const |
|
TVector3 | GetMomentumOut () const |
|
void | MomentumOut (TVector3 &mom) const |
|
void | SetPositionOut (TVector3 pos) |
|
void | SetMomentumOut (TVector3 mom) |
|
Definition at line 23 of file PndSdsMCPoint.h.
◆ PndSdsMCPoint() [1/3]
PndSdsMCPoint::PndSdsMCPoint |
( |
| ) |
|
◆ PndSdsMCPoint() [2/3]
PndSdsMCPoint::PndSdsMCPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
sensorID, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
posOut, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
Constructor with arguments
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
sensorID | Full nameId of the detector, see PndSdsGeoHandling |
posIn | Coordinates of ingoing point[cm] |
posOut | Coordinates of outgoing point[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] |
◆ PndSdsMCPoint() [3/3]
◆ ~PndSdsMCPoint()
virtual PndSdsMCPoint::~PndSdsMCPoint |
( |
| ) |
|
|
virtual |
◆ ClassDef()
◆ GetSensorID()
Int_t PndSdsMCPoint::GetSensorID |
( |
| ) |
const |
|
inline |
◆ Print()
virtual void PndSdsMCPoint::Print |
( |
const Option_t * |
opt = nullptr | ) |
const |
|
virtual |
◆ SetSensorID()
void PndSdsMCPoint::SetSensorID |
( |
Int_t |
sensorID | ) |
|
|
inline |
◆ SetTrackID()
virtual void PndSdsMCPoint::SetTrackID |
( |
Int_t |
id | ) |
|
|
inlinevirtual |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const PndSdsMCPoint & |
point |
|
) |
| |
|
friend |
Definition at line 24 of file PndSdsMCPoint.h.
26 out <<
"-I- PndSdsMCPoint: PndSds Point for track " << point.GetTrackID() <<
" in detector " << point.GetDetectorID() <<
" with sensor " << point.
GetSensorID() << std::endl;
27 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
28 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
29 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz() <<
") GeV" << std::endl;
30 out <<
" Time " << point.GetTime() <<
" ns, Length " << point.GetLength() <<
" cm, Energy loss " << point.GetEnergyLoss() * 1.0e06 <<
" keV" << std::endl;
Int_t GetSensorID() const
◆ fSensorID
Int_t PndSdsMCPoint::fSensorID |
|
protected |
The documentation for this class was generated from the following file: