ATLAS Offline Software
LArFCAL_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 LARFCAL_ID_H
6 #define LARFCAL_ID_H
7 
9 #include "Identifier/Identifier.h"
10 #include "AthenaKernel/CLASS_DEF.h"
11 #include "AthenaKernel/BaseInfo.h"
12 class IdDictMgr;
13 
14 
49 {
50 public:
51 
53 
54  LArFCAL_ID();
55  virtual ~LArFCAL_ID();
56 
58  virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
59 };
60 
61 //using the macro below we can assign an identifier (and a version)
62 //This is required and checked at compile time when you try to record/retrieve
63 CLASS_DEF( LArFCAL_ID , 45738051 , 1 )
65 
66 
67 #endif // LARFCAL_ID_H
LArFCAL_Base_ID
Definition: LArFCAL_Base_ID.h:19
LArFCAL_Base_ID.h
LArFCAL_ID::LArFCAL_ID
LArFCAL_ID()
Definition: LArFCAL_ID.cxx:23
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.
LArFCAL_ID::~LArFCAL_ID
virtual ~LArFCAL_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
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
SG_BASE
SG_BASE(LArFCAL_ID, LArFCAL_Base_ID)
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:49
CLASS_DEF.h
macros to associate a CLID to a type
LArFCAL_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: LArFCAL_ID.cxx:30