ATLAS Offline Software
JTower_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 JTOWER_ID_H
6 #define JTOWER_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 JTower_ID : public JGTowerBase_ID
34 {
35 public:
37 
38  JTower_ID();
39  virtual ~JTower_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( JTower_ID , 218674799 , 1 )
50 
51 
52 #endif // JTOWER_ID_H
SG_BASE
SG_BASE(JTower_ID, JGTowerBase_ID)
JTower_ID
Helper class for jTower offline identifiers.
Definition: JTower_ID.h:34
JGTowerBase_ID
Definition: JGTowerBase_ID.h:31
JTower_ID::~JTower_ID
virtual ~JTower_ID()
IdDictMgr
Definition: IdDictMgr.h:14
BaseInfo.h
Provide an interface for finding inheritance information at run time.
JGTowerBase_ID::size_type
Identifier::size_type size_type
Definition: JGTowerBase_ID.h:35
JTower_ID::JTower_ID
JTower_ID()
Definition: JTower_ID.cxx:18
JTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: JTower_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
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
CLASS_DEF.h
macros to associate a CLID to a type