ATLAS Offline Software
Loading...
Searching...
No Matches
Tile_SuperCell_ID.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
10
11
15
16#include <algorithm>
17#include <cassert>
18#include <cstdio>
19#include <iostream>
20#include <stdexcept>
21
22
24 : Tile_Base_ID ("Tile_SuperCell_ID", "tile_supercell", true)
25{
26}
27
29{
30 ATH_MSG_DEBUG("initialize_from_dictionary");
31
32 // Check whether this helper should be reinitialized
33 if (!reinitialize(dict_mgr)) {
34 ATH_MSG_DEBUG("Request to reinitialize not satisfied - tags have not changed");
35 return (0);
36 }
37 else {
38 ATH_MSG_DEBUG("(Re)initialize");
39 }
40
41 // init base object
43 return (1);
44
45 return 0;
46}
#define ATH_MSG_DEBUG(x)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Helper class for Tile offline identifiers for supercells.
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
const std::string & group() const
Group name for this helper.
Tile_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &group_name)
initialization from the identifier dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary