#include <PndMdtPoint.h>
Definition at line 12 of file PndMdtPoint.h.
PndMdtPoint::PndMdtPoint |
( |
| ) |
|
PndMdtPoint::PndMdtPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
TVector3 |
pos_in, |
|
|
TVector3 |
mom_in |
|
) |
| |
Constructor with arguments
- Parameters
-
Int_t | fEventID The ID of the event |
Int_t | fTrackID The ID of the track |
Int_t | fDetectorID The ID of the detector |
TLorentzVector | fPosIn The position of the hit [cm] at the exitentrance point |
TLorentzVector | fMomIn The momentum of the particle giving the hit [GeV] at the exitentrance point |
TLorentzVector | fPos The position of the hit [cm] at the exit point |
TLorentzVector | fMom The momentum of the particle giving the hit [GeV] at the exit point |
Double_t | fELoss contains the total energy at the layer [GeV] because it is omitted in parsInitializing constructor - see the above order |
Definition at line 20 of file PndMdtPoint.cxx.
23 : FairMCPoint(trackID, detID,
pos,
mom,tof, length, eLoss ),
fPosIn(pos_in),
fMomIn(mom_in)
25 SetLink(FairLink(
"MCTrack", trackID));
PndMdtPoint::~PndMdtPoint |
( |
| ) |
|
|
virtual |
Short_t PndMdtPoint::GetBox |
( |
| ) |
const |
|
inline |
Short_t PndMdtPoint::GetLayerID |
( |
| ) |
const |
|
inline |
Short_t PndMdtPoint::GetModule |
( |
| ) |
const |
|
inline |
TVector3 PndMdtPoint::GetMomIn |
( |
| ) |
const |
|
inline |
TVector3 PndMdtPoint::GetMomOut |
( |
| ) |
const |
|
inline |
Definition at line 50 of file PndMdtPoint.h.
50 {
return TVector3(fPx, fPy, fPz); }
TVector3 PndMdtPoint::GetPosIn |
( |
| ) |
const |
|
inline |
TVector3 PndMdtPoint::GetPosOut |
( |
| ) |
const |
|
inline |
Short_t PndMdtPoint::GetSector |
( |
| ) |
const |
|
inline |
Short_t PndMdtPoint::GetWire |
( |
| ) |
const |
|
inline |
void PndMdtPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Modifiers Output to screen
Definition at line 34 of file PndMdtPoint.cxx.
References fMomIn, fPosIn, fX, fY, and fZ.
35 cout <<
"-I- PndMdtPoint: MDT Point for track " << fTrackID <<
" in the detector " << fDetectorID << endl;
36 cout <<
" in event " << fEventId <<
" track length " << fLength <<
" time " << fTime <<
" eloss " << fELoss << endl;
37 cout <<
" Position In (" <<
fPosIn.X() <<
", " <<
fPosIn.Y() <<
", " <<
fPosIn.Z() <<
") cm^3*s" << endl;
38 cout <<
" Momentum In (" <<
fMomIn.X() <<
", " <<
fMomIn.Y() <<
", " <<
fMomIn.Z() <<
") GeV^4" << endl;
39 cout <<
" Position Out (" <<
fX <<
", " <<
fY <<
", " <<
fZ <<
") cm^3*s" << endl;
40 cout <<
" Momentum Out(" << fPx <<
", " << fPy <<
", " << fPz <<
") GeV^4" << endl;
41 cout <<
" opt = " << opt << endl;
TVector3 PndMdtPoint::fMomIn |
|
protected |
TVector3 PndMdtPoint::fPosIn |
|
protected |
The documentation for this class was generated from the following files: