#include <MTCDetPoint.h>
Definition at line 12 of file MTCDetPoint.h.
◆ MTCDetPoint() [1/3]
| MTCDetPoint::MTCDetPoint |
( |
| ) |
|
◆ MTCDetPoint() [2/3]
| MTCDetPoint::MTCDetPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Int_t |
pdgcode |
|
) |
| |
Constructor with arguments
- Parameters
-
| trackID | Index of MCTrack |
| detID | Detector ID |
| pos | Ccoordinates at entrance to active volume [cm] |
| mom | Momentum of track at entrance [GeV] |
| tof | Time since event start [ns] |
| length | Track length since creation [cm] |
| eLoss | Energy deposit [GeV] |
Definition at line 15 of file MTCDetPoint.cxx.
18 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
◆ ~MTCDetPoint()
| MTCDetPoint::~MTCDetPoint |
( |
| ) |
|
|
virtual |
◆ MTCDetPoint() [3/3]
◆ GetLayer()
| Int_t MTCDetPoint::GetLayer |
( |
| ) |
const |
|
inline |
Definition at line 41 of file MTCDetPoint.h.
41 {
42 return static_cast<int>(fDetectorID / 1000000) % 100;
43 }
◆ GetLayerType()
| Int_t MTCDetPoint::GetLayerType |
( |
| ) |
const |
|
inline |
Definition at line 44 of file MTCDetPoint.h.
44 {
45 return static_cast<int>(fDetectorID / 100000) % 10;
46 }
◆ operator=()
◆ PdgCode()
| Int_t MTCDetPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
| void MTCDetPoint::Print |
( |
| ) |
const |
|
virtual |
Definition at line 28 of file MTCDetPoint.cxx.
28 {
29 cout << "-I- MTCDetPoint: MTC point for track " << fTrackID << " in detector "
30 << fDetectorID << endl;
31 cout << " Position (" << fX << ", " << fY << ", " << fZ << ") cm" << endl;
32 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz << ") GeV"
33 << endl;
34 cout << " Time " << fTime << " ns, Length " << fLength
35 << " cm, Energy loss " << fELoss * 1.0e06 << " keV" << endl;
36}
◆ fPdgCode
| Int_t MTCDetPoint::fPdgCode |
The documentation for this class was generated from the following files: