#include <PndEmcApdPoint.h>
|
| PndEmcApdPoint () |
|
| PndEmcApdPoint (Int_t trackID, Int_t detID, Int_t evtID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t mod, Short_t row, Short_t crys, Short_t copy, Short_t flag) |
|
| PndEmcApdPoint (const PndEmcApdPoint &point) |
|
virtual | ~PndEmcApdPoint () |
|
Double_t | GetTheta () const |
|
Double_t | GetPhi () const |
|
Short_t | GetFlag () const |
|
Short_t | GetXPad () const |
|
Short_t | GetYPad () const |
|
void | Position (TVector3 &pos) |
|
void | Momentum (TVector3 &mom) |
|
Short_t | GetModule () const |
|
Short_t | GetRow () const |
|
Short_t | GetCrystal () const |
|
Short_t | GetCopy () const |
|
void | SetModule (Short_t mod) |
|
void | SetRow (Short_t row) |
|
void | SetCrystal (Short_t crys) |
|
void | SetFlag (Short_t flag) |
|
virtual void | Print (const Option_t *opt) const |
|
Definition at line 14 of file PndEmcApdPoint.h.
PndEmcApdPoint::PndEmcApdPoint |
( |
| ) |
|
PndEmcApdPoint::PndEmcApdPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
evtID, |
|
|
TVector3 |
pos, |
|
|
TVector3 |
mom, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss, |
|
|
Short_t |
mod, |
|
|
Short_t |
row, |
|
|
Short_t |
crys, |
|
|
Short_t |
copy, |
|
|
Short_t |
flag |
|
) |
| |
Constructor with arguments
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
posIn | Ccoordinates at entrance to active volume [cm] |
posOut | Coordinates at exit of active volume [cm] |
momIn | Momentum of track at entrance [GeV] |
momOut | Momentum of track at exit [GeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [GeV] |
Definition at line 28 of file PndEmcApdPoint.cxx.
31 : FairMCPoint(trackID, detID,
pos,
mom, tof, length, eLoss, evtID),
34 SetLink(FairLink(
"MCTrack", trackID));
Copy constructor
Definition at line 38 of file PndEmcApdPoint.cxx.
39 :FairMCPoint(point.fTrackID, point.fDetectorID, TVector3(point.fX, point.fY, point.fZ), TVector3(point.fPx, point.fPy, point.fPz),
40 point.fTime, point.fLength, point.fELoss),
44 SetLinks(point.GetLinks());
PndEmcApdPoint::~PndEmcApdPoint |
( |
| ) |
|
|
virtual |
Short_t PndEmcApdPoint::GetCopy |
( |
| ) |
const |
|
inline |
Short_t PndEmcApdPoint::GetCrystal |
( |
| ) |
const |
|
inline |
Short_t PndEmcApdPoint::GetFlag |
( |
| ) |
const |
|
inline |
Short_t PndEmcApdPoint::GetModule |
( |
| ) |
const |
|
inline |
Double_t PndEmcApdPoint::GetPhi |
( |
| ) |
const |
|
inline |
Short_t PndEmcApdPoint::GetRow |
( |
| ) |
const |
|
inline |
Double_t PndEmcApdPoint::GetTheta |
( |
| ) |
const |
|
inline |
Short_t PndEmcApdPoint::GetXPad |
( |
| ) |
const |
Short_t PndEmcApdPoint::GetYPad |
( |
| ) |
const |
void PndEmcApdPoint::Momentum |
( |
TVector3 & |
mom | ) |
|
|
inline |
void PndEmcApdPoint::Position |
( |
TVector3 & |
pos | ) |
|
|
inline |
void PndEmcApdPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Output to screen
Definition at line 52 of file PndEmcApdPoint.cxx.
References fX, fY, and fZ.
53 cout <<
"-I- PndEmcApdPoint: EMCAPD Point for track " << fTrackID
54 <<
" in detector " << fDetectorID << endl;
55 cout <<
" Position (" <<
fX <<
", " <<
fY <<
", " <<
fZ
57 cout <<
" Momentum (" << fPx <<
", " << fPy <<
", " << fPz
59 cout <<
" Time " << fTime <<
" ns, Length " << fLength
60 <<
" cm, Energy loss " << fELoss*1.0e06 <<
" keV" << endl;
void PndEmcApdPoint::SetCrystal |
( |
Short_t |
crys | ) |
|
|
inline |
void PndEmcApdPoint::SetFlag |
( |
Short_t |
flag | ) |
|
|
inline |
void PndEmcApdPoint::SetModule |
( |
Short_t |
mod | ) |
|
|
inline |
void PndEmcApdPoint::SetRow |
( |
Short_t |
row | ) |
|
|
inline |
Short_t PndEmcApdPoint::fFlag |
|
protected |
Short_t PndEmcApdPoint::nCopy |
|
protected |
Short_t PndEmcApdPoint::nCrystal |
|
protected |
Short_t PndEmcApdPoint::nModule |
|
protected |
Short_t PndEmcApdPoint::nRow |
|
protected |
The documentation for this class was generated from the following files: