#include <SiliconTargetPoint.h>
|
| | SiliconTargetPoint ()=default |
| | SiliconTargetPoint (Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode) |
| constexpr int | GetLayer () const |
| constexpr int | GetPlane () const |
| constexpr int | GetColumn () const |
| constexpr int | GetRow () const |
| constexpr int | GetStrip () const |
| constexpr int | GetModule () 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 13 of file SiliconTargetPoint.h.
◆ SiliconTargetPoint() [1/2]
| SiliconTargetPoint::SiliconTargetPoint |
( |
| ) |
|
|
default |
◆ SiliconTargetPoint() [2/2]
| SiliconTargetPoint::SiliconTargetPoint |
( |
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 28 of file SiliconTargetPoint.h.
31 : SHiP::DetectorPoint(0, trackID, detID, pos, mom, tof, length, eLoss,
32 pdgCode) {}
◆ GetColumn()
| int SiliconTargetPoint::GetColumn |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 38 of file SiliconTargetPoint.h.
38 {
39 return static_cast<int>(fDetectorID >> 14) % 4;
40 }
◆ GetLayer()
| int SiliconTargetPoint::GetLayer |
( |
| ) |
const |
|
inlineconstexpr |
◆ GetModule()
| int SiliconTargetPoint::GetModule |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 47 of file SiliconTargetPoint.h.
constexpr int GetRow() const
constexpr int GetColumn() const
◆ GetPlane()
| int SiliconTargetPoint::GetPlane |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 35 of file SiliconTargetPoint.h.
35 {
36 return static_cast<int>(fDetectorID >> 16) % 2;
37 }
◆ GetRow()
| int SiliconTargetPoint::GetRow |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 41 of file SiliconTargetPoint.h.
41 {
42 return static_cast<int>(fDetectorID >> 13) % 2;
43 }
◆ GetStrip()
| int SiliconTargetPoint::GetStrip |
( |
| ) |
const |
|
inlineconstexpr |
The documentation for this class was generated from the following file: