ATLAS Offline Software
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"
10 #include "AthenaKernel/CLASS_DEF.h"
11 #include "AthenaKernel/BaseInfo.h"
12 
13 class IdDictMgr;
14 
15 
33 class GTower_ID : public JGTowerBase_ID
34 {
35 public:
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
48 CLASS_DEF( GTower_ID , 49678914 , 1 )
50 
51 
52 #endif // GTOWER_ID_H
GTower_ID::~GTower_ID
virtual ~GTower_ID()
JGTowerBase_ID
Definition: JGTowerBase_ID.h:31
IdDictMgr
Definition: IdDictMgr.h:14
BaseInfo.h
Provide an interface for finding inheritance information at run time.
GTower_ID::size_type
Identifier::size_type size_type
Definition: GTower_ID.h:36
GTower_ID::GTower_ID
GTower_ID()
Definition: GTower_ID.cxx:18
GTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: GTower_ID.cxx:25
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
SG_BASE
SG_BASE(GTower_ID, JGTowerBase_ID)
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
GTower_ID
Helper class for jTower offline identifiers.
Definition: GTower_ID.h:34
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
CLASS_DEF.h
macros to associate a CLID to a type