ATLAS Offline Software
LArHEC_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 LARHEC_ID_H
6 #define LARHEC_ID_H
7 
8 
13 #include "IdDict/IdDictDefs.h"
14 
17 #include "AthenaKernel/BaseInfo.h"
18 #include "boost/range/iterator_range.hpp"
19 
20 #include <vector>
21 #include <algorithm>
22 
23 
81 class Range;
82 
83 class LArHEC_ID
84  : public LArHEC_Base_ID
85 {
86 public:
87 
88  LArHEC_ID(void);
89  ~LArHEC_ID(void);
90 
91 
93  virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
94 };
95 
96 //using the macro below we can assign an identifier (and a version)
97 //This is required and checked at compile time when you try to record/retrieve
98 CLASS_DEF( LArHEC_ID , 3870484 , 1 )
100 
101 
102 #endif // LARHEC_ID_H
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArHEC_Base_ID.h:44
LArHEC_Base_ID.h
Factor out code common between LArHEC_ID and LArHEC_SuperCell_ID.
LArID_Exception.h
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
LArHEC_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: LArHEC_ID.cxx:27
LArHEC_ID::LArHEC_ID
LArHEC_ID(void)
Definition: LArHEC_ID.cxx:19
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
SG_BASE
SG_BASE(LArHEC_ID, LArHEC_Base_ID)
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
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
LArHEC_ID::~LArHEC_ID
~LArHEC_ID(void)
CLASS_DEF.h
macros to associate a CLID to a type