CondFormats
EcalObjects
interface
EcalTPGOddWeightIdMap.h
Go to the documentation of this file.
1
#ifndef EcalTPGOddWeightIdMap_h
2
#define EcalTPGOddWeightIdMap_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
EcalTPGOddWeightIdMap
{
11
public
:
12
typedef
std::map<uint32_t, EcalTPGWeights>
EcalTPGWeightMap
;
13
typedef
std::map<uint32_t, EcalTPGWeights>::const_iterator
EcalTPGWeightMapItr
;
14
15
EcalTPGOddWeightIdMap
();
16
~EcalTPGOddWeightIdMap
();
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
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
EcalTPGOddWeightIdMap::EcalTPGWeightMap
std::map< uint32_t, EcalTPGWeights > EcalTPGWeightMap
Definition:
EcalTPGOddWeightIdMap.h:12
EcalTPGOddWeightIdMap::setValue
void setValue(const uint32_t &id, const EcalTPGWeights &value)
Definition:
EcalTPGOddWeightIdMap.cc:7
EcalTPGOddWeightIdMap::EcalTPGOddWeightIdMap
EcalTPGOddWeightIdMap()
Definition:
EcalTPGOddWeightIdMap.cc:3
EcalTPGOddWeightIdMap
Definition:
EcalTPGOddWeightIdMap.h:10
EcalTPGOddWeightIdMap::map_
EcalTPGWeightMap map_
Definition:
EcalTPGOddWeightIdMap.h:22
EcalTPGOddWeightIdMap::~EcalTPGOddWeightIdMap
~EcalTPGOddWeightIdMap()
Definition:
EcalTPGOddWeightIdMap.cc:5
Serializable.h
value
Definition:
value.py:1
EcalTPGWeights
Definition:
EcalTPGWeights.h:9
EcalTPGOddWeightIdMap::getMap
const EcalTPGWeightMap & getMap() const
Definition:
EcalTPGOddWeightIdMap.h:18
EcalTPGOddWeightIdMap::EcalTPGWeightMapItr
std::map< uint32_t, EcalTPGWeights >::const_iterator EcalTPGWeightMapItr
Definition:
EcalTPGOddWeightIdMap.h:13
Generated for CMSSW Reference Manual by
1.8.16