#include <PndGemMCPoint.h>
Definition at line 27 of file PndGemMCPoint.h.
◆ PndGemMCPoint() [1/3]
PndGemMCPoint::PndGemMCPoint |
( |
| ) |
|
◆ PndGemMCPoint() [2/3]
PndGemMCPoint::PndGemMCPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
sensID, |
|
|
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 |
sensID | Sensor ID |
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] |
◆ PndGemMCPoint() [3/3]
◆ ~PndGemMCPoint()
virtual PndGemMCPoint::~PndGemMCPoint |
( |
| ) |
|
|
virtual |
◆ ClassDef()
◆ GetPosition()
TVector3 PndGemMCPoint::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetPositionOut()
TVector3 PndGemMCPoint::GetPositionOut |
( |
| ) |
const |
|
inline |
◆ GetPxOut()
Double_t PndGemMCPoint::GetPxOut |
( |
| ) |
const |
|
inline |
◆ GetPyOut()
Double_t PndGemMCPoint::GetPyOut |
( |
| ) |
const |
|
inline |
◆ GetPzOut()
Double_t PndGemMCPoint::GetPzOut |
( |
| ) |
const |
|
inline |
◆ GetSensorId()
Int_t PndGemMCPoint::GetSensorId |
( |
| ) |
const |
|
inline |
◆ GetXOut()
Double_t PndGemMCPoint::GetXOut |
( |
| ) |
const |
|
inline |
◆ GetYOut()
Double_t PndGemMCPoint::GetYOut |
( |
| ) |
const |
|
inline |
◆ GetZOut()
Double_t PndGemMCPoint::GetZOut |
( |
| ) |
const |
|
inline |
◆ MomentumOut()
void PndGemMCPoint::MomentumOut |
( |
TVector3 & |
mom | ) |
const |
|
inline |
◆ PositionOut()
void PndGemMCPoint::PositionOut |
( |
TVector3 & |
pos | ) |
const |
|
inline |
◆ Print()
virtual void PndGemMCPoint::Print |
( |
const Option_t * |
opt = nullptr | ) |
const |
|
virtual |
◆ SetMomentumOut()
void PndGemMCPoint::SetMomentumOut |
( |
TVector3 |
mom | ) |
|
|
inline |
◆ SetPositionOut()
void PndGemMCPoint::SetPositionOut |
( |
TVector3 |
pos | ) |
|
|
inline |
◆ SetSensorId()
void PndGemMCPoint::SetSensorId |
( |
Int_t |
sensId | ) |
|
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const PndGemMCPoint & |
point |
|
) |
| |
|
friend |
Definition at line 28 of file PndGemMCPoint.h.
30 out <<
"-I- PndGemMCPoint: PndGem Point for track " << point.GetTrackID() <<
" in detector " << point.GetDetectorID() <<
" with sensorID " << point.
GetSensorId() << std::endl;
31 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
32 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
33 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz() <<
") GeV" << std::endl;
34 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 PndGemMCPoint::fPxfOut |
|
protected |
◆ fPyfOut
Double32_t PndGemMCPoint::fPyfOut |
|
protected |
◆ fPzfOut
Double32_t PndGemMCPoint::fPzfOut |
|
protected |
◆ fSensorId
Int_t PndGemMCPoint::fSensorId |
|
protected |
◆ fXfOut
Double32_t PndGemMCPoint::fXfOut |
|
protected |
◆ fYfOut
Double32_t PndGemMCPoint::fYfOut |
|
protected |
◆ fZfOut
Double32_t PndGemMCPoint::fZfOut |
|
protected |
The documentation for this class was generated from the following file: