#include <SiliconTargetPoint.h>
Definition at line 12 of file SiliconTargetPoint.h.
◆ SiliconTargetPoint() [1/3]
| SiliconTargetPoint::SiliconTargetPoint |
( |
| ) |
|
◆ SiliconTargetPoint() [2/3]
| SiliconTargetPoint::SiliconTargetPoint |
( |
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] |
| pdgcode | PDG code of MCTrack |
Definition at line 15 of file SiliconTargetPoint.cxx.
19 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
◆ ~SiliconTargetPoint()
| SiliconTargetPoint::~SiliconTargetPoint |
( |
| ) |
|
|
virtual |
◆ SiliconTargetPoint() [3/3]
◆ GetColumn()
| constexpr int SiliconTargetPoint::GetColumn |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 48 of file SiliconTargetPoint.h.
48 {
49 return static_cast<int>(fDetectorID >> 14) % 4;
50 }
◆ GetLayer()
| constexpr int SiliconTargetPoint::GetLayer |
( |
| ) |
const |
|
inlineconstexpr |
◆ GetModule()
| constexpr int SiliconTargetPoint::GetModule |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 57 of file SiliconTargetPoint.h.
constexpr int GetRow() const
constexpr int GetColumn() const
◆ GetPlane()
| constexpr int SiliconTargetPoint::GetPlane |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 45 of file SiliconTargetPoint.h.
45 {
46 return static_cast<int>(fDetectorID >> 16) % 2;
47 }
◆ GetRow()
| constexpr int SiliconTargetPoint::GetRow |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 51 of file SiliconTargetPoint.h.
51 {
52 return static_cast<int>(fDetectorID >> 13) % 2;
53 }
◆ GetStrip()
| constexpr int SiliconTargetPoint::GetStrip |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator=()
◆ PdgCode()
| Int_t SiliconTargetPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
| void SiliconTargetPoint::Print |
( |
| ) |
const |
|
virtual |
Definition at line 29 of file SiliconTargetPoint.cxx.
29 {
30 cout << "-I- SiliconTargetPoint: point for track " << fTrackID
31 << " in detector " << fDetectorID << endl;
32 cout << " Position (" << fX << ", " << fY << ", " << fZ << ") cm" << endl;
33 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz << ") GeV"
34 << endl;
35 cout << " Time " << fTime << " ns, Length " << fLength
36 << " cm, Energy loss " << fELoss * 1.0e06 << " keV" << endl;
37}
◆ fPdgCode
| Int_t SiliconTargetPoint::fPdgCode |
|
private |
The documentation for this class was generated from the following files: