#include <PndSdsMCPoint.h>
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()
◆ GetPosition()
TVector3 PndSdsMCPoint::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetPositionOut()
TVector3 PndSdsMCPoint::GetPositionOut |
( |
| ) |
const |
|
inline |
◆ GetPxOut()
Double_t PndSdsMCPoint::GetPxOut |
( |
| ) |
const |
|
inline |
◆ GetPyOut()
Double_t PndSdsMCPoint::GetPyOut |
( |
| ) |
const |
|
inline |
◆ GetPzOut()
Double_t PndSdsMCPoint::GetPzOut |
( |
| ) |
const |
|
inline |
◆ GetSensorID()
Int_t PndSdsMCPoint::GetSensorID |
( |
| ) |
const |
|
inline |
◆ GetXOut()
Double_t PndSdsMCPoint::GetXOut |
( |
| ) |
const |
|
inline |
◆ GetYOut()
Double_t PndSdsMCPoint::GetYOut |
( |
| ) |
const |
|
inline |
◆ GetZOut()
Double_t PndSdsMCPoint::GetZOut |
( |
| ) |
const |
|
inline |
◆ MomentumOut()
void PndSdsMCPoint::MomentumOut |
( |
TVector3 & |
mom | ) |
const |
|
inline |
◆ PositionOut()
void PndSdsMCPoint::PositionOut |
( |
TVector3 & |
pos | ) |
const |
|
inline |
◆ Print()
virtual void PndSdsMCPoint::Print |
( |
const Option_t * |
opt = nullptr | ) |
const |
|
virtual |
◆ SetMomentumOut()
void PndSdsMCPoint::SetMomentumOut |
( |
TVector3 |
mom | ) |
|
|
inline |
◆ SetPositionOut()
void PndSdsMCPoint::SetPositionOut |
( |
TVector3 |
pos | ) |
|
|
inline |
◆ 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
◆ fPxfOut
Double32_t PndSdsMCPoint::fPxfOut |
|
protected |
◆ fPyfOut
Double32_t PndSdsMCPoint::fPyfOut |
|
protected |
◆ fPzfOut
Double32_t PndSdsMCPoint::fPzfOut |
|
protected |
◆ fSensorID
Int_t PndSdsMCPoint::fSensorID |
|
protected |
◆ fXfOut
Double32_t PndSdsMCPoint::fXfOut |
|
protected |
◆ fYfOut
Double32_t PndSdsMCPoint::fYfOut |
|
protected |
◆ fZfOut
Double32_t PndSdsMCPoint::fZfOut |
|
protected |
The documentation for this class was generated from the following file: