|
BmnRoot
|
#include <BmnSsdPoint.h>
Public Member Functions | |
| BmnSsdPoint () | |
| BmnSsdPoint (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Int_t pid=0, Int_t eventId=0, Int_t index=0, Short_t flag=3) | |
| BmnSsdPoint (const BmnSsdPoint &point, Int_t eventId=-1, Double_t eventTime=0., Double_t epochTime=0.) | |
| virtual | ~BmnSsdPoint () |
| Double_t | GetXIn () const |
| Double_t | GetYIn () const |
| Double_t | GetZIn () const |
| Double_t | GetXOut () const |
| Double_t | GetYOut () const |
| Double_t | GetZOut () const |
| Double_t | GetPxOut () const |
| Double_t | GetPyOut () const |
| Double_t | GetPzOut () const |
| Int_t | GetPid () const |
| Int_t | GetIndex () const |
| Bool_t | IsEntry () const |
| Bool_t | IsExit () 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 |
| Bool_t | IsUsable () const |
| void | SetPositionOut (TVector3 pos) |
| void | SetMomentumOut (TVector3 mom) |
| virtual void | SetTrackID (Int_t id) |
| std::string | ToString () const |
Protected Attributes | |
| Double32_t | fX_out |
| Double32_t | fY_out |
| Double32_t | fZ_out |
| Double32_t | fPx_out |
| Double32_t | fPy_out |
| Double32_t | fPz_out |
| Int_t | fPid |
| Int_t | fIndex |
| |
| Short_t | fFlag |
| |
Definition at line 26 of file BmnSsdPoint.h.
| BmnSsdPoint::BmnSsdPoint | ( | ) |
Default constructor
Definition at line 17 of file BmnSsdPoint.cxx.
| BmnSsdPoint::BmnSsdPoint | ( | Int_t | trackID, |
| Int_t | detID, | ||
| TVector3 | posIn, | ||
| TVector3 | posOut, | ||
| TVector3 | momIn, | ||
| TVector3 | momOut, | ||
| Double_t | tof, | ||
| Double_t | length, | ||
| Double_t | eLoss, | ||
| Int_t | pid = 0, |
||
| Int_t | eventId = 0, |
||
| Int_t | index = 0, |
||
| Short_t | flag = 3 |
||
| ) |
Constructor with arguments
| trackID | Index of MCTrack |
| detID | Detector ID |
| posIn | Coordinates 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] |
| pid | Particle ID (PDG code) |
| eventId | MC event identifier |
| index | Index of point in TClonesArray |
| flag | +1 if entering, +2 if leaving the sensor |
Definition at line 35 of file BmnSsdPoint.cxx.
References kMCTrack.
| BmnSsdPoint::BmnSsdPoint | ( | const BmnSsdPoint & | point, |
| Int_t | eventId = -1, |
||
| Double_t | eventTime = 0., |
||
| Double_t | epochTime = 0. |
||
| ) |
Copy constructor with event and epoch time Re-calculates time w.r.t. epoch time start
| eventId | MC event identifier (negative values keep original event ID) |
| eventTime | MC event time [ns] |
| epochTime | epoch start time [ns] |
Definition at line 63 of file BmnSsdPoint.cxx.
|
virtual |
Destructor
Definition at line 57 of file BmnSsdPoint.cxx.
|
inline |
Definition at line 84 of file BmnSsdPoint.h.
References fIndex.
|
inline |
Definition at line 83 of file BmnSsdPoint.h.
References fPid.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 80 of file BmnSsdPoint.h.
References fPx_out.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 81 of file BmnSsdPoint.h.
References fPy_out.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 82 of file BmnSsdPoint.h.
References fPz_out.
Referenced by BmnSsdSensor::ProcessPoint().
| Double_t BmnSsdPoint::GetX | ( | Double_t | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 86 of file BmnSsdPoint.cxx.
|
inline |
|
inline |
Definition at line 77 of file BmnSsdPoint.h.
References fX_out.
Referenced by BmnSsdSensor::ProcessPoint().
| Double_t BmnSsdPoint::GetY | ( | Double_t | z | ) | const |
Definition at line 96 of file BmnSsdPoint.cxx.
|
inline |
Definition at line 75 of file BmnSsdPoint.h.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 78 of file BmnSsdPoint.h.
References fY_out.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 76 of file BmnSsdPoint.h.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 79 of file BmnSsdPoint.h.
References fZ_out.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 85 of file BmnSsdPoint.h.
References fFlag.
Referenced by BmnSsdSensor::ProcessPoint().
|
inline |
Definition at line 86 of file BmnSsdPoint.h.
References fFlag.
Referenced by BmnSsdSensor::ProcessPoint().
| Bool_t BmnSsdPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 107 of file BmnSsdPoint.cxx.
References fZ_out.
|
inline |
Definition at line 90 of file BmnSsdPoint.h.
|
inline |
Definition at line 88 of file BmnSsdPoint.h.
|
inline |
Definition at line 89 of file BmnSsdPoint.h.
|
inline |
Definition at line 140 of file BmnSsdPoint.h.
|
inline |
|
inlinevirtual |
Definition at line 105 of file BmnSsdPoint.h.
| string BmnSsdPoint::ToString | ( | ) | const |
String output
Definition at line 117 of file BmnSsdPoint.cxx.
|
protected |
Index of point in its TClonesArray
Definition at line 123 of file BmnSsdPoint.h.
|
protected |
|
protected |
Definition at line 121 of file BmnSsdPoint.h.
Referenced by GetPid().
|
protected |
Definition at line 120 of file BmnSsdPoint.h.
Referenced by GetPxOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 120 of file BmnSsdPoint.h.
Referenced by GetPyOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 120 of file BmnSsdPoint.h.
Referenced by GetPzOut(), MomentumOut(), and SetMomentumOut().
|
protected |
Definition at line 119 of file BmnSsdPoint.h.
Referenced by GetX(), GetXOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 119 of file BmnSsdPoint.h.
Referenced by GetY(), GetYOut(), PositionOut(), SetPositionOut(), and ToString().
|
protected |
Definition at line 119 of file BmnSsdPoint.h.
Referenced by GetX(), GetY(), GetZOut(), IsUsable(), PositionOut(), SetPositionOut(), and ToString().