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