CondTools
Ecal
interface
EcalDAQHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_DAQ_HANDLER_H
2
#define ECAL_DAQ_HANDLER_H
3
4
#include <vector>
5
#include <typeinfo>
6
#include <string>
7
#include <map>
8
#include <iostream>
9
#include <ctime>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
#include "
FWCore/ServiceRegistry/interface/Service.h
"
15
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
24
25
#include "
CondFormats/EcalObjects/interface/EcalDAQTowerStatus.h
"
26
#include "
CondFormats/DataRecord/interface/EcalDAQTowerStatusRcd.h
"
27
28
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
29
#include "
OnlineDB/Oracle/interface/Oracle.h
"
30
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
31
32
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
33
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
34
#include "
DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h
"
35
#include "
DataFormats/EcalDetId/interface/EcalScDetId.h
"
36
#include "
DataFormats/Provenance/interface/Timestamp.h
"
37
38
namespace
edm
{
39
class
ParameterSet
;
40
class
Event
;
41
class
EventSetup
;
42
}
// namespace edm
43
44
namespace
popcon
{
45
class
EcalDAQHandler
:
public
popcon::PopConSourceHandler
<EcalDAQTowerStatus> {
46
public
:
47
EcalDAQHandler
(
edm::ParameterSet
const
&);
48
~EcalDAQHandler
()
override
;
49
50
void
getNewObjects
()
override
;
51
std::string
id
()
const override
{
return
m_name
; }
52
EcalCondDBInterface
*
econn
;
53
54
int
detIDToLogicID
(
int
,
int
,
int
);
55
uint16_t
OffDBStatus
(uint16_t dbStatus,
int
pos
);
56
57
private
:
58
unsigned
long
m_firstRun
;
59
unsigned
long
m_lastRun
;
60
std::string
m_sid
;
61
std::string
m_user
;
62
std::string
m_pass
;
63
std::string
m_name
;
64
std::string
m_location
;
65
std::string
m_runtype
;
66
std::string
m_gentag
;
67
bool
m_debug
;
68
};
69
}
// namespace popcon
70
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalDAQHandler::EcalDAQHandler
EcalDAQHandler(edm::ParameterSet const &)
Definition:
EcalDAQHandler.cc:409
MessageLogger.h
ESHandle.h
popcon::EcalDAQHandler::id
std::string id() const override
Definition:
EcalDAQHandler.h:51
edm
HLT enums.
Definition:
AlignableModifier.h:19
popcon::EcalDAQHandler::m_user
std::string m_user
Definition:
EcalDAQHandler.h:61
pos
Definition:
PixelAliasList.h:18
EBDetId.h
EEDetId.h
popcon::EcalDAQHandler::OffDBStatus
uint16_t OffDBStatus(uint16_t dbStatus, int pos)
Definition:
EcalDAQHandler.cc:427
EcalDAQTowerStatusRcd.h
popcon::EcalDAQHandler::econn
EcalCondDBInterface * econn
Definition:
EcalDAQHandler.h:52
popcon::EcalDAQHandler::m_gentag
std::string m_gentag
Definition:
EcalDAQHandler.h:66
popcon::EcalDAQHandler::m_lastRun
unsigned long m_lastRun
Definition:
EcalDAQHandler.h:59
popcon::EcalDAQHandler::m_runtype
std::string m_runtype
Definition:
EcalDAQHandler.h:65
MakerMacros.h
popcon::EcalDAQHandler
Definition:
EcalDAQHandler.h:45
PoolDBOutputService.h
popcon::EcalDAQHandler::m_sid
std::string m_sid
Definition:
EcalDAQHandler.h:60
Service.h
Event
popcon::EcalDAQHandler::detIDToLogicID
int detIDToLogicID(int, int, int)
EcalTrigTowerDetId.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
all_monitoring_types.h
popcon::EcalDAQHandler::getNewObjects
void getNewObjects() override
Definition:
EcalDAQHandler.cc:434
edm::ParameterSet
Definition:
ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition:
Functions.h:16
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
EcalDAQTowerStatus.h
popcon::EcalDAQHandler::m_firstRun
unsigned long m_firstRun
Definition:
EcalDAQHandler.h:58
popcon::EcalDAQHandler::m_debug
bool m_debug
Definition:
EcalDAQHandler.h:67
popcon::EcalDAQHandler::~EcalDAQHandler
~EcalDAQHandler() override
Definition:
EcalDAQHandler.cc:425
popcon
Definition:
Exception.h:6
EcalScDetId.h
ParameterSetfwd.h
EventSetup.h
popcon::EcalDAQHandler::m_pass
std::string m_pass
Definition:
EcalDAQHandler.h:62
Oracle.h
EventSetup
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalDAQHandler::m_name
std::string m_name
Definition:
EcalDAQHandler.h:63
EcalCondDBInterface.h
popcon::EcalDAQHandler::m_location
std::string m_location
Definition:
EcalDAQHandler.h:64
Generated for CMSSW Reference Manual by
1.8.16