ATLAS Offline Software
LArFEBTempData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRECCONDITIONS_LARFEBTEMPDATA_H
6 #define LARRECCONDITIONS_LARFEBTEMPDATA_H
7 
9 #include <vector>
10 #include <map>
11 
13 
14  friend class LArFEBTempAlg; //The conditions alg filling this object
15 
16  public:
17 
18  typedef std::pair<float,float> FEBTemp;
20 
21  // Given a FEB ID, return std::vector of temp1 and temp2 values
22  FEBTemp getFebTemp( const HWIdentifier& id ) const ;
23 
24 
25  private:
26  std::map<HWIdentifier,FEBTemp> m_mapVec;
27 
28 };
29 
30 
31 //Inline methods:
33  return m_mapVec.at(h);
34 }
35 
36 #include "AthenaKernel/CLASS_DEF.h"
37 CLASS_DEF( LArFEBTempData, 37052556, 1)
38 #include "AthenaKernel/CondCont.h"
40 
41 #endif
LArFEBTempData::FEBTemp
std::pair< float, float > FEBTemp
Definition: LArFEBTempData.h:18
LArFEBTempAlg
Definition: LArFEBTempAlg.h:14
HWIdentifier
Definition: HWIdentifier.h:13
FEBTemp
std::vector< std::pair< float, float > > FEBTemp
Definition: ILArFEBTempTool.h:27
LArFEBTempData::getFebTemp
FEBTemp getFebTemp(const HWIdentifier &id) const
Definition: LArFEBTempData.h:32
LArFEBTempData::m_mapVec
std::map< HWIdentifier, FEBTemp > m_mapVec
Definition: LArFEBTempData.h:26
LArFEBTempData::LArFEBTempData
LArFEBTempData()
Definition: LArFEBTempData.h:19
LArFEBTempData
Definition: LArFEBTempData.h:12
HWIdentifier.h
CondCont< LArFEBTempData >
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
CLASS_DEF.h
macros to associate a CLID to a type