ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
CaloIdentifier
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
8
#include "
CaloIdentifier/LArFCAL_Base_ID.h
"
9
#include "Identifier/Identifier.h"
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
#include "
AthenaKernel/BaseInfo.h
"
12
class
IdDictMgr
;
13
14
46
47
48
class
LArFCAL_ID
:
public
LArFCAL_Base_ID
49
{
50
public
:
51
52
using
size_type
= Identifier::size_type;
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 )
64
SG_BASE
(
LArFCAL_ID
,
LArFCAL_Base_ID
);
65
66
67
#endif
// LARFCAL_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
LArFCAL_Base_ID.h
IdDictMgr
Definition
IdDictMgr.h:17
LArFCAL_Base_ID
Definition
LArFCAL_Base_ID.h:19
LArFCAL_Base_ID::LArFCAL_Base_ID
LArFCAL_Base_ID(const std::string &name, const std::string &group, bool supercell)
Definition
LArFCAL_Base_ID.cxx:21
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArFCAL_ID::~LArFCAL_ID
virtual ~LArFCAL_ID()
LArFCAL_ID::LArFCAL_ID
LArFCAL_ID()
Definition
LArFCAL_ID.cxx:21
LArFCAL_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
LArFCAL_ID.cxx:28
LArFCAL_ID::size_type
Identifier::size_type size_type
Definition
LArFCAL_ID.h:52
Generated on
for ATLAS Offline Software by
1.17.0