#include <PndRichPoint.h>
Definition at line 10 of file PndRichPoint.h.
PndRichPoint::PndRichPoint |
( |
| ) |
|
PndRichPoint::PndRichPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
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 16 of file PndRichPoint.cxx.
20 : FairMCPoint(trackID, detID,
pos,
mom, tof, length, eLoss)
PndRichPoint::~PndRichPoint |
( |
| ) |
|
|
virtual |
void PndRichPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 30 of file PndRichPoint.cxx.
References fX, fY, and fZ.
32 cout <<
"-I- PndRichPoint: PndRich point for track " << fTrackID
33 <<
" in detector " << fDetectorID << endl;
34 cout <<
" Position (" <<
fX <<
", " <<
fY <<
", " <<
fZ
36 cout <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz
38 cout <<
" Time " << fTime <<
" ns, Length " << fLength
39 <<
" cm, Energy loss " << fELoss*1.0e06 <<
" keV" << endl;
The documentation for this class was generated from the following files: