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