er
dev
|
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad. More...
#include <ERPoint.h>
Public Member Functions | |
ERPoint () | |
ERPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t fVolNb, Double_t mass, TVector3 posIn, TVector3 posInLoc, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t timeIn, Double_t timeOut, Double_t trackLength, Double_t eLoss, Double_t lightYield, Int_t pid, Double_t charge) | |
ERPoint (const ERPoint &) | |
virtual | ~ERPoint () |
ERPoint & | operator= (const ERPoint &) |
Int_t | GetEventID () const |
Int_t | GetMot0TrackID () const |
Double_t | GetXIn () const |
Double_t | GetYIn () const |
Double_t | GetZIn () const |
Double_t | GetXInLocal () const |
Double_t | GetYInLocal () const |
Double_t | GetZInLocal () const |
Double_t | GetXOut () const |
Double_t | GetYOut () const |
Double_t | GetZOut () const |
Double_t | GetPxIn () const |
Double_t | GetPyIn () const |
Double_t | GetPzIn () const |
Double_t | GetPxOut () const |
Double_t | GetPyOut () const |
Double_t | GetPzOut () const |
Double_t | GetPIn () const |
Double_t | GetPOut () const |
Double_t | GetMass () const |
Double_t | GetLightYield () const |
Int_t | GetPID () const |
Double_t | GetCharge () const |
Double_t | GetTime () const |
Double_t | GetTimeIn () const |
Double_t | GetTimeOut () const |
Double_t | GetVolNb () const |
Double_t | GetLength () const |
void | PositionIn (TVector3 &pos) |
void | PositionOut (TVector3 &pos) |
void | MomentumOut (TVector3 &mom) |
Double_t | GetX (Double_t z) const |
Double_t | GetY (Double_t z) const |
Double_t | GetP (Double_t pointLen) const |
Double_t | GetTime (Double_t pointLen) const |
Bool_t | IsUsable () const |
virtual void | Print (const Option_t *opt=0) const |
void | SetLightYield (Double_t ly) |
void | SetTimeIn (Double_t t) |
void | SetXIn (Double_t xin) |
void | SetXOut (Double_t xout) |
void | SetYIn (Double_t yin) |
void | SetYOut (Double_t yout) |
void | SetZIn (Double_t zin) |
void | SetZOut (Double_t zout) |
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.
ERPoint::ERPoint | ( | ) |
Default constructor
Definition at line 17 of file ERPoint.cxx.
ERPoint::ERPoint | ( | Int_t | eventID, |
Int_t | trackID, | ||
Int_t | mot0trackID, | ||
Int_t | fVolNb, | ||
Double_t | mass, | ||
TVector3 | posIn, | ||
TVector3 | posInLoc, | ||
TVector3 | posOut, | ||
TVector3 | momIn, | ||
TVector3 | momOut, | ||
Double_t | timeIn, | ||
Double_t | timeOut, | ||
Double_t | trackLength, | ||
Double_t | eLoss, | ||
Double_t | lightYield, | ||
Int_t | pid, | ||
Double_t | charge | ||
) |
Constructor with arguments
EventID | Index of Event |
trackID | Index of MCTrack |
mot0trackID | Index of Mother MCTrack |
fiberInModuleNb | number of fiber in module |
posIn | Ccoordinates at entrance of point [cm] |
posOut | Coordinates at exit of point [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 [KeV] |
lightYield | Energy deposit [MeV] |
Definition at line 25 of file ERPoint.cxx.
ERPoint::ERPoint | ( | const ERPoint & | right | ) |
Copy constructor
Definition at line 47 of file ERPoint.cxx.
|
virtual |
Destructor
Definition at line 61 of file ERPoint.cxx.
Double_t ERPoint::GetX | ( | Double_t | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 83 of file ERPoint.cxx.
Bool_t ERPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 107 of file ERPoint.cxx.
|
virtual |
Output to screen
Definition at line 69 of file ERPoint.cxx.
|
inline |