ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
TileID.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
Access to Tile Calorimeter raw data
7
-----------------------------------------
8
***************************************************************************/
9
10
11
#include "
CaloIdentifier/TileID.h
"
12
#include "
Identifier/IdentifierHash.h
"
13
#include "
AtlasDetDescr/AtlasDetectorID.h
"
14
15
#include <algorithm>
16
#include <cassert>
17
#include <cstdio>
18
#include <iostream>
19
#include <stdexcept>
20
21
22
TileID::TileID
()
23
:
Tile_Base_ID
(
"TileID"
,
"tile"
, false)
24
{
25
}
26
27
int
TileID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
28
{
29
ATH_MSG_DEBUG
(
"initialize_from_dictionary"
);
30
31
// Check whether this helper should be reinitialized
32
if
(!
reinitialize
(dict_mgr)) {
33
ATH_MSG_DEBUG
(
"Request to reinitialize not satisfied - tags have not changed"
);
34
return
(0);
35
}
36
else
{
37
ATH_MSG_DEBUG
(
"(Re)initialize"
);
38
}
39
40
// init base object
41
if
(
Tile_Base_ID::initialize_base_from_dictionary
(dict_mgr,
group
()))
42
return
(1);
43
44
return
0;
45
}
46
47
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdentifierHash.h
TileID.h
AtlasDetectorID::reinitialize
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
Definition
AtlasDetectorID.cxx:170
AtlasDetectorID::group
const std::string & group() const
Group name for this helper.
Definition
AtlasDetectorID.cxx:39
IdDictMgr
Definition
IdDictMgr.h:17
TileID::TileID
TileID()
Definition
TileID.cxx:22
TileID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
TileID.cxx:27
Tile_Base_ID::Tile_Base_ID
Tile_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Definition
Tile_Base_ID.cxx:33
Tile_Base_ID::initialize_base_from_dictionary
int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &group_name)
initialization from the identifier dictionary
Definition
Tile_Base_ID.cxx:1177
Generated on
for ATLAS Offline Software by
1.17.0