23#include "GeoModelKernel/GeoVolumeCursor.h"
100 "Will assume all subsystems are off in this job!");
146 const QString geomodelkey =
"ATLAS";
149 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
157 if (!sg_access.
retrieve(theExpt,geomodelkey)) {
159 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
166 const GeoPhysVol * worldPhysVol = theExpt->
getPhysVol();
168 VP1Msg::message(
"VP1JobConfigInfo: ERROR: GeoModelExperiment has null physical volume.");
176 PVConstLink world(worldPhysVol);
178 GeoVolumeCursor av(world);
181 while (!av.atEnd()) {
182 std::string name = av.getName();
190 GeoVolumeCursor pv(av.getVolume());
191 while (!pv.atEnd()) {
192 if (pv.getVolume()->getLogVol()->getName()==
"bcmModLog") {
217 GeoVolumeCursor pv(av.getVolume());
218 while (!pv.atEnd()) {
219 if (pv.getVolume()->getLogVol()->getName()==
"NewSmallWheel") {
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