BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
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
27
class
CbmStsSensorDigiPar
:
public
TObject
28
{
29
public
:
30
/** Default constructor **/
31
CbmStsSensorDigiPar
();
32
33
/** Standard constructor. For the parameters, see description of
34
** private data members. Angles must be given in radians. **/
35
CbmStsSensorDigiPar
(
Int_t
iSensor,
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);
46
CbmStsSensorDigiPar
(
Int_t
iSensor,
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 **/
82
Int_t
fSensorNr
;
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 **/
88
Int_t
fType
;
89
90
/** x coordinate of sector centre in the station c.s. [cm] **/
91
Double_t
fX0
;
92
93
/** y coordinate of sector centre in the station c.s. [cm] **/
94
Double_t
fY0
;
95
96
/** z coordinate of sector centre in the global c.s. [cm] **/
97
Double_t
fZ0
;
98
99
/** Rotation angle around z axis in the station c.s [rad] **/
100
Double_t
fRotation
;
101
102
/** Length of sector along x axis [cm] **/
103
Double_t
fLx
;
104
105
/** Length of sector along y axis [cm] **/
106
Double_t
fLy
;
107
108
/** Strip readout pitch or pixel size along x [cm] **/
109
Double_t
fDx
;
110
111
/** Pixel size along y [cm]. Irrelevant for strip sensor. **/
112
Double_t
fDy
;
113
114
/** StereoB angle of back side strips. Irrelevant for pixel sensors. **/
115
Double_t
fStereoF
;
116
117
/** StereoF angle of front side strips. Irrelevant for pixel sensors. **/
118
Double_t
fStereoB
;
119
120
Double_t
fD
;
// thickness of the sector [cm]
121
122
ClassDef
(
CbmStsSensorDigiPar
, 1);
123
};
124
125
#endif
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TObject.h
CbmStsSensorDigiPar::fSensorNr
Int_t fSensorNr
Sensor number in station.
Definition
CbmStsSensorDigiPar.h:82
CbmStsSensorDigiPar::fType
Int_t fType
Type of sector.
Definition
CbmStsSensorDigiPar.h:88
CbmStsSensorDigiPar::GetZ0
Double_t GetZ0() const
Definition
CbmStsSensorDigiPar.h:68
CbmStsSensorDigiPar::GetType
Int_t GetType() const
Definition
CbmStsSensorDigiPar.h:65
CbmStsSensorDigiPar::GetDx
Double_t GetDx() const
Definition
CbmStsSensorDigiPar.h:73
CbmStsSensorDigiPar::fStereoB
Double_t fStereoB
StereoF angle of front side strips.
Definition
CbmStsSensorDigiPar.h:118
CbmStsSensorDigiPar::fD
Double_t fD
Definition
CbmStsSensorDigiPar.h:120
CbmStsSensorDigiPar::GetSensorNr
Int_t GetSensorNr() const
Accessors.
Definition
CbmStsSensorDigiPar.h:64
CbmStsSensorDigiPar::SetD
void SetD(Double_t d)
Definition
CbmStsSensorDigiPar.h:78
CbmStsSensorDigiPar::GetD
Double_t GetD() const
Definition
CbmStsSensorDigiPar.h:72
CbmStsSensorDigiPar::GetY0
Double_t GetY0() const
Definition
CbmStsSensorDigiPar.h:67
CbmStsSensorDigiPar::SetZ0
void SetZ0(Double_t z0)
Definition
CbmStsSensorDigiPar.h:77
CbmStsSensorDigiPar::GetLy
Double_t GetLy() const
Definition
CbmStsSensorDigiPar.h:71
CbmStsSensorDigiPar::GetRotation
Double_t GetRotation() const
Definition
CbmStsSensorDigiPar.h:69
CbmStsSensorDigiPar::GetDy
Double_t GetDy() const
Definition
CbmStsSensorDigiPar.h:74
CbmStsSensorDigiPar::fDy
Double_t fDy
Pixel size along y [cm].
Definition
CbmStsSensorDigiPar.h:112
CbmStsSensorDigiPar::fX0
Double_t fX0
x coordinate of sector centre in the station c.s.
Definition
CbmStsSensorDigiPar.h:91
CbmStsSensorDigiPar::fZ0
Double_t fZ0
z coordinate of sector centre in the global c.s.
Definition
CbmStsSensorDigiPar.h:97
CbmStsSensorDigiPar::~CbmStsSensorDigiPar
virtual ~CbmStsSensorDigiPar()
Destructor.
Definition
CbmStsSensorDigiPar.cxx:155
CbmStsSensorDigiPar::fY0
Double_t fY0
y coordinate of sector centre in the station c.s.
Definition
CbmStsSensorDigiPar.h:94
CbmStsSensorDigiPar::CbmStsSensorDigiPar
CbmStsSensorDigiPar()
Default constructor.
Definition
CbmStsSensorDigiPar.cxx:16
CbmStsSensorDigiPar::fStereoF
Double_t fStereoF
StereoB angle of back side strips.
Definition
CbmStsSensorDigiPar.h:115
CbmStsSensorDigiPar::GetLx
Double_t GetLx() const
Definition
CbmStsSensorDigiPar.h:70
CbmStsSensorDigiPar::fDx
Double_t fDx
Strip readout pitch or pixel size along x [cm].
Definition
CbmStsSensorDigiPar.h:109
CbmStsSensorDigiPar::fRotation
Double_t fRotation
Rotation angle around z axis in the station c.s [rad].
Definition
CbmStsSensorDigiPar.h:100
CbmStsSensorDigiPar::fLy
Double_t fLy
Length of sector along y axis [cm].
Definition
CbmStsSensorDigiPar.h:106
CbmStsSensorDigiPar::fLx
Double_t fLx
Length of sector along x axis [cm].
Definition
CbmStsSensorDigiPar.h:103
CbmStsSensorDigiPar::GetStereoB
Double_t GetStereoB() const
Definition
CbmStsSensorDigiPar.h:76
CbmStsSensorDigiPar::GetX0
Double_t GetX0() const
Definition
CbmStsSensorDigiPar.h:66
CbmStsSensorDigiPar::GetStereoF
Double_t GetStereoF() const
Definition
CbmStsSensorDigiPar.h:75
TObject::TObject
TObject()
detectors
sts
CbmStsSensorDigiPar.h
Generated on
for BmnRoot by
1.17.0