|
ATLAS Offline Software
|
Go to the documentation of this file.
46 #include "Identifier/Identifier.h"
52 static const T *
cachedRetrieve(
const T*& cachedPtr,
const char*
key,
const bool& configallows );
112 return ( cachedPtr==
bad? 0 : cachedPtr );
113 QString
key(preferredKey);
115 VP1Msg::messageDebug(
"VP1DetInfo WARNING: Will not attempt to get (type="+QString(
typeid(
T).
name())+
", key="+
key+
") due to missing/disabled features in job!");
123 VP1Msg::messageDebug(
"VP1DetInfo WARNING: Could not find (type="+QString(
typeid(
T).
name())+
") in detector store (expected key="+
key+
")");
127 if (
keys.count()>1) {
128 VP1Msg::messageDebug(
"VP1DetInfo WARNING: Could not find (type="+QString(
typeid(
T).
name())+
", key="+
key+
") in detector store, and could not uniquely guess at alternate key.");
132 VP1Msg::messageDebug(
"VP1DetInfo WARNING: Could not find (type="+QString(
typeid(
T).
name())+
", key="+
key+
") in detector store. Trying with key="+
keys.first()+
")");
172 if ( !idhelper || !
id.is_valid() )
182 }
else if (idhelper->
is_muon(
id)) {
185 }
else if (idhelper->
is_calo(
id)) {
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
bool is_pixel(Identifier id) const
static const InDetDD::PixelDetectorManager * m_pixelDetMgr
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
A manager class providing access to readout geometry information for the forward calorimeter.
static const MmIdHelper * mmIDHelper()
static const LArDetectorManager * m_larDetMgr
static const TileDetDescrManager * tileDetMgr()
A manager class providing access to readout geometry information for the electromagnetic endcap calor...
bool is_lar(Identifier id) const
bool is_sct(Identifier id) const
static const AtlasDetectorID * m_atlasIDHelper
static const EMBDetectorManager * m_embDetMgr
static bool hasTileGeometry()
static const CscIdHelper * m_cscIDHelper
static bool hasLArGeometry()
static const InDetDD::PixelDetectorManager * pixelDetMgr()
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
static const PixelID * pixelIDHelper()
static const CaloIdManager * caloIDMgr()
static const FCALDetectorManager * m_fcalDetMgr
static const EMBDetectorManager * embDetMgr()
static const sTgcIdHelper * stgcIDHelper()
static const AtlasDetectorID * atlasIDHelper()
static const EMECDetectorManager * m_emecDetMgr
bool is_trt(Identifier id) const
static const HECDetectorManager * hecDetMgr()
QStringList getKeys() const
static const FCALDetectorManager * fcalDetMgr()
static const TgcIdHelper * tgcIDHelper()
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
A manager class providing access to readout geometry information for the electromagnetic barrel calor...
static const EMECDetectorManager * emecDetMgr()
This class initializes the Calo (LAr and Tile) offline identifiers.
static const TileDetDescrManager * m_tileDetMgr
static const LArDetectorManager * larDetMgr()
static const InDetDD::SCT_DetectorManager * m_sctDetMgr
static const HECDetectorManager * m_hecDetMgr
static const InDetDD::TRT_DetectorManager * m_trtDetMgr
static bool hasSCTGeometry()
static const TRT_ID * m_trtIDHelper
bool is_tile(Identifier id) const
static const char m_badInitFlag
static const TgcIdHelper * m_tgcIDHelper
static const RpcIdHelper * rpcIDHelper()
Stored in storegate. Provides access to EMB, EMEC, HEC and FCAL Detector Managers....
static bool hasTRTGeometry()
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
bool is_calo(Identifier id) const
static const MmIdHelper * m_mmIDHelper
static const T * cachedRetrieve(const T *&cachedPtr, const char *key, const bool &configallows)
static const MuonGM::MuonDetectorManager * m_muonDetMgr
bool is_indet(Identifier id) const
static void messageVerbose(const QString &)
static bool isUnsafe(const Identifier &)
static const SCT_ID * sctIDHelper()
static const MdtIdHelper * mdtIDHelper()
static bool m_initialised
static const MuonGM::MuonDetectorManager * muonDetMgr()
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
static const TRT_ID * trtIDHelper()
static void messageDebug(const QString &)
bool is_muon(Identifier id) const
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
static const MdtIdHelper * m_mdtIDHelper
static const InDetDD::TRT_DetectorManager * trtDetMgr()
static const sTgcIdHelper * m_stgcIDHelper
static const RpcIdHelper * m_rpcIDHelper
static const PixelID * m_pixelIDHelper
static const CscIdHelper * cscIDHelper()
static bool hasMuonNSWGeometry()
static bool hasPixelGeometry()
static StoreGateSvc * detectorStore()
static bool hasMuonGeometry()
static const SCT_ID * m_sctIDHelper
static const CaloIdManager * m_caloIdMgr
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
static const InDetDD::SCT_DetectorManager * sctDetMgr()