ATLAS Offline Software
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 
9 #include "Identifier/Identifier.h"
10 #include "AthenaKernel/CLASS_DEF.h"
11 #include "AthenaKernel/BaseInfo.h"
12 
13 class IdDictMgr;
14 
110 class LArEM_ID : public LArEM_Base_ID
111 {
112 public:
113 
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 )
128 
129 
130 #endif // LAREM_ID_H
LArEM_Base_ID.h
Factor out code common between LArEM_ID and LArEM_SuperCell_ID.
LArEM_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArEM_Base_ID.h:36
LArEM_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: LArEM_ID.cxx:25
CaloIDHelper::size_type
Identifier::size_type size_type
Definition: CaloIDHelper.h:39
IdDictMgr
Definition: IdDictMgr.h:14
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
SG_BASE(LArEM_ID, LArEM_Base_ID)
LArEM_ID::~LArEM_ID
virtual ~LArEM_ID()
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_ID::LArEM_ID
LArEM_ID()
Definition: LArEM_ID.cxx:18
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:111
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
CLASS_DEF.h
macros to associate a CLID to a type