ATLAS Offline Software
Loading...
Searching...
No Matches
VP1DetInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Header file for class VP1DetInfo //
8// //
9// Description: Convenient and safe access to detector //
10// managers and identifier decoding //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: March 2008 //
14// //
16
17#ifndef VP1DETINFO_H
18#define VP1DETINFO_H
19
20class IVP1System;
21class StoreGateSvc;
22namespace InDetDD { class TRT_DetectorManager; }
23namespace InDetDD { class PixelDetectorManager; }
24namespace InDetDD { class SCT_DetectorManager; }
25namespace MuonGM { class MuonDetectorManager; }
32class CaloIdManager;
33
34class AtlasDetectorID;
35class PixelID;
36class SCT_ID;
37class TRT_ID;
38class CscIdHelper;
39class RpcIdHelper;
40class TgcIdHelper;
41class sTgcIdHelper;
42class MdtIdHelper;
43class MmIdHelper;
44
45class Identifier;
46
48public:
49 static void ensureInit( IVP1System* ) {}
50 static void ensureInit( StoreGateSvc* ) {}
51
52 //NB: Any of the methods returning pointers in this class might
53 //return null. And it is never allowed to delete any of the returned
54 //pointers!
55
58 // static const InDetDD::InDetServMatManager * inDetServMatDetMgr();
61 static const TileDetDescrManager * tileDetMgr();
62 static const EMBDetectorManager * embDetMgr();
63 static const HECDetectorManager * hecDetMgr();
64 static const EMECDetectorManager * emecDetMgr();
65 static const LArDetectorManager * larDetMgr();
66 static const FCALDetectorManager * fcalDetMgr();
67
68 static const CaloIdManager * caloIDMgr();
69
70 //Base identifier helper:
71 static const AtlasDetectorID * atlasIDHelper();
72
73 //Common specialised identifier helpers:
74 static const CscIdHelper * cscIDHelper();
75 static const RpcIdHelper * rpcIDHelper();
76 static const TgcIdHelper * tgcIDHelper();
77 static const sTgcIdHelper * stgcIDHelper();
78 static const MmIdHelper * mmIDHelper();
79 static const MdtIdHelper * mdtIDHelper();
80 static const PixelID * pixelIDHelper();
81 static const SCT_ID * sctIDHelper();
82 static const TRT_ID * trtIDHelper();
83 //Todo: Add more as needed.
84
85 //Combines use of the atlasIDHelper and VP1JobConfigInfo to spot
86 //unsafe identifiers (i.e. a pixel identifier is unsafe if the.pixel
87 //geometry is not lodaded):
88 static bool isUnsafe(const Identifier&);
89
90private:
93 class Imp;
94};
95
96
97#endif
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
This class initializes the Calo (LAr and Tile) offline identifiers.
A manager class providing access to readout geometry information for the electromagnetic barrel calor...
A manager class providing access to readout geometry information for the electromagnetic endcap calor...
A manager class providing access to readout geometry information for the forward calorimeter.
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Stored in storegate.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
The Athena Transient Store API.
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
static bool isUnsafe(const Identifier &)
static const InDetDD::SCT_DetectorManager * sctDetMgr()
static const CaloIdManager * caloIDMgr()
static const InDetDD::PixelDetectorManager * pixelDetMgr()
static const FCALDetectorManager * fcalDetMgr()
static const RpcIdHelper * rpcIDHelper()
static const EMECDetectorManager * emecDetMgr()
static void ensureInit(IVP1System *)
Definition VP1DetInfo.h:49
static const TgcIdHelper * tgcIDHelper()
static const TileDetDescrManager * tileDetMgr()
static const TRT_ID * trtIDHelper()
static const MdtIdHelper * mdtIDHelper()
static const EMBDetectorManager * embDetMgr()
static const HECDetectorManager * hecDetMgr()
static const sTgcIdHelper * stgcIDHelper()
static const AtlasDetectorID * atlasIDHelper()
static const PixelID * pixelIDHelper()
static const MuonGM::MuonDetectorManager * muonDetMgr()
static const InDetDD::TRT_DetectorManager * trtDetMgr()
static const SCT_ID * sctIDHelper()
static void ensureInit(StoreGateSvc *)
Definition VP1DetInfo.h:50
static const MmIdHelper * mmIDHelper()
static const LArDetectorManager * larDetMgr()
static const CscIdHelper * cscIDHelper()
Message Stream Member.
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27