ATLAS Offline Software
LArEM_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 LAREM_ID_H
6 #define LAREM_ID_H
7 
12 #include "IdDict/IdDictDefs.h"
13 
16 #include "AthenaKernel/BaseInfo.h"
17 
18 #include <vector>
19 #include <algorithm>
20 
115 class Range;
116 
117 class LArEM_ID : public LArEM_Base_ID
118 {
119 public:
120 
122 
123  LArEM_ID(void);
124  ~LArEM_ID(void);
125 
126 
127 
129  virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
130 };
131 
132 //using the macro below we can assign an identifier (and a version)
133 //This is required and checked at compile time when you try to record/retrieve
134 CLASS_DEF( LArEM_ID , 163583365 , 1 )
136 
137 
138 #endif // LAREM_ID_H
LArEM_Base_ID.h
Factor out code common between LArEM_ID and LArEM_SuperCell_ID.
LArEM_ID::~LArEM_ID
~LArEM_ID(void)
LArEM_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArEM_Base_ID.h:38
LArID_Exception.h
LArEM_ID::LArEM_ID
LArEM_ID(void)
Definition: LArEM_ID.cxx:19
LArEM_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: LArEM_ID.cxx:27
IdDictDefs.h
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.
SG_BASE
SG_BASE(LArEM_ID, LArEM_Base_ID)
IdentifierHash.h
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:29
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
LArEM_ID::size_type
Identifier::size_type size_type
Definition: LArEM_ID.h:121
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
CLASS_DEF.h
macros to associate a CLID to a type