#include <ShipRpcPoint.h>
Definition at line 10 of file ShipRpcPoint.h.
◆ ShipRpcPoint() [1/3]
ShipRpcPoint::ShipRpcPoint |
( |
| ) |
|
Default constructor
Definition at line 9 of file ShipRpcPoint.cxx.
10 : FairMCPoint()
11{
12}
◆ ShipRpcPoint() [2/3]
ShipRpcPoint::ShipRpcPoint |
( |
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 25 of file ShipRpcPoint.cxx.
29 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
fPdgCode(pdgcode)
30{
31}
◆ ~ShipRpcPoint()
ShipRpcPoint::~ShipRpcPoint |
( |
| ) |
|
|
virtual |
◆ ShipRpcPoint() [3/3]
◆ operator=()
◆ PdgCode()
Int_t ShipRpcPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
void ShipRpcPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 40 of file ShipRpcPoint.cxx.
41{
42 cout << "-I- ShipRpcPoint: ShipRpc point for track " << fTrackID
43 << " in detector " << fDetectorID << endl;
44 cout << " Position (" << fX << ", " << fY << ", " << fZ
45 << ") cm" << endl;
46 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
47 << ") GeV" << endl;
48 cout << " Time " << fTime << " ns, Length " << fLength
49 << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
50}
◆ fPdgCode
Int_t ShipRpcPoint::fPdgCode |
|
private |
The documentation for this class was generated from the following files: