#include <PndGemMCPoint.h>
|
| | 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) |
| |
| | PndGemMCPoint (const PndGemMCPoint &point) |
| |
| virtual | ~PndGemMCPoint () |
| |
| Int_t | GetSensorId () const |
| |
| void | SetSensorId (Int_t sensId) |
| |
| 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 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()
◆ GetSensorId()
| Int_t PndGemMCPoint::GetSensorId |
( |
| ) |
const |
|
inline |
◆ Print()
| virtual void PndGemMCPoint::Print |
( |
const Option_t * |
opt = nullptr | ) |
const |
|
virtual |
◆ 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
◆ fSensorId
| Int_t PndGemMCPoint::fSensorId = 0 |
|
protected |
The documentation for this class was generated from the following file: