ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
CaloIdentifier
LArHEC_ID.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARHEC_ID_H
6
#define LARHEC_ID_H
7
8
9
#include "
CaloIdentifier/LArHEC_Base_ID.h
"
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
#include "
AthenaKernel/BaseInfo.h
"
12
13
class
IdDictMgr
;
14
15
72
73
74
class
LArHEC_ID
75
:
public
LArHEC_Base_ID
76
{
77
public
:
78
LArHEC_ID
();
79
virtual
~LArHEC_ID
();
80
81
83
virtual
int
initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr);
84
};
85
86
//using the macro below we can assign an identifier (and a version)
87
//This is required and checked at compile time when you try to record/retrieve
88
CLASS_DEF
(
LArHEC_ID
, 3870484 , 1 )
89
SG_BASE
(
LArHEC_ID
,
LArHEC_Base_ID
);
90
91
92
#endif
// LARHEC_ID_H
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
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:67
LArHEC_Base_ID.h
Factor out code common between LArHEC_ID and LArHEC_SuperCell_ID.
IdDictMgr
Definition
IdDictMgr.h:17
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition
LArHEC_Base_ID.h:35
LArHEC_Base_ID::LArHEC_Base_ID
LArHEC_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Definition
LArHEC_Base_ID.cxx:31
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArHEC_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
LArHEC_ID.cxx:23
LArHEC_ID::~LArHEC_ID
virtual ~LArHEC_ID()
LArHEC_ID::LArHEC_ID
LArHEC_ID()
Definition
LArHEC_ID.cxx:16
Generated on
for ATLAS Offline Software by
1.17.0