DQM
EcalCommon
interface
StatusManager.h
Go to the documentation of this file.
1
#ifndef StatusManager_H
2
#define StatusManager_H
3
4
#include <cstdint>
5
#include <iostream>
6
#include <map>
7
#include <vector>
8
9
#include "
CondFormats/EcalObjects/interface/EcalDQMChannelStatus.h
"
10
#include "
CondFormats/EcalObjects/interface/EcalDQMTowerStatus.h
"
11
12
namespace
ecaldqm
{
13
14
class
StatusManager
{
15
public
:
16
StatusManager
();
17
~StatusManager
() {}
18
19
void
readFromStream
(std::istream &);
20
void
readFromObj
(
EcalDQMChannelStatus
const
&,
EcalDQMTowerStatus
const
&);
21
void
writeToStream
(std::ostream &)
const
;
22
void
writeToObj
(
EcalDQMChannelStatus
&,
EcalDQMTowerStatus
&)
const
;
23
24
uint32_t
getStatus
(uint32_t)
const
;
25
26
private
:
27
std::map<std::string, uint32_t>
dictionary_
;
28
std::map<uint32_t, uint32_t>
status_
;
29
};
30
31
}
// namespace ecaldqm
32
33
#endif
ecaldqm
Definition:
DQWorker.h:24
EcalDQMTowerStatus.h
EcalCondObjectContainer< EcalDQMStatusCode >
ecaldqm::StatusManager::readFromStream
void readFromStream(std::istream &)
Definition:
StatusManager.cc:124
ecaldqm::StatusManager::StatusManager
StatusManager()
Definition:
StatusManager.cc:20
EcalCondTowerObjectContainer< EcalDQMStatusCode >
ecaldqm::StatusManager::readFromObj
void readFromObj(EcalDQMChannelStatus const &, EcalDQMTowerStatus const &)
Definition:
StatusManager.cc:200
ecaldqm::StatusManager::~StatusManager
~StatusManager()
Definition:
StatusManager.h:17
ecaldqm::StatusManager::writeToStream
void writeToStream(std::ostream &) const
Definition:
StatusManager.cc:222
ecaldqm::StatusManager::writeToObj
void writeToObj(EcalDQMChannelStatus &, EcalDQMTowerStatus &) const
Definition:
StatusManager.cc:224
ecaldqm::StatusManager::getStatus
uint32_t getStatus(uint32_t) const
Definition:
StatusManager.cc:246
ecaldqm::StatusManager::dictionary_
std::map< std::string, uint32_t > dictionary_
Definition:
StatusManager.h:27
ecaldqm::StatusManager
Definition:
StatusManager.h:14
ecaldqm::StatusManager::status_
std::map< uint32_t, uint32_t > status_
Definition:
StatusManager.h:28
EcalDQMChannelStatus.h
Generated for CMSSW Reference Manual by
1.8.16