CbmRoot
|
Container class for a local point in a STS sensor. More...
#include <CbmStsSensorPoint.h>
Public Member Functions | |
CbmStsSensorPoint () | |
CbmStsSensorPoint (Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2, Double_t p, Double_t eLoss, Double_t time, Double_t bx=0., Double_t by=0., Double_t bz=0., Int_t pid=0) | |
virtual | ~CbmStsSensorPoint () |
Double_t | GetX1 () const |
Entry x coordinate [cm]. More... | |
Double_t | GetY1 () const |
Entry y coordinate [cm]. More... | |
Double_t | GetZ1 () const |
Entry z coordinate [cm]. More... | |
Double_t | GetX2 () const |
Exit x coordinate [cm]. More... | |
Double_t | GetY2 () const |
Exit y coordinate [cm]. More... | |
Double_t | GetZ2 () const |
Exit z coordinate [cm]. More... | |
Double_t | GetP () const |
Momentum magnitude. More... | |
Double_t | GetELoss () const |
Energy loss [GeV]. More... | |
Double_t | GetTime () const |
Time [ns]. More... | |
Double_t | GetBx () const |
Bx-Field at midpoint [T]. More... | |
Double_t | GetBy () const |
By-Field at midpoint [T]. More... | |
Double_t | GetBz () const |
Bz-Field at midpoint [T]. More... | |
Int_t | GetPid () const |
Particle ID [PDG]. More... | |
std::string | ToString () const |
Private Member Functions | |
ClassDef (CbmStsSensorPoint, 2) | |
Private Attributes | |
Double_t | fX1 |
Entry point x [cm]. More... | |
Double_t | fY1 |
Entry point y [cm]. More... | |
Double_t | fZ1 |
Entry point z [cm]. More... | |
Double_t | fX2 |
Exit point x [cm]. More... | |
Double_t | fY2 |
Exit point y [cm]. More... | |
Double_t | fZ2 |
Exit point z [cm]. More... | |
Double_t | fP |
Momentum magnitude at entry point [GeV]. More... | |
Double_t | fELoss |
Energy deposit [GeV]. More... | |
Double_t | fTime |
Time [ns]. More... | |
Double_t | fBx |
Magnetic field x component at midpoint [T]. More... | |
Double_t | fBy |
Magnetic field y component at midpoint [T]. More... | |
Double_t | fBz |
Magnetic field z component at midpoint [T]. More... | |
Int_t | fPid |
Particle Type [PDG code]. More... | |
Container class for a local point in a STS sensor.
Stores parameters needed for digitisation in the sensor C.S.
Definition at line 19 of file CbmStsSensorPoint.h.
CbmStsSensorPoint::CbmStsSensorPoint | ( | ) |
Default constructor
Definition at line 13 of file CbmStsSensorPoint.cxx.
CbmStsSensorPoint::CbmStsSensorPoint | ( | Double_t | x1, |
Double_t | y1, | ||
Double_t | z1, | ||
Double_t | x2, | ||
Double_t | y2, | ||
Double_t | z2, | ||
Double_t | p, | ||
Double_t | eLoss, | ||
Double_t | time, | ||
Double_t | bx = 0. , |
||
Double_t | by = 0. , |
||
Double_t | bz = 0. , |
||
Int_t | pid = 0 |
||
) |
Constructor with parameters
x1,y1,z1 | Entry coordinates in local C.S. [cm] |
x2,y2,z2 | Exit coordinates in local C.S. [cm] |
p | Momentum magnitude (entry) [GeV] |
eLoss | Energy deposit [GeV] |
time | Time [ns] |
bx | Mag. Field (x component) at midpoint [T] |
by | Mag. Field (y component) at midpoint [T] |
bz | Mag. Field (z component) at midpoint [T] |
pid | Particle ty[e [PDG code] |
Definition at line 36 of file CbmStsSensorPoint.cxx.
|
virtual |
Destructor
Definition at line 31 of file CbmStsSensorPoint.cxx.
|
private |
|
inline |
|
inline |
By-Field at midpoint [T].
Definition at line 66 of file CbmStsSensorPoint.h.
References fBy.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
|
inline |
Energy loss [GeV].
Definition at line 63 of file CbmStsSensorPoint.h.
References fELoss.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Momentum magnitude.
Definition at line 62 of file CbmStsSensorPoint.h.
References fP.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Particle ID [PDG].
Definition at line 68 of file CbmStsSensorPoint.h.
References fPid.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Time [ns].
Definition at line 64 of file CbmStsSensorPoint.h.
References fTime.
Referenced by CbmStsSimSensorDssd::CalculateResponse().
|
inline |
Entry x coordinate [cm].
Definition at line 56 of file CbmStsSensorPoint.h.
References fX1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit x coordinate [cm].
Definition at line 59 of file CbmStsSensorPoint.h.
References fX2.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Entry y coordinate [cm].
Definition at line 57 of file CbmStsSensorPoint.h.
References fY1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit y coordinate [cm].
Definition at line 60 of file CbmStsSensorPoint.h.
References fY2.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Entry z coordinate [cm].
Definition at line 58 of file CbmStsSensorPoint.h.
References fZ1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit z coordinate [cm].
Definition at line 61 of file CbmStsSensorPoint.h.
References fZ2.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
string CbmStsSensorPoint::ToString | ( | ) | const |
|
private |
Magnetic field x component at midpoint [T].
Definition at line 85 of file CbmStsSensorPoint.h.
Referenced by GetBx().
|
private |
Magnetic field y component at midpoint [T].
Definition at line 86 of file CbmStsSensorPoint.h.
Referenced by GetBy(), and ToString().
|
private |
Magnetic field z component at midpoint [T].
Definition at line 87 of file CbmStsSensorPoint.h.
Referenced by GetBz().
|
private |
Energy deposit [GeV].
Definition at line 83 of file CbmStsSensorPoint.h.
Referenced by GetELoss(), and ToString().
|
private |
Momentum magnitude at entry point [GeV].
Definition at line 82 of file CbmStsSensorPoint.h.
Referenced by GetP(), and ToString().
|
private |
Particle Type [PDG code].
Definition at line 88 of file CbmStsSensorPoint.h.
Referenced by GetPid(), and ToString().
|
private |
Time [ns].
Definition at line 84 of file CbmStsSensorPoint.h.
Referenced by GetTime(), and ToString().
|
private |
Entry point x [cm].
Definition at line 76 of file CbmStsSensorPoint.h.
Referenced by GetX1(), and ToString().
|
private |
Exit point x [cm].
Definition at line 79 of file CbmStsSensorPoint.h.
Referenced by GetX2(), and ToString().
|
private |
Entry point y [cm].
Definition at line 77 of file CbmStsSensorPoint.h.
Referenced by GetY1(), and ToString().
|
private |
Exit point y [cm].
Definition at line 80 of file CbmStsSensorPoint.h.
Referenced by GetY2(), and ToString().
|
private |
Entry point z [cm].
Definition at line 78 of file CbmStsSensorPoint.h.
Referenced by GetZ1(), and ToString().
|
private |
Exit point z [cm].
Definition at line 81 of file CbmStsSensorPoint.h.
Referenced by GetZ2(), and ToString().