ATLAS Offline Software
LArFebRodMapping.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef LARRECCONDITIONS_LARFEBRODMAPPING_H
8 #define LARRECCONDITIONS_LARFEBRODMAPPING_H
9 
11 #include "Identifier/Identifier.h"
13 #include <vector>
14 
15 class LArOnlineID;
16 
18 
19  friend class LArFebRodMappingAlg; //The conditions alg filling this object
20 
21  public:
22  LArFebRodMapping()=delete;
23  LArFebRodMapping(const LArOnlineID* onlineId);
24 
27 
31  const std::vector<HWIdentifier>& getLArRoModIDvec() const;
32 
33  private:
36  std::vector<HWIdentifier> m_readoutModuleIDVec;
37 
38 };
39 
40 
41 //Inline methods:
44 }
45 
46 inline const std::vector<HWIdentifier>& LArFebRodMapping::getLArRoModIDvec() const {
47  return m_readoutModuleIDVec;
48 }
49 
50 #include "AthenaKernel/CLASS_DEF.h"
51 CLASS_DEF( LArFebRodMapping, 204177791 , 1)
52 #include "AthenaKernel/CondCont.h"
54 
55 #endif
LArFebRodMapping
Definition: LArFebRodMapping.h:17
LArFebRodMapping::getReadoutModuleID
HWIdentifier getReadoutModuleID(const HWIdentifier &id) const
Definition: LArFebRodMapping.cxx:15
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
HWIdentifier
Definition: HWIdentifier.h:13
LArFebRodMapping::m_onlineId
const LArOnlineID * m_onlineId
Definition: LArFebRodMapping.h:34
LArFebRodMappingAlg
Definition: LArFebRodMappingAlg.h:17
LArFebRodMapping::m_pFebHashtoROD
const uint32_t * m_pFebHashtoROD
Definition: LArFebRodMapping.h:35
LArFebRodMapping::LArFebRodMapping
LArFebRodMapping()=delete
LArFebRodMapping::getLArRoModIDvec
const std::vector< HWIdentifier > & getLArRoModIDvec() const
"iterator" on LArReadoutModuleIDs
Definition: LArFebRodMapping.h:46
HWIdentifier.h
IdentifierHash.h
LArFebRodMapping::m_readoutModuleIDVec
std::vector< HWIdentifier > m_readoutModuleIDVec
Definition: LArFebRodMapping.h:36
LArOnlineID
Definition: LArOnlineID.h:20
LArFebRodMapping::getReadoutModuleIDFromHash
HWIdentifier getReadoutModuleIDFromHash(const IdentifierHash h) const
Definition: LArFebRodMapping.h:42
CondCont< LArFebRodMapping >
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
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
CLASS_DEF.h
macros to associate a CLID to a type