23#include "GeoModelKernel/GeoVolumeCursor.h"
101 "Will assume all subsystems are off in this job!");
147 const QString geomodelkey =
"ATLAS";
150 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
158 if (!sg_access.
retrieve(theExpt,geomodelkey)) {
160 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
167 const GeoPhysVol * worldPhysVol = theExpt->
getPhysVol();
169 VP1Msg::message(
"VP1JobConfigInfo: ERROR: GeoModelExperiment has null physical volume.");
177 PVConstLink world(worldPhysVol);
179 GeoVolumeCursor av(world);
182 while (!av.atEnd()) {
183 std::string name = av.getName();
191 GeoVolumeCursor pv(av.getVolume());
192 while (!pv.atEnd()) {
193 if (pv.getVolume()->getLogVol()->getName()==
"bcmModLog") {
218 GeoVolumeCursor pv(av.getVolume());
219 while (!pv.atEnd()) {
220 if (pv.getVolume()->getLogVol()->getName()==
"NewSmallWheel") {
defines an "iterator" over instances of a given type in StoreGateSvc
GeoPhysVol * getPhysVol()
Destructor.
The Athena Transient Store API.
static StoreGateSvc * detectorStore()
static bool hasCavernInfraGeometry
static bool hasBeamPipeGeometry
static bool hasGeoModelExperiment
static bool hasITkGeometry
static bool hasTRTGeometry
static bool hasLUCIDGeometry
static bool hasMuonGeometry
static bool hasMuonNSWGeometry
static bool hasPixelGeometry
static bool hasLArGeometry
static bool hasSCTGeometry
static bool hasTileGeometry
static bool hasBCMGeometry
static bool hasInDetServiceMaterialGeometry
static bool actualInit(StoreGateSvc *detStore)
static GeoPVConstLink geoModelWorld
static bool hasTileGeometry()
static bool hasTRTGeometry()
static bool hasInDetServiceMaterialGeometry()
static bool hasMuonNSWGeometry()
static bool hasLArGeometry()
static bool hasLUCIDGeometry()
static bool hasBCMGeometry()
static bool hasGeoModelExperiment()
static bool hasPixelGeometry()
static bool hasSCTGeometry()
static bool hasCavernInfraGeometry()
static bool hasITkGeometry()
static bool hasMuonGeometry()
static bool hasBeamPipeGeometry()
static const GeoPVConstLink * geoModelWorld()
static void messageVerbose(const QString &)
static void message(const QString &, IVP1System *sys=0)
bool retrieve(const T *&, const QString &key) const
bool contains(const QString &key) const