#include <TTPoint.h>
Definition at line 12 of file TTPoint.h.
◆ TTPoint() [1/3]
◆ TTPoint() [2/3]
| TTPoint::TTPoint |
( |
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 TTPoint.cxx.
17 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
◆ ~TTPoint()
◆ TTPoint() [3/3]
| TTPoint::TTPoint |
( |
const TTPoint & |
point | ) |
|
|
default |
◆ operator=()
◆ PdgCode()
| Int_t TTPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
| void TTPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 27 of file TTPoint.cxx.
27 {
28 cout << "-I- TargetPoint: ShipRpc point for track " << fTrackID
29 << " in detector " << fDetectorID << endl;
30 cout << " Position (" << fX << ", " << fY << ", " << fZ << ") cm" << endl;
31 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz << ") GeV"
32 << endl;
33 cout << " Time " << fTime << " ns, Length " << fLength
34 << " cm, Energy loss " << fELoss * 1.0e06 << " keV" << endl;
35}
◆ fPdgCode
The documentation for this class was generated from the following files: