|
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]. | |
| Double_t | GetY1 () const |
| Entry y coordinate [cm]. | |
| Double_t | GetZ1 () const |
| Entry z coordinate [cm]. | |
| Double_t | GetX2 () const |
| Exit x coordinate [cm]. | |
| Double_t | GetY2 () const |
| Exit y coordinate [cm]. | |
| Double_t | GetZ2 () const |
| Exit z coordinate [cm]. | |
| Double_t | GetP () const |
| Momentum magnitude. | |
| Double_t | GetELoss () const |
| Energy loss [GeV]. | |
| Double_t | GetTime () const |
| Time [ns]. | |
| Double_t | GetBx () const |
| Bx-Field at midpoint [T]. | |
| Double_t | GetBy () const |
| By-Field at midpoint [T]. | |
| Double_t | GetBz () const |
| Bz-Field at midpoint [T]. | |
| Int_t | GetPid () const |
| Particle ID [PDG]. | |
| std::string | ToString () const |
Private Member Functions | |
| ClassDef (CbmStsSensorPoint, 2) | |
Private Attributes | |
| Double_t | fX1 |
| Entry point x [cm]. | |
| Double_t | fY1 |
| Entry point y [cm]. | |
| Double_t | fZ1 |
| Entry point z [cm]. | |
| Double_t | fX2 |
| Exit point x [cm]. | |
| Double_t | fY2 |
| Exit point y [cm]. | |
| Double_t | fZ2 |
| Exit point z [cm]. | |
| Double_t | fP |
| Momentum magnitude at entry point [GeV]. | |
| Double_t | fELoss |
| Energy deposit [GeV]. | |
| Double_t | fTime |
| Time [ns]. | |
| Double_t | fBx |
| Magnetic field x component at midpoint [T]. | |
| Double_t | fBy |
| Magnetic field y component at midpoint [T]. | |
| Double_t | fBz |
| Magnetic field z component at midpoint [T]. | |
| Int_t | fPid |
| Particle Type [PDG code]. | |
Container class for a local point in a STS sensor.
Stores parameters needed for digitisation in the sensor C.S.
Definition at line 24 of file CbmStsSensorPoint.h.
| CbmStsSensorPoint::CbmStsSensorPoint | ( | ) |
| 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 43 of file CbmStsSensorPoint.cxx.
References fBx, fBy, fBz, fELoss, fP, fPid, fTime, fX1, fX2, fY1, fY2, fZ1, and fZ2.
|
virtual |
Destructor
Definition at line 38 of file CbmStsSensorPoint.cxx.
|
private |
References CbmStsSensorPoint().
|
inline |
|
inline |
By-Field at midpoint [T].
Definition at line 60 of file CbmStsSensorPoint.h.
References fBy.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
|
inline |
Energy loss [GeV].
Definition at line 57 of file CbmStsSensorPoint.h.
References fELoss.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Momentum magnitude.
Definition at line 56 of file CbmStsSensorPoint.h.
References fP.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Particle ID [PDG].
Definition at line 62 of file CbmStsSensorPoint.h.
References fPid.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Time [ns].
Definition at line 58 of file CbmStsSensorPoint.h.
References fTime.
Referenced by CbmStsSimSensorDssd::CalculateResponse().
|
inline |
Entry x coordinate [cm].
Definition at line 50 of file CbmStsSensorPoint.h.
References fX1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit x coordinate [cm].
Definition at line 53 of file CbmStsSensorPoint.h.
References fX2.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Entry y coordinate [cm].
Definition at line 51 of file CbmStsSensorPoint.h.
References fY1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit y coordinate [cm].
Definition at line 54 of file CbmStsSensorPoint.h.
References fY2.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Entry z coordinate [cm].
Definition at line 52 of file CbmStsSensorPoint.h.
References fZ1.
Referenced by CbmStsSimSensorDssd::ProduceCharge().
|
inline |
Exit z coordinate [cm].
Definition at line 55 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 79 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), and GetBx().
|
private |
Magnetic field y component at midpoint [T].
Definition at line 80 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetBy(), and ToString().
|
private |
Magnetic field z component at midpoint [T].
Definition at line 81 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), and GetBz().
|
private |
Energy deposit [GeV].
Definition at line 77 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetELoss(), and ToString().
|
private |
Momentum magnitude at entry point [GeV].
Definition at line 76 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetP(), and ToString().
|
private |
Particle Type [PDG code].
Definition at line 82 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetPid(), and ToString().
|
private |
Time [ns].
Definition at line 78 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetTime(), and ToString().
|
private |
Entry point x [cm].
Definition at line 70 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetX1(), and ToString().
|
private |
Exit point x [cm].
Definition at line 73 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetX2(), and ToString().
|
private |
Entry point y [cm].
Definition at line 71 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetY1(), and ToString().
|
private |
Exit point y [cm].
Definition at line 74 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetY2(), and ToString().
|
private |
Entry point z [cm].
Definition at line 72 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetZ1(), and ToString().
|
private |
Exit point z [cm].
Definition at line 75 of file CbmStsSensorPoint.h.
Referenced by CbmStsSensorPoint(), CbmStsSensorPoint(), GetZ2(), and ToString().