ATLAS Offline Software
JTower_ID.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JTOWER_ID_H
6 #define JTOWER_ID_H
7 
12 #include "IdDict/IdDictDefs.h"
13 
15 #include "AthenaKernel/BaseInfo.h"
16 
17 #include <vector>
18 #include <algorithm>
19 
36 class Range;
37 
38 class JTower_ID : public JGTowerBase_ID
39 {
40 public:
41 
43 
44  JTower_ID(void);
45  ~JTower_ID(void);
46 
47 
48 
50  virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
51 };
52 
53 //using the macro below we can assign an identifier (and a version)
54 //This is required and checked at compile time when you try to record/retrieve
55 CLASS_DEF( JTower_ID , 218674799 , 1 )
57 
58 
59 #endif // JTOWER_ID_H
SG_BASE
SG_BASE(JTower_ID, JGTowerBase_ID)
JTower_ID
Helper class for jTower offline identifiers.
Definition: JTower_ID.h:39
JGTowerBase_ID
Definition: JGTowerBase_ID.h:33
JTower_ID::size_type
Identifier::size_type size_type
Definition: JTower_ID.h:42
IdDictDefs.h
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdDictMgr
Definition: IdDictDefs.h:32
BaseInfo.h
Provide an interface for finding inheritance information at run time.
JTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: JTower_ID.cxx:27
IdentifierHash.h
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:27
IdDictFieldImplementation.h
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:64
JTower_ID::JTower_ID
JTower_ID(void)
Definition: JTower_ID.cxx:19
Identifier::size_type
IDENTIFIER_TYPE size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:41
JTower_ID::~JTower_ID
~JTower_ID(void)
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
CLASS_DEF.h
macros to associate a CLID to a type