#include <MTCDetPoint.h>
|
| | MTCDetPoint ()=default |
| | MTCDetPoint (Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode) |
| Int_t | GetLayer () const |
| Int_t | GetLayerType () const |
| | DetectorPoint ()=default |
| | ~DetectorPoint () override=default |
| | DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, const TVector3 &Lpos, const TVector3 &Lmom) |
| | DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode) |
| | DetectorPoint (const DetectorPoint &point)=default |
| DetectorPoint & | operator= (const DetectorPoint &point)=default |
| virtual void | Print () const |
| Int_t | PdgCode () const |
| TVector3 | LastPoint () const |
| TVector3 | LastMom () const |
| virtual void | extraPrintInfo () const |
Definition at line 11 of file MTCDetPoint.h.
◆ MTCDetPoint() [1/2]
| MTCDetPoint::MTCDetPoint |
( |
| ) |
|
|
default |
◆ MTCDetPoint() [2/2]
| MTCDetPoint::MTCDetPoint |
( |
Int_t | trackID, |
|
|
Int_t | detID, |
|
|
const TVector3 & | pos, |
|
|
const TVector3 & | mom, |
|
|
Double_t | tof, |
|
|
Double_t | length, |
|
|
Double_t | eLoss, |
|
|
Int_t | pdgCode ) |
|
inline |
Constructor with arguments
- Parameters
-
| trackID | Index of MCTrack |
| detID | Detector ID |
| pos | Coordinates 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] |
| pdgCode | PDG code of the track |
Definition at line 26 of file MTCDetPoint.h.
29 : SHiP::DetectorPoint(0, trackID, detID, pos, mom, tof, length, eLoss,
30 pdgCode) {}
◆ GetLayer()
| Int_t MTCDetPoint::GetLayer |
( |
| ) |
const |
|
inline |
Definition at line 32 of file MTCDetPoint.h.
32 {
33 return static_cast<int>(fDetectorID / 1000000) % 100;
34 }
◆ GetLayerType()
| Int_t MTCDetPoint::GetLayerType |
( |
| ) |
const |
|
inline |
Definition at line 35 of file MTCDetPoint.h.
35 {
36 return static_cast<int>(fDetectorID / 100000) % 10;
37 }
The documentation for this class was generated from the following file: