ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsData
SCT_ConditionsData
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
19
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
20
21
#include <map>
22
30
class
SCT_DCSFloatCondData
{
31
public
:
33
SCT_DCSFloatCondData
();
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
47
private
:
48
typedef
std::map<CondAttrListCollection::ChanNum, float>
FloatConditions
;
49
FloatConditions
m_channelValues
;
50
};
51
52
// Class definition for StoreGate
53
#include "
AthenaKernel/CLASS_DEF.h
"
54
CLASS_DEF
(
SCT_DCSFloatCondData
, 234553277 , 1 )
55
56
// Condition container definition for CondInputLoader
57
#include "AthenaKernel/CondCont.h"
58
CONDCONT_MIXED_DEF
(
SCT_DCSFloatCondData
, 257878639 );
59
60
61
#endif
// SCT_DCSFLOATCONDDATA_H
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CONDCONT_MIXED_DEF
#define CONDCONT_MIXED_DEF(...)
Definition
CondCont.h:1446
CLASS_DEF.h
macros to associate a CLID to a type
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:67
CondAttrListCollection::ChanNum
unsigned int ChanNum
Definition
CondAttrListCollection.h:54
SCT_DCSFloatCondData
Class for data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
Definition
SCT_DCSFloatCondData.h:30
SCT_DCSFloatCondData::setValue
void setValue(const CondAttrListCollection::ChanNum &chanNum, const float value)
Set a float value for a channel.
Definition
SCT_DCSFloatCondData.cxx:19
SCT_DCSFloatCondData::clear
void clear()
Clear the m_channelValues.
Definition
SCT_DCSFloatCondData.cxx:37
SCT_DCSFloatCondData::m_channelValues
FloatConditions m_channelValues
Definition
SCT_DCSFloatCondData.h:49
SCT_DCSFloatCondData::getValue
bool getValue(const CondAttrListCollection::ChanNum &chanNum, float &value) const
Get the float value for a channel.
Definition
SCT_DCSFloatCondData.cxx:25
SCT_DCSFloatCondData::~SCT_DCSFloatCondData
virtual ~SCT_DCSFloatCondData()=default
Destructor.
SCT_DCSFloatCondData::SCT_DCSFloatCondData
SCT_DCSFloatCondData()
Constructor.
Definition
SCT_DCSFloatCondData.cxx:12
SCT_DCSFloatCondData::FloatConditions
std::map< CondAttrListCollection::ChanNum, float > FloatConditions
Definition
SCT_DCSFloatCondData.h:48
Generated on
for ATLAS Offline Software by
1.17.0