ATLAS Offline Software
PixelDCSTempData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
11 #ifndef PIXELDCSTEMPDATA_H
12 #define PIXELDCSTEMPDATA_H
13 
14 #include "AthenaKernel/CLASS_DEF.h"
15 #include <unordered_map>
16 
17 #include "AthenaKernel/CondCont.h"
18 
20  public:
21  void setTemperature(const int chanNum, const float value);
22  float getTemperature(const int chanNum) const;
23 
24  private:
25  typedef std::unordered_map<int, float> FloatConditions;
27 };
28 
29 CLASS_DEF( PixelDCSTempData , 345932822 , 1 )
30 
32 
33 #endif
CondCont.h
Hold mappings of ranges to condition objects.
athena.value
value
Definition: athena.py:122
PixelDCSTempData
Definition: PixelDCSTempData.h:19
PixelDCSTempData::m_temperature
FloatConditions m_temperature
Definition: PixelDCSTempData.h:26
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelDCSTempData::FloatConditions
std::unordered_map< int, float > FloatConditions
Definition: PixelDCSTempData.h:25
CONDCONT_DEF
CONDCONT_DEF(PixelDCSTempData, 578988322)
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
PixelDCSTempData::setTemperature
void setTemperature(const int chanNum, const float value)
Definition: PixelDCSTemp.cxx:7
CLASS_DEF.h
macros to associate a CLID to a type
PixelDCSTempData::getTemperature
float getTemperature(const int chanNum) const
Definition: PixelDCSTemp.cxx:11