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