ATLAS Offline Software
Loading...
Searching...
No Matches
LArFCAL_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*/
4
8
9#include <cmath>
10#include <iostream>
11#include <set>
12#include <string>
13
15 LArFCAL_Base_ID("LArFCAL_SuperCell_ID", "slar_fcal", 1)
16{
17}
18
20
22/*=================================================================*/
23{
24 ATH_MSG_DEBUG("initialize_from_dictionary");
25
26 // Check whether this helper should be reinitialized
27 if (!reinitialize(dict_mgr)) {
28 ATH_MSG_DEBUG("Request to reinitialize not satisfied - tags have not changed");
29 return (0);
30 }
31 else {
32 ATH_MSG_DEBUG("(Re)initialize");
33 }
34
35 // init base object
37 return (1);
38
39 return 0;
40}
41
#define ATH_MSG_DEBUG(x)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
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.
virtual int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &group_name)
initialization from the identifier dictionary
LArFCAL_Base_ID(const std::string &name, const std::string &group, bool supercell)
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary