#include <PndDrcPDPoint.h>
|
| | PndDrcPDPoint () |
| |
| | PndDrcPDPoint (Int_t trackID, Int_t detID, Int_t mcpId, Int_t barPintId, TVector3 pos, TVector3 mom, TVector3 momAtEV, Double_t timeAtEV, Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID) |
| |
| virtual | ~PndDrcPDPoint () |
| |
| Int_t | GetPdgCode () const |
| |
| TVector3 | GetMomAtEV () const |
| |
| Double_t | GetTimeAtEV () const |
| |
| Int_t | GetDetectorID () const |
| |
| Int_t | GetBarPointID () const |
| |
| Int_t | GetMcpId () const |
| |
| void | SetPdgCode (Int_t id) |
| |
| virtual void | Print (const Option_t *opt) const |
| |
PndDrcPDPoint.h
Definition at line 19 of file PndDrcPDPoint.h.
| PndDrcPDPoint::PndDrcPDPoint |
( |
| ) |
|
| PndDrcPDPoint::PndDrcPDPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
mcpId, |
|
|
Int_t |
barPintId, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
TVector3 |
momAtEV, |
|
|
Double_t |
timeAtEV, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Int_t |
pdgCode, |
|
|
Int_t |
eventID |
|
) |
| |
Constructor with arguments
- Parameters
-
| trackID | Index of MCTrack |
| detID | Detector ID |
| pos | Point coordinates [cm] |
| mom | Momentum of track at MCPoint [GeV] |
| momAtEV | Momentum of track at entering the EV [GeV] |
| tof | Time since event start [ns] |
| length | Track length since creation [cm] |
| eLoss | Energy deposit [GeV] |
Definition at line 24 of file PndDrcPDPoint.cxx.
27 :FairMCPoint(trackID, detID,
pos,
mom, tof, length, 0.0, (UInt_t) eventID),
fPdgCode(pdgCode),
fMcpId(mcpId),
fBarPointId(barPointId),
fmomAtEV(momAtEV),
ftimeAtEV(timeAtEV)
29 SetLink(FairLink(
"MCTrack", trackID));
| PndDrcPDPoint::~PndDrcPDPoint |
( |
| ) |
|
|
virtual |
| Int_t PndDrcPDPoint::GetBarPointID |
( |
| ) |
const |
|
inline |
| Int_t PndDrcPDPoint::GetDetectorID |
( |
| ) |
const |
|
inline |
| Int_t PndDrcPDPoint::GetMcpId |
( |
| ) |
const |
|
inline |
| TVector3 PndDrcPDPoint::GetMomAtEV |
( |
| ) |
const |
|
inline |
| Int_t PndDrcPDPoint::GetPdgCode |
( |
| ) |
const |
|
inline |
| Double_t PndDrcPDPoint::GetTimeAtEV |
( |
| ) |
const |
|
inline |
| void PndDrcPDPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 41 of file PndDrcPDPoint.cxx.
References fX, fY, and fZ.
43 cout <<
"-I- PndDrcPDPoint: DRC Point for trackID---> " << fTrackID
44 <<
" in detector " << fDetectorID << endl;
46 cout <<
" Position (" <<
fX <<
", " <<
fY <<
", " <<
fZ
48 cout <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz
50 cout <<
" Time " << fTime <<
" ns, Length " << fLength
| void PndDrcPDPoint::SetPdgCode |
( |
Int_t |
id | ) |
|
|
inline |
| Int_t PndDrcPDPoint::fBarPointId |
|
protected |
| Int_t PndDrcPDPoint::fMcpId |
|
protected |
| TVector3 PndDrcPDPoint::fmomAtEV |
|
protected |
| Int_t PndDrcPDPoint::fPdgCode |
|
protected |
The documentation for this class was generated from the following files: