ATLAS Offline Software
Classes | Static Public Member Functions | Private Member Functions | List of all members
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::PixelDetectorManagerpixelDetMgr ()
 
static const InDetDD::SCT_DetectorManagersctDetMgr ()
 
static const InDetDD::TRT_DetectorManagertrtDetMgr ()
 
static const MuonGM::MuonDetectorManagermuonDetMgr ()
 
static const TileDetDescrManagertileDetMgr ()
 
static const EMBDetectorManagerembDetMgr ()
 
static const HECDetectorManagerhecDetMgr ()
 
static const EMECDetectorManageremecDetMgr ()
 
static const LArDetectorManagerlarDetMgr ()
 
static const FCALDetectorManagerfcalDetMgr ()
 
static const CaloIdManagercaloIDMgr ()
 
static const AtlasDetectorIDatlasIDHelper ()
 
static const CscIdHelpercscIDHelper ()
 
static const RpcIdHelperrpcIDHelper ()
 
static const TgcIdHelpertgcIDHelper ()
 
static const sTgcIdHelperstgcIDHelper ()
 
static const MmIdHelpermmIDHelper ()
 
static const MdtIdHelpermdtIDHelper ()
 
static const PixelIDpixelIDHelper ()
 
static const SCT_IDsctIDHelper ()
 
static const TRT_IDtrtIDHelper ()
 
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); }

◆ caloIDMgr()

const CaloIdManager * VP1DetInfo::caloIDMgr ( )
static

◆ cscIDHelper()

const CscIdHelper * VP1DetInfo::cscIDHelper ( )
static

Definition at line 158 of file VP1DetInfo.cxx.

◆ embDetMgr()

const EMBDetectorManager * VP1DetInfo::embDetMgr ( )
static

Definition at line 150 of file VP1DetInfo.cxx.

◆ emecDetMgr()

const EMECDetectorManager * VP1DetInfo::emecDetMgr ( )
static

Definition at line 152 of file VP1DetInfo.cxx.

◆ ensureInit() [1/2]

static void VP1DetInfo::ensureInit ( IVP1System )
inlinestatic

Definition at line 49 of file VP1DetInfo.h.

49 {}

◆ ensureInit() [2/2]

static 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.

◆ hecDetMgr()

const HECDetectorManager * VP1DetInfo::hecDetMgr ( )
static

Definition at line 151 of file VP1DetInfo.cxx.

◆ 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 }

◆ larDetMgr()

const LArDetectorManager * VP1DetInfo::larDetMgr ( )
static

Definition at line 153 of file VP1DetInfo.cxx.

◆ mdtIDHelper()

const MdtIdHelper * VP1DetInfo::mdtIDHelper ( )
static

Definition at line 163 of file VP1DetInfo.cxx.

◆ mmIDHelper()

const MmIdHelper * VP1DetInfo::mmIDHelper ( )
static

◆ muonDetMgr()

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

Definition at line 148 of file VP1DetInfo.cxx.

◆ pixelDetMgr()

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

Definition at line 145 of file VP1DetInfo.cxx.

◆ pixelIDHelper()

const PixelID * VP1DetInfo::pixelIDHelper ( )
static

Definition at line 164 of file VP1DetInfo.cxx.

◆ rpcIDHelper()

const RpcIdHelper * VP1DetInfo::rpcIDHelper ( )
static

Definition at line 159 of file VP1DetInfo.cxx.

◆ sctDetMgr()

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

Definition at line 146 of file VP1DetInfo.cxx.

◆ sctIDHelper()

const SCT_ID * VP1DetInfo::sctIDHelper ( )
static

Definition at line 165 of file VP1DetInfo.cxx.

◆ stgcIDHelper()

const sTgcIdHelper * VP1DetInfo::stgcIDHelper ( )
static

◆ tgcIDHelper()

const TgcIdHelper * VP1DetInfo::tgcIDHelper ( )
static

Definition at line 160 of file VP1DetInfo.cxx.

◆ tileDetMgr()

const TileDetDescrManager * VP1DetInfo::tileDetMgr ( )
static

Definition at line 149 of file VP1DetInfo.cxx.

◆ trtDetMgr()

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

Definition at line 147 of file VP1DetInfo.cxx.

◆ trtIDHelper()

const TRT_ID * VP1DetInfo::trtIDHelper ( )
static

Definition at line 166 of file VP1DetInfo.cxx.


The documentation for this class was generated from the following files:
AtlasDetectorID::is_pixel
bool is_pixel(Identifier id) const
Definition: AtlasDetectorID.h:760
VP1DetInfo::Imp::m_pixelDetMgr
static const InDetDD::PixelDetectorManager * m_pixelDetMgr
Definition: VP1DetInfo.cxx:57
VP1DetInfo::Imp::m_larDetMgr
static const LArDetectorManager * m_larDetMgr
Definition: VP1DetInfo.cxx:65
AtlasDetectorID::is_lar
bool is_lar(Identifier id) const
Definition: AtlasDetectorID.h:689
AtlasDetectorID::is_sct
bool is_sct(Identifier id) const
Definition: AtlasDetectorID.h:770
VP1DetInfo::Imp::m_atlasIDHelper
static const AtlasDetectorID * m_atlasIDHelper
Definition: VP1DetInfo.cxx:69
VP1DetInfo::Imp::m_embDetMgr
static const EMBDetectorManager * m_embDetMgr
Definition: VP1DetInfo.cxx:62
VP1JobConfigInfo::hasTileGeometry
static bool hasTileGeometry()
Definition: VP1JobConfigInfo.cxx:133
VP1DetInfo::Imp::m_cscIDHelper
static const CscIdHelper * m_cscIDHelper
Definition: VP1DetInfo.cxx:70
VP1JobConfigInfo::hasLArGeometry
static bool hasLArGeometry()
Definition: VP1JobConfigInfo.cxx:132
VP1DetInfo::Imp::m_fcalDetMgr
static const FCALDetectorManager * m_fcalDetMgr
Definition: VP1DetInfo.cxx:66
VP1DetInfo::atlasIDHelper
static const AtlasDetectorID * atlasIDHelper()
Definition: VP1DetInfo.cxx:157
VP1DetInfo::Imp::m_emecDetMgr
static const EMECDetectorManager * m_emecDetMgr
Definition: VP1DetInfo.cxx:64
AtlasDetectorID::is_trt
bool is_trt(Identifier id) const
Definition: AtlasDetectorID.h:782
VP1DetInfo::Imp::m_tileDetMgr
static const TileDetDescrManager * m_tileDetMgr
Definition: VP1DetInfo.cxx:61
VP1DetInfo::Imp::m_sctDetMgr
static const InDetDD::SCT_DetectorManager * m_sctDetMgr
Definition: VP1DetInfo.cxx:58
VP1DetInfo::Imp::m_hecDetMgr
static const HECDetectorManager * m_hecDetMgr
Definition: VP1DetInfo.cxx:63
VP1DetInfo::Imp::m_trtDetMgr
static const InDetDD::TRT_DetectorManager * m_trtDetMgr
Definition: VP1DetInfo.cxx:59
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
VP1DetInfo::Imp::m_trtIDHelper
static const TRT_ID * m_trtIDHelper
Definition: VP1DetInfo.cxx:78
AtlasDetectorID::is_tile
bool is_tile(Identifier id) const
Definition: AtlasDetectorID.h:695
VP1DetInfo::Imp::m_tgcIDHelper
static const TgcIdHelper * m_tgcIDHelper
Definition: VP1DetInfo.cxx:72
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
AtlasDetectorID::is_calo
bool is_calo(Identifier id) const
Definition: AtlasDetectorID.h:707
VP1DetInfo::Imp::m_mmIDHelper
static const MmIdHelper * m_mmIDHelper
Definition: VP1DetInfo.cxx:75
VP1DetInfo::Imp::cachedRetrieve
static const T * cachedRetrieve(const T *&cachedPtr, const char *key, const bool &configallows)
Definition: VP1DetInfo.cxx:109
VP1DetInfo::Imp::m_muonDetMgr
static const MuonGM::MuonDetectorManager * m_muonDetMgr
Definition: VP1DetInfo.cxx:60
AtlasDetectorID::is_indet
bool is_indet(Identifier id) const
Definition: AtlasDetectorID.h:683
AtlasDetectorID::is_muon
bool is_muon(Identifier id) const
Definition: AtlasDetectorID.h:701
VP1DetInfo::Imp::m_mdtIDHelper
static const MdtIdHelper * m_mdtIDHelper
Definition: VP1DetInfo.cxx:74
VP1DetInfo::Imp::m_stgcIDHelper
static const sTgcIdHelper * m_stgcIDHelper
Definition: VP1DetInfo.cxx:73
VP1DetInfo::Imp::m_rpcIDHelper
static const RpcIdHelper * m_rpcIDHelper
Definition: VP1DetInfo.cxx:71
VP1DetInfo::Imp::m_pixelIDHelper
static const PixelID * m_pixelIDHelper
Definition: VP1DetInfo.cxx:76
VP1JobConfigInfo::hasMuonNSWGeometry
static bool hasMuonNSWGeometry()
Definition: VP1JobConfigInfo.cxx:135
VP1JobConfigInfo::hasPixelGeometry
static bool hasPixelGeometry()
Definition: VP1JobConfigInfo.cxx:127
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
VP1DetInfo::Imp::m_sctIDHelper
static const SCT_ID * m_sctIDHelper
Definition: VP1DetInfo.cxx:77
VP1DetInfo::Imp::m_caloIdMgr
static const CaloIdManager * m_caloIdMgr
Definition: VP1DetInfo.cxx:67
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57