#include <hcalPoint.h>
|
| hcalPoint () |
|
| hcalPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgcode=0) |
|
| hcalPoint (Int_t trackID, Int_t detID, Double32_t tof, Double32_t eloss, UInt_t EventId=0) |
|
Int_t | GetPdgCode () const |
|
Int_t | PdgCode () const |
|
virtual | ~hcalPoint () |
|
virtual void | Print (const Option_t *opt) const |
|
Definition at line 12 of file hcalPoint.h.
◆ hcalPoint() [1/4]
Default constructor
Definition at line 9 of file hcalPoint.cxx.
10 : FairMCPoint()
11{
12}
◆ hcalPoint() [2/4]
hcalPoint::hcalPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Int_t |
pdgcode = 0 |
|
) |
| |
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 hcalPoint.cxx.
20 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
fPdgCode(pdgcode)
21{
22}
◆ hcalPoint() [3/4]
hcalPoint::hcalPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Double32_t |
tof, |
|
|
Double32_t |
eloss, |
|
|
UInt_t |
EventId = 0 |
|
) |
| |
|
inline |
Constructor with arguments for lite points
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
tof | Time since event start [ns] |
eLoss | Energy deposit [GeV] |
Definition at line 40 of file hcalPoint.h.
41 : FairMCPoint(trackID, detID, TVector3(-1111, -1111, -1111), TVector3(-1111, -1111, -1111), tof, -1111, eloss, EventId),
fPdgCode(0)
42 {};
◆ ~hcalPoint()
hcalPoint::~hcalPoint |
( |
| ) |
|
|
virtual |
◆ hcalPoint() [4/4]
hcalPoint::hcalPoint |
( |
const hcalPoint & |
point | ) |
|
|
private |
◆ GetPdgCode()
Int_t hcalPoint::GetPdgCode |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PdgCode()
Int_t hcalPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
void hcalPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 30 of file hcalPoint.cxx.
31{
32 cout << "-I- hcalPoint: hcal point for track " << fTrackID
33 <<
"(PDG=" <<
fPdgCode <<
") 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}
◆ hcal
◆ fPdgCode
Int_t hcalPoint::fPdgCode |
|
private |
The documentation for this class was generated from the following files: