ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
CaloIdentifier
LArEM_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 LAREM_ID_H
6
#define LAREM_ID_H
7
8
#include "
CaloIdentifier/LArEM_Base_ID.h
"
9
#include "Identifier/Identifier.h"
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
#include "
AthenaKernel/BaseInfo.h
"
12
13
class
IdDictMgr
;
14
108
109
110
class
LArEM_ID
:
public
LArEM_Base_ID
111
{
112
public
:
113
114
using
size_type
= Identifier::size_type;
115
116
LArEM_ID
();
117
virtual
~LArEM_ID
();
118
119
121
virtual
int
initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr);
122
};
123
124
//using the macro below we can assign an identifier (and a version)
125
//This is required and checked at compile time when you try to record/retrieve
126
CLASS_DEF
(
LArEM_ID
, 163583365 , 1 )
127
SG_BASE
(
LArEM_ID
,
LArEM_Base_ID
);
128
129
130
#endif
// LAREM_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
LArEM_Base_ID.h
Factor out code common between LArEM_ID and LArEM_SuperCell_ID.
IdDictMgr
Definition
IdDictMgr.h:17
LArEM_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition
LArEM_Base_ID.h:36
LArEM_Base_ID::LArEM_Base_ID
LArEM_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Definition
LArEM_Base_ID.cxx:26
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArEM_ID::LArEM_ID
LArEM_ID()
Definition
LArEM_ID.cxx:16
LArEM_ID::~LArEM_ID
virtual ~LArEM_ID()
LArEM_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
LArEM_ID.cxx:23
LArEM_ID::size_type
Identifier::size_type size_type
Definition
LArEM_ID.h:114
Generated on
for ATLAS Offline Software by
1.17.0