ATLAS Offline Software
Loading...
Searching...
No Matches
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"
12
13class IdDictMgr;
14
108
109
111{
112public:
113
114 using size_type = Identifier::size_type;
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
126CLASS_DEF( LArEM_ID , 163583365 , 1 )
128
129
130#endif // LAREM_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
Factor out code common between LArEM_ID and LArEM_SuperCell_ID.
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
LArEM_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
virtual ~LArEM_ID()
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition LArEM_ID.cxx:23
Identifier::size_type size_type
Definition LArEM_ID.h:114