ATLAS Offline Software
CaloIdManager.h
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.h,v 1.4 2007-06-15 14:52:20 fledroit Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef CALOID_CALOIDMANAGER_H
14 # define CALOID_CALOIDMANAGER_H
15 
16 #include "AthenaKernel/CLASS_DEF.h"
17 
18 class CaloCell_ID;
20 class CaloDM_ID;
21 class CaloLVL1_ID;
22 class LArEM_ID;
23 class LArEM_SuperCell_ID;
24 class LArFCAL_ID;
26 class LArMiniFCAL_ID;
27 class LArHEC_ID;
29 class TileID;
30 class Tile_SuperCell_ID;
31 class TTOnlineID;
32 class JTower_ID;
33 class GTower_ID;
34 
35 
45 {
46 
47 public:
48 
49  CaloIdManager(void);
50  ~CaloIdManager(void) = default;
51 
53  const CaloCell_ID* getCaloCell_ID (void) const;
54  const CaloDM_ID* getDM_ID (void) const;
55  const CaloLVL1_ID* getLVL1_ID (void) const;
56  const LArEM_ID* getEM_ID (void) const;
57  const LArFCAL_ID* getFCAL_ID (void) const;
58  const LArMiniFCAL_ID* getMiniFCAL_ID (void) const;
59  const LArHEC_ID* getHEC_ID (void) const;
60  const TileID* getTileID (void) const;
61  const TTOnlineID* getTTOnlineID (void) const;
63  const LArEM_SuperCell_ID* getEM_SuperCell_ID (void) const;
64  const LArHEC_SuperCell_ID* getHEC_SuperCell_ID (void) const;
65  const LArFCAL_SuperCell_ID* getFCAL_SuperCell_ID (void) const;
66  const Tile_SuperCell_ID* getTile_SuperCell_ID (void) const;
67  const JTower_ID* getJTower_ID (void) const;
68  const GTower_ID* getGTower_ID (void) const;
69 
70  void initialize (void);
71  bool isInitialized (void) const;
72 
75 
76  void set_helper (const CaloCell_ID* idHelper);
77  void set_helper (const CaloDM_ID* idHelper);
78  void set_helper (const CaloLVL1_ID* idHelper);
79  void set_helper (const LArEM_ID* idHelper);
80  void set_helper (const LArFCAL_ID* idHelper);
81  void set_helper (const LArMiniFCAL_ID* idHelper);
82  void set_helper (const LArHEC_ID* idHelper);
83  void set_helper (const TileID* idHelper);
84  void set_helper (const TTOnlineID* idHelper);
85  void set_helper (const CaloCell_SuperCell_ID* idHelper);
86  void set_helper (const LArEM_SuperCell_ID* idHelper);
87  void set_helper (const LArHEC_SuperCell_ID* idHelper);
88  void set_helper (const LArFCAL_SuperCell_ID* idHelper);
89  void set_helper (const Tile_SuperCell_ID* idHelper);
90  void set_helper (const JTower_ID* idHelper);
91  void set_helper (const GTower_ID* idHelper);
92 
93 private:
94 
96 
113 
114 };
115 
116 CLASS_DEF( CaloIdManager , 125856940 , 1 )
117 
118 
119 #endif // CALOID_CALOIDMANAGER_H
CaloIdManager::getMiniFCAL_ID
const LArMiniFCAL_ID * getMiniFCAL_ID(void) const
Definition: CaloIdManager.cxx:90
CaloIdManager::m_isInitialized
bool m_isInitialized
Definition: CaloIdManager.h:95
TTOnlineID
Helper class for Calo TT online identifiers.
Definition: TTOnlineID.h:37
CaloIdManager::m_gTower_id
const GTower_ID * m_gTower_id
Definition: CaloIdManager.h:112
CaloIdManager::getEM_ID
const LArEM_ID * getEM_ID(void) const
Definition: CaloIdManager.cxx:80
LArFCAL_SuperCell_ID
Helper class for LArFCAL offline identifiers for supercells.
Definition: LArFCAL_SuperCell_ID.h:48
CaloIdManager::~CaloIdManager
~CaloIdManager(void)=default
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
CaloIdManager::m_cell_supercell_id
const CaloCell_SuperCell_ID * m_cell_supercell_id
Definition: CaloIdManager.h:106
Tile_SuperCell_ID
Helper class for Tile offline identifiers for supercells.
Definition: Tile_SuperCell_ID.h:64
CaloIdManager::m_ttonline_id
const TTOnlineID * m_ttonline_id
Definition: CaloIdManager.h:105
JTower_ID
Helper class for jTower offline identifiers.
Definition: JTower_ID.h:39
CaloIdManager::getDM_ID
const CaloDM_ID * getDM_ID(void) const
Definition: CaloIdManager.cxx:69
CaloIdManager::m_hec_supercell_id
const LArHEC_SuperCell_ID * m_hec_supercell_id
Definition: CaloIdManager.h:108
CaloIdManager::m_lvl1_id
const CaloLVL1_ID * m_lvl1_id
Definition: CaloIdManager.h:99
CaloIdManager::getTile_SuperCell_ID
const Tile_SuperCell_ID * getTile_SuperCell_ID(void) const
Definition: CaloIdManager.cxx:130
CaloIdManager::m_jTower_id
const JTower_ID * m_jTower_id
Definition: CaloIdManager.h:111
CaloIdManager::m_em_id
const LArEM_ID * m_em_id
Definition: CaloIdManager.h:100
CaloIdManager::getTileID
const TileID * getTileID(void) const
Definition: CaloIdManager.cxx:100
CaloIdManager::initialize
void initialize(void)
Definition: CaloIdManager.cxx:146
LArEM_SuperCell_ID
Helper class for LArEM offline identifiers for supercells.
Definition: LArEM_SuperCell_ID.h:122
CaloIdManager::m_fcal_supercell_id
const LArFCAL_SuperCell_ID * m_fcal_supercell_id
Definition: CaloIdManager.h:109
CaloIdManager::getHEC_ID
const LArHEC_ID * getHEC_ID(void) const
Definition: CaloIdManager.cxx:95
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition: CaloIdManager.h:45
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition: CaloCell_SuperCell_ID.h:48
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
CaloIdManager::CaloIdManager
CaloIdManager(void)
Definition: CaloIdManager.cxx:37
CaloIdManager::m_dm_id
const CaloDM_ID * m_dm_id
Definition: CaloIdManager.h:98
CaloIdManager::getFCAL_SuperCell_ID
const LArFCAL_SuperCell_ID * getFCAL_SuperCell_ID(void) const
Definition: CaloIdManager.cxx:125
CaloIdManager::getFCAL_ID
const LArFCAL_ID * getFCAL_ID(void) const
Definition: CaloIdManager.cxx:85
CaloIdManager::m_em_supercell_id
const LArEM_SuperCell_ID * m_em_supercell_id
Definition: CaloIdManager.h:107
CaloIdManager::getHEC_SuperCell_ID
const LArHEC_SuperCell_ID * getHEC_SuperCell_ID(void) const
Definition: CaloIdManager.cxx:120
CaloIdManager::getLVL1_ID
const CaloLVL1_ID * getLVL1_ID(void) const
Definition: CaloIdManager.cxx:75
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloIdManager::m_tile_id
const TileID * m_tile_id
Definition: CaloIdManager.h:104
CaloIdManager::set_helper
void set_helper(const CaloCell_ID *idHelper)
these methods are used within Id initialisation, general public should ignore them :
Definition: CaloIdManager.cxx:159
CaloIdManager::getGTower_ID
const GTower_ID * getGTower_ID(void) const
Definition: CaloIdManager.cxx:140
CaloIdManager::m_cell_id
const CaloCell_ID * m_cell_id
Definition: CaloIdManager.h:97
CaloIdManager::isInitialized
bool isInitialized(void) const
Definition: CaloIdManager.cxx:152
CaloIdManager::m_minifcal_id
const LArMiniFCAL_ID * m_minifcal_id
Definition: CaloIdManager.h:102
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition: CaloLVL1_ID.h:66
CaloIdManager::getCaloCell_ID
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
Definition: CaloIdManager.cxx:63
CaloIdManager::m_fcal_id
const LArFCAL_ID * m_fcal_id
Definition: CaloIdManager.h:101
CaloIdManager::m_tile_supercell_id
const Tile_SuperCell_ID * m_tile_supercell_id
Definition: CaloIdManager.h:110
LArMiniFCAL_ID
Helper class for LArMiniFCAL offline identifiers.
Definition: LArMiniFCAL_ID.h:57
CaloDM_ID
Helper class for Calo Dead Material offline identifiers.
Definition: CaloDM_ID.h:102
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LArHEC_SuperCell_ID
Helper class for LArHEC offline identifiers for supercells.
Definition: LArHEC_SuperCell_ID.h:59
CaloIdManager::getCaloCell_SuperCell_ID
const CaloCell_SuperCell_ID * getCaloCell_SuperCell_ID(void) const
Definition: CaloIdManager.cxx:110
CaloIdManager::getTTOnlineID
const TTOnlineID * getTTOnlineID(void) const
Definition: CaloIdManager.cxx:105
CaloIdManager::getEM_SuperCell_ID
const LArEM_SuperCell_ID * getEM_SuperCell_ID(void) const
Definition: CaloIdManager.cxx:115
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
CaloIdManager::m_hec_id
const LArHEC_ID * m_hec_id
Definition: CaloIdManager.h:103
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
GTower_ID
Helper class for jTower offline identifiers.
Definition: GTower_ID.h:39
CLASS_DEF.h
macros to associate a CLID to a type
CaloIdManager::getJTower_ID
const JTower_ID * getJTower_ID(void) const
Definition: CaloIdManager.cxx:135