ATLAS Offline Software
Loading...
Searching...
No Matches
VP1DetInfo Class Reference

#include <VP1DetInfo.h>

Collaboration diagram for VP1DetInfo:

Classes

class  Imp

Static Public Member Functions

static void ensureInit (IVP1System *)
static void ensureInit (StoreGateSvc *)
static const InDetDD::PixelDetectorManager * pixelDetMgr ()
static const InDetDD::SCT_DetectorManager * sctDetMgr ()
static const InDetDD::TRT_DetectorManager * trtDetMgr ()
static const MuonGM::MuonDetectorManager * muonDetMgr ()
static const TileDetDescrManager * tileDetMgr ()
static const EMBDetectorManager * embDetMgr ()
static const HECDetectorManager * hecDetMgr ()
static const EMECDetectorManager * emecDetMgr ()
static const LArDetectorManager * larDetMgr ()
static const FCALDetectorManager * fcalDetMgr ()
static const CaloIdManager * caloIDMgr ()
static const AtlasDetectorID * atlasIDHelper ()
static const CscIdHelper * cscIDHelper ()
static const RpcIdHelper * rpcIDHelper ()
static const TgcIdHelper * tgcIDHelper ()
static const sTgcIdHelper * stgcIDHelper ()
static const MmIdHelper * mmIDHelper ()
static const MdtIdHelper * mdtIDHelper ()
static const PixelID * pixelIDHelper ()
static const SCT_ID * sctIDHelper ()
static const TRT_ID * trtIDHelper ()
static bool isUnsafe (const Identifier &)

Private Member Functions

 VP1DetInfo ()
 ~VP1DetInfo ()

Detailed Description

Definition at line 47 of file VP1DetInfo.h.

Constructor & Destructor Documentation

◆ VP1DetInfo()

VP1DetInfo::VP1DetInfo ( )
inlineprivate

Definition at line 91 of file VP1DetInfo.h.

91{}

◆ ~VP1DetInfo()

VP1DetInfo::~VP1DetInfo ( )
inlineprivate

Definition at line 92 of file VP1DetInfo.h.

92{}

Member Function Documentation

◆ atlasIDHelper()

const AtlasDetectorID * VP1DetInfo::atlasIDHelper ( )
static

Definition at line 157 of file VP1DetInfo.cxx.

157{ return Imp::cachedRetrieve(Imp::m_atlasIDHelper,"AtlasID",true); }
static const T * cachedRetrieve(const T *&cachedPtr, const char *key, const bool &configallows)
static const AtlasDetectorID * m_atlasIDHelper

◆ caloIDMgr()

const CaloIdManager * VP1DetInfo::caloIDMgr ( )
static

Definition at line 155 of file VP1DetInfo.cxx.

static const CaloIdManager * m_caloIdMgr
static bool hasTileGeometry()
static bool hasLArGeometry()

◆ cscIDHelper()

const CscIdHelper * VP1DetInfo::cscIDHelper ( )
static

Definition at line 158 of file VP1DetInfo.cxx.

static const CscIdHelper * m_cscIDHelper
static bool hasMuonGeometry()

◆ embDetMgr()

const EMBDetectorManager * VP1DetInfo::embDetMgr ( )
static

Definition at line 150 of file VP1DetInfo.cxx.

static const EMBDetectorManager * m_embDetMgr

◆ emecDetMgr()

const EMECDetectorManager * VP1DetInfo::emecDetMgr ( )
static

Definition at line 152 of file VP1DetInfo.cxx.

static const EMECDetectorManager * m_emecDetMgr

◆ ensureInit() [1/2]

void VP1DetInfo::ensureInit ( IVP1System * )
inlinestatic

Definition at line 49 of file VP1DetInfo.h.

49{}

◆ ensureInit() [2/2]

void VP1DetInfo::ensureInit ( StoreGateSvc * )
inlinestatic

Definition at line 50 of file VP1DetInfo.h.

50{}

◆ fcalDetMgr()

const FCALDetectorManager * VP1DetInfo::fcalDetMgr ( )
static

Definition at line 154 of file VP1DetInfo.cxx.

static const FCALDetectorManager * m_fcalDetMgr

◆ hecDetMgr()

const HECDetectorManager * VP1DetInfo::hecDetMgr ( )
static

Definition at line 151 of file VP1DetInfo.cxx.

static const HECDetectorManager * m_hecDetMgr

◆ isUnsafe()

bool VP1DetInfo::isUnsafe ( const Identifier & id)
static

Definition at line 169 of file VP1DetInfo.cxx.

169 {
170
171 const AtlasDetectorID * idhelper = atlasIDHelper();
172 if ( !idhelper || !id.is_valid() )
173 return true;
174
175 if (idhelper->is_indet(id)) {
176 if (!VP1JobConfigInfo::hasTRTGeometry() && idhelper->is_trt(id))
177 return true;
178 if (!VP1JobConfigInfo::hasPixelGeometry() && idhelper->is_pixel(id))
179 return true;
180 if (!VP1JobConfigInfo::hasSCTGeometry() && idhelper->is_sct(id))
181 return true;
182 } else if (idhelper->is_muon(id)) {
184 return true;
185 } else if (idhelper->is_calo(id)) {
186 if (!VP1JobConfigInfo::hasLArGeometry() && idhelper->is_lar(id) )
187 return true;
188 if (!VP1JobConfigInfo::hasTileGeometry() && idhelper->is_tile(id) )
189 return true;
190 }
191 return false;
192}
bool is_indet(Identifier id) const
bool is_lar(Identifier id) const
bool is_sct(Identifier id) const
bool is_pixel(Identifier id) const
bool is_muon(Identifier id) const
bool is_calo(Identifier id) const
bool is_tile(Identifier id) const
bool is_trt(Identifier id) const
static const AtlasDetectorID * atlasIDHelper()
static bool hasTRTGeometry()
static bool hasPixelGeometry()
static bool hasSCTGeometry()

◆ larDetMgr()

const LArDetectorManager * VP1DetInfo::larDetMgr ( )
static

Definition at line 153 of file VP1DetInfo.cxx.

static const LArDetectorManager * m_larDetMgr

◆ mdtIDHelper()

const MdtIdHelper * VP1DetInfo::mdtIDHelper ( )
static

Definition at line 163 of file VP1DetInfo.cxx.

static const MdtIdHelper * m_mdtIDHelper

◆ mmIDHelper()

const MmIdHelper * VP1DetInfo::mmIDHelper ( )
static

Definition at line 162 of file VP1DetInfo.cxx.

◆ muonDetMgr()

const MuonGM::MuonDetectorManager * VP1DetInfo::muonDetMgr ( )
static

Definition at line 148 of file VP1DetInfo.cxx.

static const MuonGM::MuonDetectorManager * m_muonDetMgr

◆ pixelDetMgr()

const InDetDD::PixelDetectorManager * VP1DetInfo::pixelDetMgr ( )
static

Definition at line 145 of file VP1DetInfo.cxx.

static const InDetDD::PixelDetectorManager * m_pixelDetMgr

◆ pixelIDHelper()

const PixelID * VP1DetInfo::pixelIDHelper ( )
static

Definition at line 164 of file VP1DetInfo.cxx.

static const PixelID * m_pixelIDHelper

◆ rpcIDHelper()

const RpcIdHelper * VP1DetInfo::rpcIDHelper ( )
static

Definition at line 159 of file VP1DetInfo.cxx.

static const RpcIdHelper * m_rpcIDHelper

◆ sctDetMgr()

const InDetDD::SCT_DetectorManager * VP1DetInfo::sctDetMgr ( )
static

Definition at line 146 of file VP1DetInfo.cxx.

static const InDetDD::SCT_DetectorManager * m_sctDetMgr

◆ sctIDHelper()

const SCT_ID * VP1DetInfo::sctIDHelper ( )
static

Definition at line 165 of file VP1DetInfo.cxx.

static const SCT_ID * m_sctIDHelper

◆ stgcIDHelper()

const sTgcIdHelper * VP1DetInfo::stgcIDHelper ( )
static

Definition at line 161 of file VP1DetInfo.cxx.

◆ tgcIDHelper()

const TgcIdHelper * VP1DetInfo::tgcIDHelper ( )
static

Definition at line 160 of file VP1DetInfo.cxx.

static const TgcIdHelper * m_tgcIDHelper

◆ tileDetMgr()

const TileDetDescrManager * VP1DetInfo::tileDetMgr ( )
static

Definition at line 149 of file VP1DetInfo.cxx.

static const TileDetDescrManager * m_tileDetMgr

◆ trtDetMgr()

const InDetDD::TRT_DetectorManager * VP1DetInfo::trtDetMgr ( )
static

Definition at line 147 of file VP1DetInfo.cxx.

static const InDetDD::TRT_DetectorManager * m_trtDetMgr

◆ trtIDHelper()

const TRT_ID * VP1DetInfo::trtIDHelper ( )
static

Definition at line 166 of file VP1DetInfo.cxx.

static const TRT_ID * m_trtIDHelper

The documentation for this class was generated from the following files: