CondFormats
EcalObjects
interface
EcalPTMTemperatures.h
Go to the documentation of this file.
1
#ifndef CondFormats_EcalObjects_EcalPTMTemperatures_H
2
#define CondFormats_EcalObjects_EcalPTMTemperatures_H
3
9
#include "
CondFormats/Serialization/interface/Serializable.h
"
10
11
#include <map>
12
#include <cstdint>
13
14
class
EcalPTMTemperatures
{
15
public
:
16
typedef
std::map<uint32_t, float>
EcalPTMTemperatureMap
;
17
18
EcalPTMTemperatures
();
19
~EcalPTMTemperatures
();
20
void
setValue
(
const
uint32_t&
id
,
const
float
&
value
);
21
const
EcalPTMTemperatureMap
&
getMap
()
const
{
return
map_
; }
22
23
private
:
24
EcalPTMTemperatureMap
map_
;
25
26
COND_SERIALIZABLE
;
27
};
28
#endif
EcalPTMTemperatures::setValue
void setValue(const uint32_t &id, const float &value)
Definition:
EcalPTMTemperatures.cc:13
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalPTMTemperatures::~EcalPTMTemperatures
~EcalPTMTemperatures()
Definition:
EcalPTMTemperatures.cc:11
Serializable.h
value
Definition:
value.py:1
EcalPTMTemperatures::getMap
const EcalPTMTemperatureMap & getMap() const
Definition:
EcalPTMTemperatures.h:21
EcalPTMTemperatures
Definition:
EcalPTMTemperatures.h:14
EcalPTMTemperatures::map_
EcalPTMTemperatureMap map_
Definition:
EcalPTMTemperatures.h:24
EcalPTMTemperatures::EcalPTMTemperatureMap
std::map< uint32_t, float > EcalPTMTemperatureMap
Definition:
EcalPTMTemperatures.h:16
EcalPTMTemperatures::EcalPTMTemperatures
EcalPTMTemperatures()
Definition:
EcalPTMTemperatures.cc:9
Generated for CMSSW Reference Manual by
1.8.16