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

This class initializes the Calo (LAr and Tile) offline identifiers. More...

#include <CaloIdManager.h>

Public Member Functions

 CaloIdManager (void)
 ~CaloIdManager (void)=default
const CaloCell_IDgetCaloCell_ID (void) const
 Access to IdHelper.
const CaloDM_IDgetDM_ID (void) const
const CaloLVL1_IDgetLVL1_ID (void) const
const LArEM_IDgetEM_ID (void) const
const LArFCAL_IDgetFCAL_ID (void) const
const LArMiniFCAL_IDgetMiniFCAL_ID (void) const
const LArHEC_IDgetHEC_ID (void) const
const TileIDgetTileID (void) const
const TTOnlineIDgetTTOnlineID (void) const
const CaloCell_SuperCell_IDgetCaloCell_SuperCell_ID (void) const
const LArEM_SuperCell_IDgetEM_SuperCell_ID (void) const
const LArHEC_SuperCell_IDgetHEC_SuperCell_ID (void) const
const LArFCAL_SuperCell_IDgetFCAL_SuperCell_ID (void) const
const Tile_SuperCell_IDgetTile_SuperCell_ID (void) const
const JTower_IDgetJTower_ID (void) const
const GTower_IDgetGTower_ID (void) const
void initialize (void)
bool isInitialized (void) const
void set_helper (const CaloCell_ID *idHelper)
 these methods are used within Id initialisation, general public should ignore them :
void set_helper (const CaloDM_ID *idHelper)
void set_helper (const CaloLVL1_ID *idHelper)
void set_helper (const LArEM_ID *idHelper)
void set_helper (const LArFCAL_ID *idHelper)
void set_helper (const LArMiniFCAL_ID *idHelper)
void set_helper (const LArHEC_ID *idHelper)
void set_helper (const TileID *idHelper)
void set_helper (const TTOnlineID *idHelper)
void set_helper (const CaloCell_SuperCell_ID *idHelper)
void set_helper (const LArEM_SuperCell_ID *idHelper)
void set_helper (const LArHEC_SuperCell_ID *idHelper)
void set_helper (const LArFCAL_SuperCell_ID *idHelper)
void set_helper (const Tile_SuperCell_ID *idHelper)
void set_helper (const JTower_ID *idHelper)
void set_helper (const GTower_ID *idHelper)

Private Attributes

bool m_isInitialized
const CaloCell_IDm_cell_id
const CaloDM_IDm_dm_id
const CaloLVL1_IDm_lvl1_id
const LArEM_IDm_em_id
const LArFCAL_IDm_fcal_id
const LArMiniFCAL_IDm_minifcal_id
const LArHEC_IDm_hec_id
const TileIDm_tile_id
const TTOnlineIDm_ttonline_id
const CaloCell_SuperCell_IDm_cell_supercell_id
const LArEM_SuperCell_IDm_em_supercell_id
const LArHEC_SuperCell_IDm_hec_supercell_id
const LArFCAL_SuperCell_IDm_fcal_supercell_id
const Tile_SuperCell_IDm_tile_supercell_id
const JTower_IDm_jTower_id
const GTower_IDm_gTower_id

Detailed Description

This class initializes the Calo (LAr and Tile) offline identifiers.

For subdetector specific functionality (online identifiers and cabling for example, or Regions), one should use TileIdManager (for Tile) or retrieve ID helpers from the Detector Store (LAr)

Definition at line 44 of file CaloIdManager.h.

Constructor & Destructor Documentation

◆ CaloIdManager()

CaloIdManager::CaloIdManager ( void )

Definition at line 37 of file CaloIdManager.cxx.

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}
const CaloLVL1_ID * m_lvl1_id
const CaloCell_ID * m_cell_id
const TileID * m_tile_id
const Tile_SuperCell_ID * m_tile_supercell_id
const LArHEC_ID * m_hec_id
const LArEM_ID * m_em_id
const TTOnlineID * m_ttonline_id
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 LArMiniFCAL_ID * m_minifcal_id
const JTower_ID * m_jTower_id
const LArEM_SuperCell_ID * m_em_supercell_id
const LArFCAL_ID * m_fcal_id
const CaloDM_ID * m_dm_id

◆ ~CaloIdManager()

CaloIdManager::~CaloIdManager ( void )
default

Member Function Documentation

◆ getCaloCell_ID()

const CaloCell_ID * CaloIdManager::getCaloCell_ID ( void ) const

Access to IdHelper.

Definition at line 63 of file CaloIdManager.cxx.

64{
65 return (m_cell_id);
66}

◆ getCaloCell_SuperCell_ID()

const CaloCell_SuperCell_ID * CaloIdManager::getCaloCell_SuperCell_ID ( void ) const

Definition at line 110 of file CaloIdManager.cxx.

111{
112 return (m_cell_supercell_id);
113}

◆ getDM_ID()

const CaloDM_ID * CaloIdManager::getDM_ID ( void ) const

Definition at line 69 of file CaloIdManager.cxx.

70{
71 return (m_dm_id);
72}

◆ getEM_ID()

const LArEM_ID * CaloIdManager::getEM_ID ( void ) const

Definition at line 80 of file CaloIdManager.cxx.

81{
82 return (m_em_id);
83}

◆ getEM_SuperCell_ID()

const LArEM_SuperCell_ID * CaloIdManager::getEM_SuperCell_ID ( void ) const

Definition at line 115 of file CaloIdManager.cxx.

116{
117 return (m_em_supercell_id);
118}

◆ getFCAL_ID()

const LArFCAL_ID * CaloIdManager::getFCAL_ID ( void ) const

Definition at line 85 of file CaloIdManager.cxx.

86{
87 return (m_fcal_id);
88}

◆ getFCAL_SuperCell_ID()

const LArFCAL_SuperCell_ID * CaloIdManager::getFCAL_SuperCell_ID ( void ) const

Definition at line 125 of file CaloIdManager.cxx.

126{
127 return (m_fcal_supercell_id);
128}

◆ getGTower_ID()

const GTower_ID * CaloIdManager::getGTower_ID ( void ) const

Definition at line 140 of file CaloIdManager.cxx.

141{
142 return (m_gTower_id);
143}

◆ getHEC_ID()

const LArHEC_ID * CaloIdManager::getHEC_ID ( void ) const

Definition at line 95 of file CaloIdManager.cxx.

96{
97 return (m_hec_id);
98}

◆ getHEC_SuperCell_ID()

const LArHEC_SuperCell_ID * CaloIdManager::getHEC_SuperCell_ID ( void ) const

Definition at line 120 of file CaloIdManager.cxx.

121{
122 return (m_hec_supercell_id);
123}

◆ getJTower_ID()

const JTower_ID * CaloIdManager::getJTower_ID ( void ) const

Definition at line 135 of file CaloIdManager.cxx.

136{
137 return (m_jTower_id);
138}

◆ getLVL1_ID()

const CaloLVL1_ID * CaloIdManager::getLVL1_ID ( void ) const

Definition at line 75 of file CaloIdManager.cxx.

76{
77 return (m_lvl1_id);
78}

◆ getMiniFCAL_ID()

const LArMiniFCAL_ID * CaloIdManager::getMiniFCAL_ID ( void ) const

Definition at line 90 of file CaloIdManager.cxx.

91{
92 return (m_minifcal_id);
93}

◆ getTile_SuperCell_ID()

const Tile_SuperCell_ID * CaloIdManager::getTile_SuperCell_ID ( void ) const

Definition at line 130 of file CaloIdManager.cxx.

131{
132 return (m_tile_supercell_id);
133}

◆ getTileID()

const TileID * CaloIdManager::getTileID ( void ) const

Definition at line 100 of file CaloIdManager.cxx.

101{
102 return (m_tile_id);
103}

◆ getTTOnlineID()

const TTOnlineID * CaloIdManager::getTTOnlineID ( void ) const

Definition at line 105 of file CaloIdManager.cxx.

106{
107 return (m_ttonline_id);
108}

◆ initialize()

void CaloIdManager::initialize ( void )

Definition at line 146 of file CaloIdManager.cxx.

147{
148 m_isInitialized = true;
149}

◆ isInitialized()

bool CaloIdManager::isInitialized ( void ) const

Definition at line 152 of file CaloIdManager.cxx.

153{
154 return (m_isInitialized);
155}

◆ set_helper() [1/16]

void CaloIdManager::set_helper ( const CaloCell_ID * idHelper)

these methods are used within Id initialisation, general public should ignore them :

Definition at line 159 of file CaloIdManager.cxx.

160{
161 m_cell_id = idHelper;
162}

◆ set_helper() [2/16]

void CaloIdManager::set_helper ( const CaloCell_SuperCell_ID * idHelper)

Definition at line 213 of file CaloIdManager.cxx.

214{
215 m_cell_supercell_id = idHelper;
216}

◆ set_helper() [3/16]

void CaloIdManager::set_helper ( const CaloDM_ID * idHelper)

Definition at line 165 of file CaloIdManager.cxx.

166{
167 m_dm_id = idHelper;
168}

◆ set_helper() [4/16]

void CaloIdManager::set_helper ( const CaloLVL1_ID * idHelper)

Definition at line 171 of file CaloIdManager.cxx.

172{
173 m_lvl1_id = idHelper;
174}

◆ set_helper() [5/16]

void CaloIdManager::set_helper ( const GTower_ID * idHelper)

Definition at line 254 of file CaloIdManager.cxx.

255{
256 m_gTower_id = idHelper;
257}

◆ set_helper() [6/16]

void CaloIdManager::set_helper ( const JTower_ID * idHelper)

Definition at line 247 of file CaloIdManager.cxx.

248{
249 m_jTower_id = idHelper;
250}

◆ set_helper() [7/16]

void CaloIdManager::set_helper ( const LArEM_ID * idHelper)

Definition at line 177 of file CaloIdManager.cxx.

178{
179 m_em_id = idHelper;
180}

◆ set_helper() [8/16]

void CaloIdManager::set_helper ( const LArEM_SuperCell_ID * idHelper)

Definition at line 220 of file CaloIdManager.cxx.

221{
222 m_em_supercell_id = idHelper;
223}

◆ set_helper() [9/16]

void CaloIdManager::set_helper ( const LArFCAL_ID * idHelper)

Definition at line 183 of file CaloIdManager.cxx.

184{
185 m_fcal_id = idHelper;
186}

◆ set_helper() [10/16]

void CaloIdManager::set_helper ( const LArFCAL_SuperCell_ID * idHelper)

Definition at line 234 of file CaloIdManager.cxx.

235{
236 m_fcal_supercell_id = idHelper;
237}

◆ set_helper() [11/16]

void CaloIdManager::set_helper ( const LArHEC_ID * idHelper)

Definition at line 195 of file CaloIdManager.cxx.

196{
197 m_hec_id = idHelper;
198}

◆ set_helper() [12/16]

void CaloIdManager::set_helper ( const LArHEC_SuperCell_ID * idHelper)

Definition at line 227 of file CaloIdManager.cxx.

228{
229 m_hec_supercell_id = idHelper;
230}

◆ set_helper() [13/16]

void CaloIdManager::set_helper ( const LArMiniFCAL_ID * idHelper)

Definition at line 189 of file CaloIdManager.cxx.

190{
191 m_minifcal_id = idHelper;
192}

◆ set_helper() [14/16]

void CaloIdManager::set_helper ( const Tile_SuperCell_ID * idHelper)

Definition at line 241 of file CaloIdManager.cxx.

242{
243 m_tile_supercell_id = idHelper;
244}

◆ set_helper() [15/16]

void CaloIdManager::set_helper ( const TileID * idHelper)

Definition at line 201 of file CaloIdManager.cxx.

202{
203 m_tile_id = idHelper;
204}

◆ set_helper() [16/16]

void CaloIdManager::set_helper ( const TTOnlineID * idHelper)

Definition at line 207 of file CaloIdManager.cxx.

208{
209 m_ttonline_id = idHelper;
210}

Member Data Documentation

◆ m_cell_id

const CaloCell_ID* CaloIdManager::m_cell_id
private

Definition at line 97 of file CaloIdManager.h.

◆ m_cell_supercell_id

const CaloCell_SuperCell_ID* CaloIdManager::m_cell_supercell_id
private

Definition at line 106 of file CaloIdManager.h.

◆ m_dm_id

const CaloDM_ID* CaloIdManager::m_dm_id
private

Definition at line 98 of file CaloIdManager.h.

◆ m_em_id

const LArEM_ID* CaloIdManager::m_em_id
private

Definition at line 100 of file CaloIdManager.h.

◆ m_em_supercell_id

const LArEM_SuperCell_ID* CaloIdManager::m_em_supercell_id
private

Definition at line 107 of file CaloIdManager.h.

◆ m_fcal_id

const LArFCAL_ID* CaloIdManager::m_fcal_id
private

Definition at line 101 of file CaloIdManager.h.

◆ m_fcal_supercell_id

const LArFCAL_SuperCell_ID* CaloIdManager::m_fcal_supercell_id
private

Definition at line 109 of file CaloIdManager.h.

◆ m_gTower_id

const GTower_ID* CaloIdManager::m_gTower_id
private

Definition at line 112 of file CaloIdManager.h.

◆ m_hec_id

const LArHEC_ID* CaloIdManager::m_hec_id
private

Definition at line 103 of file CaloIdManager.h.

◆ m_hec_supercell_id

const LArHEC_SuperCell_ID* CaloIdManager::m_hec_supercell_id
private

Definition at line 108 of file CaloIdManager.h.

◆ m_isInitialized

bool CaloIdManager::m_isInitialized
private

Definition at line 95 of file CaloIdManager.h.

◆ m_jTower_id

const JTower_ID* CaloIdManager::m_jTower_id
private

Definition at line 111 of file CaloIdManager.h.

◆ m_lvl1_id

const CaloLVL1_ID* CaloIdManager::m_lvl1_id
private

Definition at line 99 of file CaloIdManager.h.

◆ m_minifcal_id

const LArMiniFCAL_ID* CaloIdManager::m_minifcal_id
private

Definition at line 102 of file CaloIdManager.h.

◆ m_tile_id

const TileID* CaloIdManager::m_tile_id
private

Definition at line 104 of file CaloIdManager.h.

◆ m_tile_supercell_id

const Tile_SuperCell_ID* CaloIdManager::m_tile_supercell_id
private

Definition at line 110 of file CaloIdManager.h.

◆ m_ttonline_id

const TTOnlineID* CaloIdManager::m_ttonline_id
private

Definition at line 105 of file CaloIdManager.h.


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