ATLAS Offline Software
Loading...
Searching...
No Matches
CaloIdManager.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 Calorimeter identifier package
7 -----------------------------------------
8 ***************************************************************************/
9
10//<doc><file> $Id: CaloIdManager.cxx,v 1.3 2007-02-08 16:18:23 prieur Exp $
11//<version> $Name: not supported by cvs2svn $
12
13
14// Calo includes
31
32// Athena/Gaudi includes
33#include "GaudiKernel/Bootstrap.h"
34#include "GaudiKernel/ISvcLocator.h"
35#include "GaudiKernel/IMessageSvc.h"
36
38 :
39 m_isInitialized(false),
40 m_cell_id(nullptr),
41 m_dm_id(nullptr),
42 m_lvl1_id(nullptr),
43 m_em_id(nullptr),
44 m_fcal_id(nullptr),
45 m_minifcal_id(nullptr),
46 m_hec_id(nullptr),
47 m_tile_id(nullptr),
48 m_ttonline_id(nullptr),
49 m_cell_supercell_id(nullptr),
50 m_em_supercell_id(nullptr),
51 m_hec_supercell_id(nullptr),
52 m_fcal_supercell_id(nullptr),
53 m_tile_supercell_id(nullptr),
54 m_jTower_id(nullptr),
55 m_gTower_id(nullptr)
56{
57}
58
59
60
61
62const CaloCell_ID*
64{
65 return (m_cell_id);
66}
67
68const CaloDM_ID*
70{
71 return (m_dm_id);
72}
73
74const CaloLVL1_ID*
76{
77 return (m_lvl1_id);
78}
79const LArEM_ID*
81{
82 return (m_em_id);
83}
84const LArFCAL_ID*
86{
87 return (m_fcal_id);
88}
89const LArMiniFCAL_ID*
91{
92 return (m_minifcal_id);
93}
94const LArHEC_ID*
96{
97 return (m_hec_id);
98}
99const TileID*
101{
102 return (m_tile_id);
103}
104const TTOnlineID*
106{
107 return (m_ttonline_id);
108}
116{
117 return (m_em_supercell_id);
118}
121{
122 return (m_hec_supercell_id);
123}
126{
127 return (m_fcal_supercell_id);
128}
131{
132 return (m_tile_supercell_id);
133}
134const JTower_ID*
136{
137 return (m_jTower_id);
138}
139const GTower_ID*
141{
142 return (m_gTower_id);
143}
144
145void
147{
148 m_isInitialized = true;
149}
150
151bool
153{
154 return (m_isInitialized);
155}
156
157
158void
160{
161 m_cell_id = idHelper;
162}
163
164void
166{
167 m_dm_id = idHelper;
168}
169
170void
172{
173 m_lvl1_id = idHelper;
174}
175
176void
178{
179 m_em_id = idHelper;
180}
181
182void
184{
185 m_fcal_id = idHelper;
186}
187
188void
190{
191 m_minifcal_id = idHelper;
192}
193
194void
196{
197 m_hec_id = idHelper;
198}
199
200void
202{
203 m_tile_id = idHelper;
204}
205void
206
208{
209 m_ttonline_id = idHelper;
210}
211
212void
214{
215 m_cell_supercell_id = idHelper;
216}
217
218
219void
221{
222 m_em_supercell_id = idHelper;
223}
224
225
226void
228{
229 m_hec_supercell_id = idHelper;
230}
231
232
233void
235{
236 m_fcal_supercell_id = idHelper;
237}
238
239
240void
242{
243 m_tile_supercell_id = idHelper;
244}
245
246void
248{
249 m_jTower_id = idHelper;
250}
251
252
253void
255{
256 m_gTower_id = idHelper;
257}
Helper class for offline supercell identifiers.
Helper class for LArEM offline identifiers for supercells.
Helper class for LArHEC offline identifiers for supercells.
Helper class for Tile offline identifiers for supercells.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Helper class for offline supercell identifiers.
Helper class for Calo Dead Material offline identifiers.
Definition CaloDM_ID.h:102
bool isInitialized(void) const
const LArFCAL_SuperCell_ID * getFCAL_SuperCell_ID(void) const
const LArHEC_SuperCell_ID * getHEC_SuperCell_ID(void) const
const TileID * getTileID(void) const
const CaloLVL1_ID * m_lvl1_id
const CaloCell_ID * m_cell_id
const TTOnlineID * getTTOnlineID(void) const
const TileID * m_tile_id
const Tile_SuperCell_ID * m_tile_supercell_id
const LArEM_SuperCell_ID * getEM_SuperCell_ID(void) const
const LArHEC_ID * m_hec_id
const CaloLVL1_ID * getLVL1_ID(void) const
const CaloCell_SuperCell_ID * getCaloCell_SuperCell_ID(void) const
const Tile_SuperCell_ID * getTile_SuperCell_ID(void) const
const LArEM_ID * m_em_id
void initialize(void)
const TTOnlineID * m_ttonline_id
const LArMiniFCAL_ID * getMiniFCAL_ID(void) const
const CaloCell_SuperCell_ID * m_cell_supercell_id
const GTower_ID * m_gTower_id
const LArFCAL_SuperCell_ID * m_fcal_supercell_id
const LArHEC_SuperCell_ID * m_hec_supercell_id
const CaloDM_ID * getDM_ID(void) const
const GTower_ID * getGTower_ID(void) const
const LArHEC_ID * getHEC_ID(void) const
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
const LArFCAL_ID * getFCAL_ID(void) const
const LArMiniFCAL_ID * m_minifcal_id
const LArEM_ID * getEM_ID(void) const
const JTower_ID * m_jTower_id
const LArEM_SuperCell_ID * m_em_supercell_id
void set_helper(const CaloCell_ID *idHelper)
these methods are used within Id initialisation, general public should ignore them :
const JTower_ID * getJTower_ID(void) const
const LArFCAL_ID * m_fcal_id
const CaloDM_ID * m_dm_id
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
Helper class for jTower offline identifiers.
Definition GTower_ID.h:34
Helper class for jTower offline identifiers.
Definition JTower_ID.h:34
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArEM offline identifiers for supercells.
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArFCAL offline identifiers for supercells.
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Helper class for LArHEC offline identifiers for supercells.
Helper class for LArMiniFCAL offline identifiers.
Helper class for Calo TT online identifiers.
Definition TTOnlineID.h:29
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Helper class for Tile offline identifiers for supercells.