ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
CaloIdentifier
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
8
#include "
CaloIdentifier/JGTowerBase_ID.h
"
9
#include "Identifier/Identifier.h"
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
#include "
AthenaKernel/BaseInfo.h
"
12
13
class
IdDictMgr
;
14
15
31
32
33
class
JTower_ID
:
public
JGTowerBase_ID
34
{
35
public
:
36
using
size_type
= Identifier::size_type;
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 )
49
SG_BASE
(
JTower_ID
,
JGTowerBase_ID
);
50
51
52
#endif
// JTOWER_ID_H
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
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
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
IdDictMgr
Definition
IdDictMgr.h:17
JGTowerBase_ID
Definition
JGTowerBase_ID.h:31
JGTowerBase_ID::JGTowerBase_ID
JGTowerBase_ID(const std::string &name, const std::string &group)
Definition
JGTowerBase_ID.cxx:25
JTower_ID
Helper class for jTower offline identifiers.
Definition
JTower_ID.h:34
JTower_ID::~JTower_ID
virtual ~JTower_ID()
JTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
JTower_ID.cxx:25
JTower_ID::size_type
Identifier::size_type size_type
Definition
JTower_ID.h:36
JTower_ID::JTower_ID
JTower_ID()
Definition
JTower_ID.cxx:18
Generated on
for ATLAS Offline Software by
1.17.0