#include <vetoPoint.h>
|
| vetoPoint () |
|
| vetoPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, TVector3 Lpos, TVector3 Lmom) |
|
virtual | ~vetoPoint () |
|
virtual void | Print () const |
|
Int_t | PdgCode () const |
|
TVector3 | LastPoint () const |
|
TVector3 | LastMom () const |
|
Definition at line 10 of file vetoPoint.h.
◆ vetoPoint() [1/3]
Default constructor
Definition at line 9 of file vetoPoint.cxx.
10 : FairMCPoint()
11{
12}
◆ vetoPoint() [2/3]
vetoPoint::vetoPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Int_t |
pdgCode, |
|
|
TVector3 |
Lpos, |
|
|
TVector3 |
Lmom |
|
) |
| |
Constructor with arguments
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID for LiSc: segment T1 (seg=1), segment T2 (seg=2), normal detector (c=0) and corner detector (c=1), sequential number nr + 100000*seg + 10000*c; |
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 vetoPoint.cxx.
20 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
fPdgCode(pdgcode),
fLpos(Lpos),
fLmom(Lmom)
21{
22}
◆ ~vetoPoint()
vetoPoint::~vetoPoint |
( |
| ) |
|
|
virtual |
◆ vetoPoint() [3/3]
vetoPoint::vetoPoint |
( |
const vetoPoint & |
point | ) |
|
|
private |
◆ LastMom()
TVector3 vetoPoint::LastMom |
( |
| ) |
const |
|
inline |
◆ LastPoint()
TVector3 vetoPoint::LastPoint |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PdgCode()
Int_t vetoPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
void vetoPoint::Print |
( |
| ) |
const |
|
virtual |
Output to screen
Definition at line 30 of file vetoPoint.cxx.
31{
32 cout << "-I- vetoPoint: veto point for track " << fTrackID
33 << " in detector " << fDetectorID << endl;
34 cout << " Position (" << fX << ", " << fY << ", " << fZ
35 << ") cm" << endl;
36 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
37 << ") GeV" << endl;
38 cout << " Time " << fTime << " ns, Length " << fLength
39 << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
40}
◆ fLmom
TVector3 vetoPoint::fLmom |
|
private |
◆ fLpos
TVector3 vetoPoint::fLpos |
|
private |
◆ fPdgCode
Int_t vetoPoint::fPdgCode |
|
private |
The documentation for this class was generated from the following files: