|
ATLAS Offline Software
|
#include <TileDetectorTool.h>
Definition at line 16 of file TileDetectorTool.h.
◆ TileDetectorTool()
TileDetectorTool::TileDetectorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TileDetectorTool()
TileDetectorTool::~TileDetectorTool |
( |
| ) |
|
|
finaloverridevirtual |
◆ align()
◆ ATLAS_NOT_THREAD_SAFE()
virtual StatusCode registerCallback GeoModelTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtualinherited |
◆ clear()
StatusCode TileDetectorTool::clear |
( |
| ) |
|
|
finaloverridevirtual |
◆ create()
StatusCode TileDetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 83 of file TileDetectorTool.cxx.
89 SmartIF<IGeoModelSvc> geoModel{service(
"GeoModelSvc")};
92 std::string atlasVersion = geoModel->atlasVersion();
93 std::string tileVersion = geoModel->tileVersionOverride();
95 std::string versionTag = tileVersion.empty()? atlasVersion : tileVersion;
96 std::string versionNode = tileVersion.empty()?
"ATLAS" :
"TileCal";
98 if (versionTag ==
"AUTO") {
99 versionTag =
"TileCal-00";
100 versionNode =
"TileCal";
102 if (atlasVersion.compare(0,9,
"ATLAS-CTB") == 0 || tileVersion.compare(0,6,
"TileTB") == 0) {
103 ATH_MSG_INFO(
"CTB geometry detected: " << atlasVersion <<
" " << tileVersion);
121 GeoModelIO::ReadGeoModel* sqliteReader = geoDbTag->getSqliteReader();
125 bool sqliteInput =
false;
126 if (sqliteReader) sqliteInput =
true;
132 ATH_MSG_WARNING(
"New TileAtlasFactory can not be used because TileGlobals do not exist in Database");
155 accessSvc.operator->(),
159 theTileFactoryLite.
create(world);
167 TileCablingService::getInstance_nc()->setTestBeam(
true);
169 theTileTBFactory.
create(world);
174 std::vector<GeoPhysVol *> volumePtrs;
175 std::vector<double> volumePositions;
177 theTileFactory.
create(world);
181 theTileFactory.
create(world);
197 return StatusCode::SUCCESS;
201 return StatusCode::FAILURE;
◆ createElements()
StatusCode TileDetectorTool::createElements |
( |
| ) |
|
|
private |
◆ initIds()
StatusCode TileDetectorTool::initIds |
( |
| ) |
|
|
private |
Definition at line 216 of file TileDetectorTool.cxx.
234 ATH_MSG_ERROR(
"Could not get instance of TileCablingService");
235 return StatusCode::FAILURE;
238 return StatusCode::SUCCESS;
◆ isAddPlates()
bool TileDetectorTool::isAddPlates |
( |
| ) |
const |
|
inline |
◆ isTestBeam()
bool TileDetectorTool::isTestBeam |
( |
| ) |
const |
|
inline |
◆ manager() [1/2]
GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
|
|
virtualinherited |
The Detector Node corresponding to this tool.
Definition at line 21 of file GeoModelTool.cxx.
◆ manager() [2/2]
const GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
const |
|
virtualinherited |
◆ setSwitch()
void TileDetectorTool::setSwitch |
( |
int & |
param, |
|
|
int |
value, |
|
|
const char * |
name |
|
) |
| |
|
private |
◆ uShape()
int TileDetectorTool::uShape |
( |
| ) |
const |
|
inline |
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
◆ m_geometryConfig
std::string TileDetectorTool::m_geometryConfig |
|
private |
◆ m_manager
◆ m_not_locked
bool TileDetectorTool::m_not_locked |
|
private |
◆ m_switches
◆ m_useNewFactory
bool TileDetectorTool::m_useNewFactory |
|
private |
◆ m_volumes
Gaudi::Property<std::vector<std::string> > TileDetectorTool::m_volumes {this, "TopVolumes", {}, "List of top-level volumes where crack scintillators will be placed"} |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
GeoPhysVol * getPhysVol()
Destructor.
virtual void create(GeoPhysVol *world) override
Creation of Test Beam Tile geometry.
std::shared_ptr< TileDddbManager > TileDddbManager_ptr
static const TileCablingService * getInstance()
get pointer to service instance
virtual void create(GeoPhysVol *world)
Creation of Tile geometry.
bool testBeam
setting up testbeam geometry or ATLAS geometry
int steel
0: Absorber is pure Iron 1: Absorber is tile::Steel defined in DB
Helper class for TileCal online (hardware) identifiers.
int uShape
0: simulation without U-shape 1: simulation with U-shape
int glue
0: glue layer is removed and replaced by iron, 1: simulation with glue, 2: glue is replaced by iron +...
virtual void create(GeoPhysVol *world)
Creation of Tile geometry.
msgSvc
Provide convenience handles for various services.
Helper class for TileCal offline identifiers.
virtual void create(GeoPhysVol *world)
Creation of Tile geometry.
Default, invalid implementation of ClassID_traits.
void set_helper(const TileID *id)
Definition of the TileDetectorFactoryLite class. The TileDetectorFactoryLite is invoked by the TileDe...
#define CHECK(...)
Evaluate an expression and check for errors.
Helper class for offline cell identifiers.
int csTube
0: without Cesium tubes 1: with cesium tubes
bool addPlatesToCell
calculate cell volumes with or without front-plates and end-plates
void addManager(const GeoVDetectorManager *)
int crackOption
0: crack scintillators in ext.barrel top-level envelopes 1: crack scintillators in separate TileCal t...
#define ATH_MSG_WARNING(x)
int pvt
0: all scintillators are polystyrene 1: crack scrintillators are PVT, others - polystyrene
#define ATLAS_THREAD_SAFE
This class provides access to constants in the Geometry DB.