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