ATLAS Offline Software
InnerDetector
InDetDetDescr
SCT_GeoModel
src
SCT_Options.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
SCT_GeoModel/SCT_Options.h
"
6
7
SCT_Options::SCT_Options
()
8
: m_g3Compatible(false),
9
m_dc1Geometry(false),
10
m_dc2Geometry(true),
11
m_alignable(true),
12
m_alignModule(true),
13
m_dynAlignFolders(false)
14
{}
15
16
void
17
SCT_Options::setG3Compatible
(
bool
flag
)
18
{
19
m_g3Compatible
=
flag
;
20
if
(
flag
)
setDC1Geometry
();
21
}
22
23
bool
24
SCT_Options::g3Compatible
()
const
25
{
26
return
m_g3Compatible
;
27
}
28
29
void
30
SCT_Options::setDC1Geometry
()
31
{
32
m_dc1Geometry
=
true
;
33
m_dc2Geometry
=
false
;
34
}
35
36
bool
37
SCT_Options::versionDC1
()
const
38
{
39
return
m_dc1Geometry
;
40
}
41
42
void
43
SCT_Options::setDC2Geometry
()
44
{
45
m_dc1Geometry
=
false
;
46
m_dc2Geometry
=
true
;
47
m_g3Compatible
=
false
;
48
}
49
50
bool
51
SCT_Options::versionDC2
()
const
52
{
53
return
m_dc2Geometry
;
54
}
55
56
void
57
SCT_Options::setAlignable
(
bool
flag
)
58
{
59
m_alignable
=
flag
;
60
}
61
62
bool
63
SCT_Options::alignable
()
const
64
{
65
return
m_alignable
;
66
}
67
68
void
69
SCT_Options::setAlignAtModuleLevel
(
bool
flag
)
70
{
71
m_alignModule
=
flag
;
72
}
73
74
bool
75
SCT_Options::alignAtModuleLevel
()
const
76
{
77
return
m_alignModule
;
78
}
79
80
void
SCT_Options::setDynamicAlignFolders
(
const
bool
flag
)
81
{
82
m_dynAlignFolders
=
flag
;
83
}
84
85
bool
SCT_Options::dynamicAlignFolders
()
const
86
{
87
return
m_dynAlignFolders
;
88
}
SCT_Options::m_g3Compatible
bool m_g3Compatible
Definition:
SCT_Options.h:34
SCT_Options::setG3Compatible
void setG3Compatible(bool flag=true)
Definition:
SCT_Options.cxx:17
SCT_Options::m_dynAlignFolders
bool m_dynAlignFolders
Definition:
SCT_Options.h:39
SCT_Options::alignable
bool alignable() const
Definition:
SCT_Options.cxx:63
SCT_Options::m_dc1Geometry
bool m_dc1Geometry
Definition:
SCT_Options.h:35
SCT_Options::setAlignable
void setAlignable(bool flag=true)
Definition:
SCT_Options.cxx:57
SCT_Options::versionDC2
bool versionDC2() const
Definition:
SCT_Options.cxx:51
SCT_Options.h
SCT_Options::g3Compatible
bool g3Compatible() const
Definition:
SCT_Options.cxx:24
SCT_Options::SCT_Options
SCT_Options()
Definition:
SCT_Options.cxx:7
SCT_Options::versionDC1
bool versionDC1() const
Definition:
SCT_Options.cxx:37
SCT_Options::setDynamicAlignFolders
void setDynamicAlignFolders(const bool flag=true)
Definition:
SCT_Options.cxx:80
SCT_Options::setAlignAtModuleLevel
void setAlignAtModuleLevel(bool flag=true)
Definition:
SCT_Options.cxx:69
master.flag
bool flag
Definition:
master.py:29
SCT_Options::setDC1Geometry
void setDC1Geometry()
Definition:
SCT_Options.cxx:30
SCT_Options::m_alignable
bool m_alignable
Definition:
SCT_Options.h:37
SCT_Options::alignAtModuleLevel
bool alignAtModuleLevel() const
Definition:
SCT_Options.cxx:75
SCT_Options::m_alignModule
bool m_alignModule
Definition:
SCT_Options.h:38
SCT_Options::m_dc2Geometry
bool m_dc2Geometry
Definition:
SCT_Options.h:36
SCT_Options::setDC2Geometry
void setDC2Geometry()
Definition:
SCT_Options.cxx:43
SCT_Options::dynamicAlignFolders
bool dynamicAlignFolders() const
Definition:
SCT_Options.cxx:85
Generated on Thu Nov 7 2024 21:25:32 for ATLAS Offline Software by
1.8.18