BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsSensorDigiPar.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsSensorDigiPar header file -----
3// ----- Created 01/07/2008 by R. Karabowicz -----
4// -------------------------------------------------------------------------
5
6/** CbmStsSensorDigiPar.h
7 *@author V.Friese <v.friese@gsi.de>
8 **
9 ** Parameter container for the digitisation of a sensor of a STS
10 ** strip station.
11 ** Supports the following digitisation types:
12 ** 1 = hybrid pixel
13 ** 2 = strip, readout of all strips
14 ** 3 = strip, readout at bottom corner, double metal layer
15 ** Coordinates and rot. angle are in the global coordinate system.
16 ** In the internal coordinate system, x is across the front side strips
17 ** and y along the front side strips. Irrelevant for pixel detectors.
18 ** Angles are stored and accessed in radians, but must be given in
19 ** degrees in the constructor.
20 **/
21
22#ifndef CBMSTSSENSORDIGIPAR_H
23#define CBMSTSSENSORDIGIPAR_H 1
24
25#include "TObject.h"
26
28{
29 public:
30 /** Default constructor **/
32
33 /** Standard constructor. For the parameters, see description of
34 ** private data members. Angles must be given in radians. **/
36 Int_t iType,
37 Double_t x0,
38 Double_t y0,
39 Double_t rotation,
40 Double_t lx,
41 Double_t ly,
42 Double_t dx,
43 Double_t dy,
44 Double_t stereoF,
45 Double_t stereoB);
47 Int_t iType,
48 Double_t x0,
49 Double_t y0,
50 Double_t z0,
51 Double_t rotation,
52 Double_t lx,
53 Double_t ly,
54 Double_t d,
55 Double_t dx,
56 Double_t dy,
57 Double_t stereoF,
58 Double_t stereoB);
59
60 /** Destructor **/
61 virtual ~CbmStsSensorDigiPar();
62
63 /** Accessors. See private data members for description **/
64 Int_t GetSensorNr() const { return fSensorNr; }
65 Int_t GetType() const { return fType; } // 1, 2 or 3
66 Double_t GetX0() const { return fX0; } // [cm]
67 Double_t GetY0() const { return fY0; } // [cm]
68 Double_t GetZ0() const { return fZ0; } // [cm]
69 Double_t GetRotation() const { return fRotation; } // [rad]
70 Double_t GetLx() const { return fLx; } // [cm]
71 Double_t GetLy() const { return fLy; } // [cm]
72 Double_t GetD() const { return fD; }
73 Double_t GetDx() const { return fDx; } // [cm]
74 Double_t GetDy() const { return fDy; } // [cm]
75 Double_t GetStereoF() const { return fStereoF; } // [rad]
76 Double_t GetStereoB() const { return fStereoB; } // [rad]
77 void SetZ0(Double_t z0) { fZ0 = z0; } // [cm]
78 void SetD(Double_t d) { fD = d; } // [cm]
79
80 private:
81 /** Sensor number in station **/
83
84 /** Type of sector.
85 ** 1 = hybrid pixel sensor, no charge sharing;
86 ** 2 = strip sensor, readout of all strips on the back side
87 ** 3 = strip sensor, readout at bottom corner, double metal layer **/
89
90 /** x coordinate of sector centre in the station c.s. [cm] **/
92
93 /** y coordinate of sector centre in the station c.s. [cm] **/
95
96 /** z coordinate of sector centre in the global c.s. [cm] **/
98
99 /** Rotation angle around z axis in the station c.s [rad] **/
101
102 /** Length of sector along x axis [cm] **/
104
105 /** Length of sector along y axis [cm] **/
107
108 /** Strip readout pitch or pixel size along x [cm] **/
110
111 /** Pixel size along y [cm]. Irrelevant for strip sensor. **/
113
114 /** StereoB angle of back side strips. Irrelevant for pixel sensors. **/
116
117 /** StereoF angle of front side strips. Irrelevant for pixel sensors. **/
119
120 Double_t fD; // thickness of the sector [cm]
121
123};
124
125#endif
int Int_t
double Double_t
#define ClassDef(name, id)
Int_t fSensorNr
Sensor number in station.
Int_t fType
Type of sector.
Double_t fStereoB
StereoF angle of front side strips.
Int_t GetSensorNr() const
Accessors.
void SetZ0(Double_t z0)
Double_t GetRotation() const
Double_t fDy
Pixel size along y [cm].
Double_t fX0
x coordinate of sector centre in the station c.s.
Double_t fZ0
z coordinate of sector centre in the global c.s.
virtual ~CbmStsSensorDigiPar()
Destructor.
Double_t fY0
y coordinate of sector centre in the station c.s.
CbmStsSensorDigiPar()
Default constructor.
Double_t fStereoF
StereoB angle of back side strips.
Double_t fDx
Strip readout pitch or pixel size along x [cm].
Double_t fRotation
Rotation angle around z axis in the station c.s [rad].
Double_t fLy
Length of sector along y axis [cm].
Double_t fLx
Length of sector along x axis [cm].
Double_t GetStereoB() const
Double_t GetStereoF() const