ATLAS Offline Software
Loading...
Searching...
No Matches
PixelDCSHVData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
10
11#ifndef PIXELDCSHVDATA_H
12#define PIXELDCSHVDATA_H
13
16
18//class template parameters: lo limit, hi limit, default, invalid
20 public:
21 void defaultVoltage(float v){m_impl.defaultValue(v);}
22 void useDefault(bool b){m_impl.useDefaultValue(b);}
23 void setChannelToDefault(int chanNum){m_impl.setChanToDefault(chanNum);}
24 void setBiasVoltage(int chanNum, float value){ m_impl.setValue(chanNum,value);}
25 //
26 float getBiasVoltage(const int chanNum) const{ return m_impl.getValue(chanNum);}
27 bool useDefault() const {return m_impl.useDefaultValue();}
28 float defaultVoltage() const {return m_impl.defaultValue();}
29 private:
30 //class template parameters: lo limit, hi limit, default, invalid
31 SingleConditionsDatum<float,-1000.f, 1000.f, 150.f, 0.f> m_impl;
32};
33
34CLASS_DEF( PixelDCSHVData , 345932813 , 1 )
35
37
38#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class for single value per channel, with defaults, limits, and invalid value defined.
SingleConditionsDatum< float,-1000.f, 1000.f, 150.f, 0.f > m_impl
void useDefault(bool b)
void defaultVoltage(float v)
void setBiasVoltage(int chanNum, float value)
float defaultVoltage() const
float getBiasVoltage(const int chanNum) const
void setChannelToDefault(int chanNum)
bool useDefault() const