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();
189 VP1Msg::messageWarningAllRed(
"WARNING!!! --- The GeoVolume has name 'ITkPixel' but the flag 'hasITkGeometry' is false ---> CHECK IT!!");
194 GeoVolumeCursor pv(av.getVolume());
195 while (!pv.atEnd()) {
196 if (pv.getVolume()->getLogVol()->getName()==
"bcmModLog") {
207 VP1Msg::messageWarningAllRed(
"WARNING!!! --- The GeoVolume has name 'ITkStrip' but the flag 'hasITkGeometry' is false ---> CHECK IT!!");
222 GeoVolumeCursor pv(av.getVolume());
223 while (!pv.atEnd()) {
224 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)
static void messageWarningAllRed(const QString &str, IVP1System *sys=0)
bool retrieve(const T *&, const QString &key) const
bool contains(const QString &key) const