ATLAS Offline Software
PixelSwitches.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PixelSwitches_H
6 #define PixelSwitches_H
7 
8 #include <string>
9 
10 // Class to hold the various switches and building options.
11 
13 {
14 
15 public:
16  PixelSwitches();
17 
18  // Do I want the services?
19  void setServices(bool flag);
20  bool services() const;
21 
22  // JBdV Do I want the services?
23  void setServicesOnLadder(bool flag);
24  bool servicesOnLadder() const;
25 
26  // Make elements compatible with G3 digits
27  void setG3CompatibleDigits(bool flag);
28  bool g3CompatibleDigits() const;
29 
30  // Initial layout (2nd layer missing)
31  void setInitialLayout(bool flag);
32  bool initialLayout() const;
33 
34  // DC1 Geometry. 300 um long pixels and 200 um thick sensor in B layer.
35  void setDC1Geometry(bool flag);
36  bool dc1Geometry() const;
37 
38  // Control whether callbacks get registered
39  void setAlignable(bool flag);
40  bool alignable() const;
41 
42  // IBL
43  void setIBL(bool flag = true);
44  bool ibl() const;
45 
46  // DBM
47  void setDBM(bool flag = false);
48  bool dbm() const;
49 
50  //dynamic alignment folders
51  void setDynamicAlignFolders(const bool useDynAlignFolders);
52  bool dynamicAlignFolders() const;
53 
54 private:
55 
56  // flag to build also the services
57  bool m_services;
58 
59  // JBdV flag to build also the servicesOnLadder
61 
62  // flag to make elements compatible with G3 digits
64 
65  // flag to indicate initial layout (2nd layer and disk missing)
67 
68  // flag to force B-layer to have 300um pixels and be 200um thick
70 
71  // control whether callbacks get registered
73 
74  // IBL
75  bool m_ibl;
76 
77  // DBM
78  bool m_dbm;
79 
80  //controls which set of alignment folders is used
82 };
83 
84 #endif // PixelSwitches_H
85 
86 
87 
88 
PixelSwitches
Definition: PixelSwitches.h:13
PixelSwitches::dc1Geometry
bool dc1Geometry() const
Definition: PixelSwitches.cxx:34
PixelSwitches::servicesOnLadder
bool servicesOnLadder() const
Definition: PixelSwitches.cxx:23
PixelSwitches::m_dbm
bool m_dbm
Definition: PixelSwitches.h:78
PixelSwitches::m_dynAlignFolders
bool m_dynAlignFolders
Definition: PixelSwitches.h:81
PixelSwitches::m_g3CompatibleDigits
bool m_g3CompatibleDigits
Definition: PixelSwitches.h:63
PixelSwitches::initialLayout
bool initialLayout() const
Definition: PixelSwitches.cxx:30
PixelSwitches::setDBM
void setDBM(bool flag=false)
Definition: PixelSwitches.cxx:43
PixelSwitches::g3CompatibleDigits
bool g3CompatibleDigits() const
Definition: PixelSwitches.cxx:26
PixelSwitches::m_alignable
bool m_alignable
Definition: PixelSwitches.h:72
master.flag
bool flag
Definition: master.py:29
PixelSwitches::alignable
bool alignable() const
Definition: PixelSwitches.cxx:38
PixelSwitches::m_servicesOnLadder
bool m_servicesOnLadder
Definition: PixelSwitches.h:60
PixelSwitches::setInitialLayout
void setInitialLayout(bool flag)
Definition: PixelSwitches.cxx:29
PixelSwitches::setServices
void setServices(bool flag)
Definition: PixelSwitches.cxx:19
PixelSwitches::m_dc1Geometry
bool m_dc1Geometry
Definition: PixelSwitches.h:69
PixelSwitches::setIBL
void setIBL(bool flag=true)
Definition: PixelSwitches.cxx:40
PixelSwitches::setServicesOnLadder
void setServicesOnLadder(bool flag)
Definition: PixelSwitches.cxx:22
PixelSwitches::PixelSwitches
PixelSwitches()
Definition: PixelSwitches.cxx:7
PixelSwitches::dbm
bool dbm() const
Definition: PixelSwitches.cxx:44
PixelSwitches::m_initialLayout
bool m_initialLayout
Definition: PixelSwitches.h:66
PixelSwitches::setDynamicAlignFolders
void setDynamicAlignFolders(const bool useDynAlignFolders)
Definition: PixelSwitches.cxx:46
PixelSwitches::m_ibl
bool m_ibl
Definition: PixelSwitches.h:75
PixelSwitches::m_services
bool m_services
Definition: PixelSwitches.h:57
PixelSwitches::services
bool services() const
Definition: PixelSwitches.cxx:20
PixelSwitches::setAlignable
void setAlignable(bool flag)
Definition: PixelSwitches.cxx:37
PixelSwitches::setDC1Geometry
void setDC1Geometry(bool flag)
Definition: PixelSwitches.cxx:33
PixelSwitches::ibl
bool ibl() const
Definition: PixelSwitches.cxx:41
PixelSwitches::dynamicAlignFolders
bool dynamicAlignFolders() const
Definition: PixelSwitches.cxx:47
PixelSwitches::setG3CompatibleDigits
void setG3CompatibleDigits(bool flag)
Definition: PixelSwitches.cxx:25