23#include "GeoModelKernel/GeoVolumeCursor.h"
103 "Will assume all subsystems are off in this job!");
151 const QString geomodelkey =
"ATLAS";
154 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
162 if (!sg_access.
retrieve(theExpt,geomodelkey)) {
164 VP1Msg::messageVerbose(
"VP1JobConfigInfo: No GeoModelExperiment in detectorStore. Concluding all subsystems are off.");
171 const GeoPhysVol * worldPhysVol = theExpt->
getPhysVol();
173 VP1Msg::message(
"VP1JobConfigInfo: ERROR: GeoModelExperiment has null physical volume.");
181 PVConstLink world(worldPhysVol);
183 GeoVolumeCursor av(world);
186 while (!av.atEnd()) {
187 std::string name = av.getName();
195 VP1Msg::messageWarningAllRed(
"WARNING!!! --- The GeoVolume has name 'ITkPixel' but the flag 'hasITkGeometry' is false ---> CHECK IT!!");
200 GeoVolumeCursor pv(av.getVolume());
201 while (!pv.atEnd()) {
202 if (pv.getVolume()->getLogVol()->getName()==
"bcmModLog") {
213 VP1Msg::messageWarningAllRed(
"WARNING!!! --- The GeoVolume has name 'ITkStrip' but the flag 'hasITkGeometry' is false ---> CHECK IT!!");
228 GeoVolumeCursor pv(av.getVolume());
229 while (!pv.atEnd()) {
230 if (pv.getVolume()->getLogVol()->getName()==
"NewSmallWheel") {
GeoPhysVol * getPhysVol()
Destructor.
The Athena Transient Store API.
static StoreGateSvc * detectorStore()
static bool hasCavernInfraGeometry
static bool hasHGTDGeometry
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 hasHGTDGeometry()
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