ATLAS Offline Software
PixelDCSHVData.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 PIXELDCSHVDATA_H
12 #define PIXELDCSHVDATA_H
13 
14 #include "AthenaKernel/CLASS_DEF.h"
15 #include <unordered_map>
16 
17 #include "AthenaKernel/CondCont.h"
18 
20  public:
21  void setBiasVoltage(const int chanNum, const float value);
22  float getBiasVoltage(const int chanNum) const;
23 
24  private:
25  typedef std::unordered_map<int, float> FloatConditions;
27 };
28 
29 CLASS_DEF( PixelDCSHVData , 345932813 , 1 )
30 
32 
33 #endif
PixelDCSHVData::FloatConditions
std::unordered_map< int, float > FloatConditions
Definition: PixelDCSHVData.h:25
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
CONDCONT_DEF(PixelDCSHVData, 578988313)
athena.value
value
Definition: athena.py:124
PixelDCSHVData
Definition: PixelDCSHVData.h:19
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
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
PixelDCSHVData::m_biasVoltage
FloatConditions m_biasVoltage
Definition: PixelDCSHVData.h:26
PixelDCSHVData::getBiasVoltage
float getBiasVoltage(const int chanNum) const
Definition: PixelDCSHVData.cxx:11
CLASS_DEF.h
macros to associate a CLID to a type
PixelDCSHVData::setBiasVoltage
void setBiasVoltage(const int chanNum, const float value)
Definition: PixelDCSHVData.cxx:7