ATLAS Offline Software
Loading...
Searching...
No Matches
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"
12class IdDictMgr;
13
14
46
47
49{
50public:
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
63CLASS_DEF( LArFCAL_ID , 45738051 , 1 )
65
66
67#endif // LARFCAL_ID_H
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
LArFCAL_Base_ID(const std::string &name, const std::string &group, bool supercell)
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
virtual ~LArFCAL_ID()
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Identifier::size_type size_type
Definition LArFCAL_ID.h:52