ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_DCSFloatCondData.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
15
16#ifndef SCT_DCSFLOATCONDDATA_H
17#define SCT_DCSFLOATCONDDATA_H
18
20
21#include <map>
22
31public:
34
36 virtual ~SCT_DCSFloatCondData() = default;
37 //@name main methods
39
40 void setValue(const CondAttrListCollection::ChanNum& chanNum, const float value);
42 bool getValue(const CondAttrListCollection::ChanNum& chanNum, float& value) const;
44 void clear();
46
47private:
48 typedef std::map<CondAttrListCollection::ChanNum, float> FloatConditions;
50};
51
52// Class definition for StoreGate
54CLASS_DEF( SCT_DCSFloatCondData , 234553277 , 1 )
55
56// Condition container definition for CondInputLoader
57#include "AthenaKernel/CondCont.h"
59
60
61#endif // SCT_DCSFLOATCONDDATA_H
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
#define CONDCONT_MIXED_DEF(...)
Definition CondCont.h:1446
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 data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
void setValue(const CondAttrListCollection::ChanNum &chanNum, const float value)
Set a float value for a channel.
void clear()
Clear the m_channelValues.
FloatConditions m_channelValues
bool getValue(const CondAttrListCollection::ChanNum &chanNum, float &value) const
Get the float value for a channel.
virtual ~SCT_DCSFloatCondData()=default
Destructor.
std::map< CondAttrListCollection::ChanNum, float > FloatConditions