BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h
Go to the documentation of this file.
1
/* Class MdcCosLayer describes the sense layer property */
2
/* Created by Wu Linghui, 2006/05/28 */
3
4
#ifndef MDCCOSLAYER_H
5
#define MDCCOSLAYER_H
6
7
class
MdcCosLayer
{
8
public
:
9
/* /\* constructor *\/ */
10
/* MdcCosLayer(); */
11
12
/* /\* destructor *\/ */
13
/* ~MdcCosLayer(); */
14
15
/* get layer type, 0 for axial, 1 for stereo-, 2 for stereo+ */
16
int
getLayerType
()
const
{
return
m_typ; }
17
18
/* get the number of cells in the layer */
19
int
getNcell
()
const
{
return
m_ncell; }
20
21
/* get layer radius and the endplate */
22
double
getLayerRad
()
const
{
return
m_rad; }
23
24
/* get wire length in the layer in z direction, [mm] */
25
double
getLength
()
const
{
return
m_length; }
26
27
/* get number of twist cells */
28
double
getTwistCell
()
const
{
return
m_twist; }
29
30
/* get slant angle */
31
double
getSlant
()
const
{
return
m_slant; }
32
33
/* get the index of the alignment parameter */
34
int
getAlignParId
(
int
i)
const
{
return
m_iAlignPar[i]; }
35
36
/* get flag of inner chamber, true for inner, false for outer */
37
bool
isInner
()
const
{
return
m_fginner; }
38
39
40
/* set layer type, 0 for axial, 1 for stereo-, 2 for stereo+ */
41
void
setLayerType
(
int
type) { m_typ = type; }
42
43
/* set the number of cells in the layer */
44
void
setNcell
(
int
ncell) { m_ncell = ncell; }
45
46
/* set layer radius and the endplate */
47
void
setLayerRad
(
double
rad
) { m_rad =
rad
; }
48
49
/* set wire length in the layer in z direction, [mm] */
50
void
setLength
(
double
length) { m_length = length; }
51
52
/* set number of twist cells */
53
void
setTwistCell
(
double
twist) { m_twist = twist; }
54
55
/* set slant angle */
56
void
setSlant
(
double
slant) { m_slant = slant; }
57
58
/* set flag of inner chamber, true for inner, false for outer */
59
void
setFgInner
(
bool
fginner) { m_fginner = fginner; }
60
61
/* set the index of the alignment parameter */
62
void
setAlignParId
(
int
ipar[]);
63
64
private
:
65
/* std::string m_fname; */
66
/* MdcCosWire* m_wire[WIRENMAX]; */
67
/* int m_wiretable[LAYERNMAX][CELLNMAX]; */
68
69
int
m_typ;
70
int
m_ncell;
71
int
m_iAlignPar[6];
72
double
m_rad;
73
double
m_length;
74
double
m_twist;
75
double
m_slant;
76
bool
m_fginner;
77
78
};
79
80
inline
void
MdcCosLayer::setAlignParId
(
int
ipar[]){
81
for
(
int
i=0; i<6; i++){
82
m_iAlignPar[i] = ipar[i];
83
}
84
}
85
86
#endif
/* MDCCOSLAYER_H */
MdcCosLayer
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:7
MdcCosLayer::setTwistCell
void setTwistCell(double twist)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:53
MdcCosLayer::setAlignParId
void setAlignParId(int ipar[])
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:80
MdcCosLayer::getLayerRad
double getLayerRad() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:22
MdcCosLayer::setFgInner
void setFgInner(bool fginner)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:59
MdcCosLayer::getNcell
int getNcell() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:19
MdcCosLayer::setLayerType
void setLayerType(int type)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:41
MdcCosLayer::setNcell
void setNcell(int ncell)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:44
MdcCosLayer::setLayerRad
void setLayerRad(double rad)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:47
MdcCosLayer::getAlignParId
int getAlignParId(int i) const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:34
MdcCosLayer::setLength
void setLength(double length)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:50
MdcCosLayer::getSlant
double getSlant() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:31
MdcCosLayer::setSlant
void setSlant(double slant)
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:56
MdcCosLayer::getLength
double getLength() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:25
MdcCosLayer::isInner
bool isInner() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:37
MdcCosLayer::getTwistCell
double getTwistCell() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:28
MdcCosLayer::getLayerType
int getLayerType() const
Definition
MdcAlignAlg/MdcAlignAlg-00-02-00/share/distAlign/src/include/MdcCosLayer.h:16
rad
const float rad
Definition
vector3.h:134
7.1.2
Mdc
MdcAlignAlg
MdcAlignAlg-00-02-00
share
distAlign
src
include
MdcCosLayer.h
Generated by
1.12.0