CbmRoot
CbmStsSensorPoint.h
Go to the documentation of this file.
1 
6 #ifndef CBMSTSSENSORPOINT_H
7 #define CBMSTSSENSORPOINT_H 1
8 
9 #include "Rtypes.h"
10 #include <string>
11 
20 
21 public:
24 
25 
37  CbmStsSensorPoint(Double_t x1,
38  Double_t y1,
39  Double_t z1,
40  Double_t x2,
41  Double_t y2,
42  Double_t z2,
43  Double_t p,
44  Double_t eLoss,
45  Double_t time,
46  Double_t bx = 0.,
47  Double_t by = 0.,
48  Double_t bz = 0.,
49  Int_t pid = 0);
50 
52  virtual ~CbmStsSensorPoint();
53 
54 
55  // --- Accessors --- //
56  Double_t GetX1() const { return fX1; }
57  Double_t GetY1() const { return fY1; }
58  Double_t GetZ1() const { return fZ1; }
59  Double_t GetX2() const { return fX2; }
60  Double_t GetY2() const { return fY2; }
61  Double_t GetZ2() const { return fZ2; }
62  Double_t GetP() const { return fP; }
63  Double_t GetELoss() const { return fELoss; }
64  Double_t GetTime() const { return fTime; }
65  Double_t GetBx() const { return fBx; }
66  Double_t GetBy() const { return fBy; }
67  Double_t GetBz() const { return fBz; }
68  Int_t GetPid() const { return fPid; }
69 
70 
72  std::string ToString() const;
73 
74 
75 private:
76  Double_t fX1;
77  Double_t fY1;
78  Double_t fZ1;
79  Double_t fX2;
80  Double_t fY2;
81  Double_t fZ2;
82  Double_t fP;
83  Double_t fELoss;
84  Double_t fTime;
85  Double_t fBx;
86  Double_t fBy;
87  Double_t fBz;
88  Int_t fPid;
89 
90 
92 };
93 
94 #endif /* CBMSTSSENSORPOINT_H */
CbmStsSensorPoint::GetBz
Double_t GetBz() const
Bz-Field at midpoint [T].
Definition: CbmStsSensorPoint.h:67
CbmStsSensorPoint::fY2
Double_t fY2
Exit point y [cm].
Definition: CbmStsSensorPoint.h:80
CbmStsSensorPoint::ToString
std::string ToString() const
Definition: CbmStsSensorPoint.cxx:66
CbmStsSensorPoint::fP
Double_t fP
Momentum magnitude at entry point [GeV].
Definition: CbmStsSensorPoint.h:82
CbmStsSensorPoint::GetX2
Double_t GetX2() const
Exit x coordinate [cm].
Definition: CbmStsSensorPoint.h:59
CbmStsSensorPoint::GetTime
Double_t GetTime() const
Time [ns].
Definition: CbmStsSensorPoint.h:64
CbmStsSensorPoint::fTime
Double_t fTime
Time [ns].
Definition: CbmStsSensorPoint.h:84
CbmStsSensorPoint::fY1
Double_t fY1
Entry point y [cm].
Definition: CbmStsSensorPoint.h:77
CbmStsSensorPoint::fZ2
Double_t fZ2
Exit point z [cm].
Definition: CbmStsSensorPoint.h:81
CbmStsSensorPoint
Container class for a local point in a STS sensor.
Definition: CbmStsSensorPoint.h:19
CbmStsSensorPoint::GetY2
Double_t GetY2() const
Exit y coordinate [cm].
Definition: CbmStsSensorPoint.h:60
CbmStsSensorPoint::fELoss
Double_t fELoss
Energy deposit [GeV].
Definition: CbmStsSensorPoint.h:83
CbmStsSensorPoint::GetX1
Double_t GetX1() const
Entry x coordinate [cm].
Definition: CbmStsSensorPoint.h:56
CbmStsSensorPoint::fBy
Double_t fBy
Magnetic field y component at midpoint [T].
Definition: CbmStsSensorPoint.h:86
z2
Double_t z2[nSects2]
Definition: pipe_v16a_mvdsts100.h:11
CbmStsSensorPoint::GetPid
Int_t GetPid() const
Particle ID [PDG].
Definition: CbmStsSensorPoint.h:68
CbmStsSensorPoint::~CbmStsSensorPoint
virtual ~CbmStsSensorPoint()
Definition: CbmStsSensorPoint.cxx:31
CbmStsSensorPoint::GetZ2
Double_t GetZ2() const
Exit z coordinate [cm].
Definition: CbmStsSensorPoint.h:61
CbmStsSensorPoint::GetBy
Double_t GetBy() const
By-Field at midpoint [T].
Definition: CbmStsSensorPoint.h:66
CbmStsSensorPoint::fZ1
Double_t fZ1
Entry point z [cm].
Definition: CbmStsSensorPoint.h:78
CbmStsSensorPoint::fX1
Double_t fX1
Entry point x [cm].
Definition: CbmStsSensorPoint.h:76
CbmStsSensorPoint::fBz
Double_t fBz
Magnetic field z component at midpoint [T].
Definition: CbmStsSensorPoint.h:87
CbmStsSensorPoint::GetELoss
Double_t GetELoss() const
Energy loss [GeV].
Definition: CbmStsSensorPoint.h:63
CbmStsSensorPoint::GetBx
Double_t GetBx() const
Bx-Field at midpoint [T].
Definition: CbmStsSensorPoint.h:65
CbmStsSensorPoint::GetP
Double_t GetP() const
Momentum magnitude.
Definition: CbmStsSensorPoint.h:62
CbmStsSensorPoint::GetZ1
Double_t GetZ1() const
Entry z coordinate [cm].
Definition: CbmStsSensorPoint.h:58
CbmStsSensorPoint::fX2
Double_t fX2
Exit point x [cm].
Definition: CbmStsSensorPoint.h:79
CbmStsSensorPoint::GetY1
Double_t GetY1() const
Entry y coordinate [cm].
Definition: CbmStsSensorPoint.h:57
CbmStsSensorPoint::fPid
Int_t fPid
Particle Type [PDG code].
Definition: CbmStsSensorPoint.h:88
CbmStsSensorPoint::fBx
Double_t fBx
Magnetic field x component at midpoint [T].
Definition: CbmStsSensorPoint.h:85
z1
Double_t z1[nSects1]
Definition: pipe_v16a_mvdsts100.h:6
CbmStsSensorPoint::CbmStsSensorPoint
CbmStsSensorPoint()
Definition: CbmStsSensorPoint.cxx:13
CbmStsSensorPoint::ClassDef
ClassDef(CbmStsSensorPoint, 2)