ATLAS Offline Software
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 
10 #include "AthenaKernel/CLASS_DEF.h"
11 #include "AthenaKernel/BaseInfo.h"
12 
13 class IdDictMgr;
14 
15 
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 )
90 
91 
92 #endif // LARHEC_ID_H
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArHEC_Base_ID.h:36
LArHEC_Base_ID.h
Factor out code common between LArHEC_ID and LArHEC_SuperCell_ID.
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:25
LArHEC_ID::LArHEC_ID
LArHEC_ID()
Definition: LArHEC_ID.cxx:18
IdDictMgr
Definition: IdDictMgr.h:14
SG_BASE
SG_BASE(LArHEC_ID, LArHEC_Base_ID)
BaseInfo.h
Provide an interface for finding inheritance information at run time.
LArHEC_ID::~LArHEC_ID
virtual ~LArHEC_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
CLASS_DEF.h
macros to associate a CLID to a type