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