#include <strawtubesPoint.h>
Definition at line 10 of file strawtubesPoint.h.
◆ strawtubesPoint() [1/3]
strawtubesPoint::strawtubesPoint |
( |
| ) |
|
◆ strawtubesPoint() [2/3]
strawtubesPoint::strawtubesPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Int_t |
pdgcode, |
|
|
Double_t |
dist |
|
) |
| |
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 17 of file strawtubesPoint.cxx.
21 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
fPdgCode(pdgcode),
fdist2Wire(dist)
22{
23}
◆ ~strawtubesPoint()
strawtubesPoint::~strawtubesPoint |
( |
| ) |
|
|
virtual |
◆ strawtubesPoint() [3/3]
◆ ClassDef()
◆ dist2Wire()
Double_t strawtubesPoint::dist2Wire |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PdgCode()
Int_t strawtubesPoint::PdgCode |
( |
| ) |
const |
|
inline |
◆ Print()
void strawtubesPoint::Print |
( |
| ) |
const |
|
virtual |
Output to screen
Definition at line 31 of file strawtubesPoint.cxx.
32{
33 cout << "-I- strawtubesPoint: strawtubes point for track " << fTrackID
34 << " in detector " << fDetectorID << endl;
35 cout <<
" Position (" << fX <<
", " << fY <<
", " << fZ <<
", " <<
fdist2Wire
36 << ") cm" << endl;
37 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
38 << ") GeV" << endl;
39 cout <<
" Time " << fTime <<
" ns, Length " << fLength <<
"pdgid" <<
fPdgCode
40 << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
41}
◆ fdist2Wire
Double_t strawtubesPoint::fdist2Wire |
|
private |
◆ fPdgCode
Int_t strawtubesPoint::fPdgCode |
|
private |
The documentation for this class was generated from the following files: