ATLAS Offline Software
GTower_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 GTOWER_ID_H
6 #define GTOWER_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 GTower_ID : public JGTowerBase_ID
39 {
40 public:
41 
43 
44  GTower_ID(void);
45  ~GTower_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( GTower_ID , 49678914 , 1 )
57 
58 
59 #endif // GTOWER_ID_H
JGTowerBase_ID
Definition: JGTowerBase_ID.h:33
IdDictDefs.h
GTower_ID::~GTower_ID
~GTower_ID(void)
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdDictMgr
Definition: IdDictMgr.h:14
BaseInfo.h
Provide an interface for finding inheritance information at run time.
IdentifierHash.h
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:29
GTower_ID::GTower_ID
GTower_ID(void)
Definition: GTower_ID.cxx:19
IdDictFieldImplementation.h
GTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: GTower_ID.cxx:27
GTower_ID::size_type
Identifier::size_type size_type
Definition: GTower_ID.h:42
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
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:39
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
CLASS_DEF.h
macros to associate a CLID to a type