ATLAS Offline Software
Loading...
Searching...
No Matches
GTower_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 GTOWER_ID_H
6#define GTOWER_ID_H
7
9#include "Identifier/Identifier.h"
12
13class IdDictMgr;
14
15
31
32
34{
35public:
36 using size_type = Identifier::size_type;
37
38 GTower_ID();
39 virtual ~GTower_ID();
40
41
43 virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
44};
45
46//using the macro below we can assign an identifier (and a version)
47//This is required and checked at compile time when you try to record/retrieve
48CLASS_DEF( GTower_ID , 49678914 , 1 )
50
51
52#endif // GTOWER_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 JTower_ID and GTower_ID.
Helper class for jTower offline identifiers.
Definition GTower_ID.h:34
Identifier::size_type size_type
Definition GTower_ID.h:36
virtual ~GTower_ID()
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition GTower_ID.cxx:23
JGTowerBase_ID(const std::string &name, const std::string &group)