#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() [1/3]
PndEmcApdPoint::PndEmcApdPoint |
( |
| ) |
|
◆ PndEmcApdPoint() [2/3]
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] |
◆ PndEmcApdPoint() [3/3]
◆ ~PndEmcApdPoint()
virtual PndEmcApdPoint::~PndEmcApdPoint |
( |
| ) |
|
|
virtual |
◆ GetCopy()
Short_t PndEmcApdPoint::GetCopy |
( |
| ) |
const |
|
inline |
Definition at line 54 of file PndEmcApdPoint.h.
54 {
return ((fDetectorID / 10000) % 100); };
◆ GetCrystal()
Short_t PndEmcApdPoint::GetCrystal |
( |
| ) |
const |
|
inline |
◆ GetFlag()
Short_t PndEmcApdPoint::GetFlag |
( |
| ) |
const |
|
inline |
◆ GetModule()
Short_t PndEmcApdPoint::GetModule |
( |
| ) |
const |
|
inline |
◆ GetPhi()
Double_t PndEmcApdPoint::GetPhi |
( |
| ) |
const |
|
inline |
◆ GetRow()
Short_t PndEmcApdPoint::GetRow |
( |
| ) |
const |
|
inline |
Definition at line 52 of file PndEmcApdPoint.h.
52 {
return ((fDetectorID / 1000000) % 100); };
◆ GetTheta()
Double_t PndEmcApdPoint::GetTheta |
( |
| ) |
const |
|
inline |
Accessors
Definition at line 42 of file PndEmcApdPoint.h.
References CAMath::ATan2(), and sqrt().
42 {
return fX == 0.0 && fY == 0.0 && fZ == 0.0 ? 0.0 :
TMath::ATan2(
sqrt(fX * fX + fY * fY), fZ) * TMath::RadToDeg(); };
friend F32vec4 sqrt(const F32vec4 &a)
static T ATan2(const T &y, const T &x)
◆ GetXPad()
Short_t PndEmcApdPoint::GetXPad |
( |
| ) |
const |
◆ GetYPad()
Short_t PndEmcApdPoint::GetYPad |
( |
| ) |
const |
◆ Momentum()
void PndEmcApdPoint::Momentum |
( |
TVector3 & |
mom | ) |
|
|
inline |
◆ Position()
void PndEmcApdPoint::Position |
( |
TVector3 & |
pos | ) |
|
|
inline |
◆ Print()
virtual void PndEmcApdPoint::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
◆ SetCrystal()
void PndEmcApdPoint::SetCrystal |
( |
Short_t |
crys | ) |
|
|
inline |
◆ SetFlag()
void PndEmcApdPoint::SetFlag |
( |
Short_t |
flag | ) |
|
|
inline |
◆ SetModule()
void PndEmcApdPoint::SetModule |
( |
Short_t |
mod | ) |
|
|
inline |
◆ SetRow()
void PndEmcApdPoint::SetRow |
( |
Short_t |
row | ) |
|
|
inline |
◆ fFlag
Short_t PndEmcApdPoint::fFlag |
|
protected |
◆ nCopy
Short_t PndEmcApdPoint::nCopy |
|
protected |
◆ nCrystal
Short_t PndEmcApdPoint::nCrystal |
|
protected |
◆ nModule
Short_t PndEmcApdPoint::nModule |
|
protected |
◆ nRow
Short_t PndEmcApdPoint::nRow |
|
protected |
The documentation for this class was generated from the following file: