ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class StoreGateSvc;
15
16class 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
35 StatusCode initIds();
36 StatusCode createElements();
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 --- A note: It's set to FULL by default in the constructor, and it seems that SIMU is never used in Athena code; also, the code that calls the TileAtlasFactory only checks if it's FULL or not: m_geometryConfig=='FULL' (RMB)
46};
47
48#endif
The Athena Transient Store API.
bool isTestBeam() const
virtual StatusCode create() override final
void setSwitch(int &param, int value, const char *name)
Gaudi::Property< std::vector< std::string > > m_volumes
virtual ~TileDetectorTool() override final
TileDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
TileDetDescrManager * m_manager
StatusCode createElements()
bool isAddPlates() const
TileSwitches m_switches
std::string m_geometryConfig
virtual StatusCode clear() override final