ATLAS Offline Software
TileDetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TileDetectorTool_H
6 #define TileDetectorTool_H
7 
10 
11 #include <string>
12 
13 class StoreGateSvc;
15 
16 class TileDetectorTool final : public GeoModelTool
17 {
18  public:
19 
20  TileDetectorTool(const std::string& type,
21  const std::string& name,
22  const IInterface* parent);
23 
24  virtual ~TileDetectorTool() override final;
25 
26  virtual StatusCode create() override final;
27  virtual StatusCode clear() override final;
28 
29  bool isTestBeam() const { return m_switches.testBeam; }
30  bool isAddPlates() const { return m_switches.addPlatesToCell; }
31  int uShape() const { return m_switches.uShape; }
32 
33  private:
34 
37  void setSwitch(int & param, int value, const char * name);
38 
40  Gaudi::Property<std::vector<std::string>> m_volumes{this, "TopVolumes", {}, "List of top-level volumes where crack scintillators will be placed"};
41 
44  std::string m_geometryConfig; // FULL, SIMU, RECO
46 };
47 
48 #endif
TileDetectorTool::uShape
int uShape() const
Definition: TileDetectorTool.h:31
TileDetectorTool::m_volumes
Gaudi::Property< std::vector< std::string > > m_volumes
Definition: TileDetectorTool.h:40
athena.value
value
Definition: athena.py:122
TileSwitches::testBeam
bool testBeam
setting up testbeam geometry or ATLAS geometry
Definition: TileSwitches.h:31
TileDetectorTool::m_not_locked
bool m_not_locked
Definition: TileDetectorTool.h:42
GeoModelTool.h
TileDetectorTool::m_useNewFactory
bool m_useNewFactory
Definition: TileDetectorTool.h:43
TileDetectorTool::TileDetectorTool
TileDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileDetectorTool.cxx:39
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
TileSwitches::uShape
int uShape
0: simulation without U-shape 1: simulation with U-shape
Definition: TileSwitches.h:38
TileDetectorTool::m_switches
TileSwitches m_switches
Definition: TileDetectorTool.h:39
TileDetDescrManager
Definition: TileDetDescrManager.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileDetectorTool::create
virtual StatusCode create() override final
Definition: TileDetectorTool.cxx:83
TileSwitches
Definition: TileSwitches.h:15
TileDetectorTool::~TileDetectorTool
virtual ~TileDetectorTool() override final
Definition: TileDetectorTool.cxx:62
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoModelTool
Definition: GeoModelTool.h:17
TileDetectorTool::m_manager
TileDetDescrManager * m_manager
Definition: TileDetectorTool.h:45
TileDetectorTool::createElements
StatusCode createElements()
Definition: TileDetectorTool.cxx:242
TileSwitches::addPlatesToCell
bool addPlatesToCell
calculate cell volumes with or without front-plates and end-plates
Definition: TileSwitches.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TileDetectorTool::initIds
StatusCode initIds()
Definition: TileDetectorTool.cxx:216
TileDetectorTool::isAddPlates
bool isAddPlates() const
Definition: TileDetectorTool.h:30
TileSwitches.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileDetectorTool::isTestBeam
bool isTestBeam() const
Definition: TileDetectorTool.h:29
TileDetectorTool
Definition: TileDetectorTool.h:17
TileDetectorTool::setSwitch
void setSwitch(int &param, int value, const char *name)
Definition: TileDetectorTool.cxx:67
TileDetectorTool::clear
virtual StatusCode clear() override final
Definition: TileDetectorTool.cxx:205
TileDetectorTool::m_geometryConfig
std::string m_geometryConfig
Definition: TileDetectorTool.h:44