Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 <time.h>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
15
#include "
FWCore/ServiceRegistry/interface/Service.h
"
16
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
DataFormats/Common/interface/Handle.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
25
26
27
#include "
CondFormats/EcalObjects/interface/EcalDAQTowerStatus.h
"
28
#include "
CondFormats/DataRecord/interface/EcalDAQTowerStatusRcd.h
"
29
30
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
31
#include "
OnlineDB/Oracle/interface/Oracle.h
"
32
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
33
34
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
35
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
36
#include "
DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h
"
37
#include "
DataFormats/EcalDetId/interface/EcalScDetId.h
"
38
#include "
DataFormats/Provenance/interface/Timestamp.h
"
39
40
41
namespace
edm {
42
class
ParameterSet
;
43
class
Event
;
44
class
EventSetup
;
45
}
46
47
namespace
popcon {
48
class
EcalDAQHandler
:
public
popcon::PopConSourceHandler
<EcalDAQTowerStatus>
49
{
50
public
:
51
EcalDAQHandler
(
edm::ParameterSet
const
& );
52
~EcalDAQHandler
();
53
54
void
getNewObjects
();
55
std::string
id
()
const
{
return
m_name
;}
56
EcalCondDBInterface
*
econn
;
57
58
int
detIDToLogicID
(
int
,
int
,
int
);
59
uint16_t
OffDBStatus
( uint16_t dbStatus ,
int
pos ) ;
60
61
private
:
62
unsigned
long
m_firstRun
;
63
unsigned
long
m_lastRun
;
64
std::string
m_sid
;
65
std::string
m_user
;
66
std::string
m_pass
;
67
std::string
m_name
;
68
std::string
m_location
;
69
std::string
m_runtype
;
70
std::string
m_gentag
;
71
bool
m_debug
;
72
};
73
}
74
#endif
75
popcon::EcalDAQHandler::EcalDAQHandler
EcalDAQHandler(edm::ParameterSet const &)
Definition:
EcalDAQHandler.cc:132
popcon::EcalDAQHandler::m_lastRun
unsigned long m_lastRun
Definition:
EcalDAQHandler.h:63
MessageLogger.h
EcalCondDBInterface.h
EcalDAQTowerStatus.h
popcon::EcalDAQHandler::m_name
std::string m_name
Definition:
EcalDAQHandler.h:67
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
ParameterSet
Definition:
Functions.h:16
Event.h
MakerMacros.h
EventSetup.h
Handle.h
popcon::EcalDAQHandler::m_location
std::string m_location
Definition:
EcalDAQHandler.h:68
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Oracle.h
ParameterSet.h
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
PoolDBOutputService.h
popcon::EcalDAQHandler::econn
EcalCondDBInterface * econn
Definition:
EcalDAQHandler.h:56
popcon::EcalDAQHandler
Definition:
EcalDAQHandler.h:48
popcon::EcalDAQHandler::getNewObjects
void getNewObjects()
Definition:
EcalDAQHandler.cc:161
ESHandle.h
Service.h
popcon::EcalDAQHandler::id
std::string id() const
Definition:
EcalDAQHandler.h:55
Timestamp.h
popcon::EcalDAQHandler::m_user
std::string m_user
Definition:
EcalDAQHandler.h:65
popcon::EcalDAQHandler::~EcalDAQHandler
~EcalDAQHandler()
Definition:
EcalDAQHandler.cc:150
PopConSourceHandler.h
popcon::EcalDAQHandler::m_firstRun
unsigned long m_firstRun
Definition:
EcalDAQHandler.h:62
EcalDAQTowerStatusRcd.h
EcalScDetId.h
Event
popcon::EcalDAQHandler::m_sid
std::string m_sid
Definition:
EcalDAQHandler.h:64
popcon::EcalDAQHandler::OffDBStatus
uint16_t OffDBStatus(uint16_t dbStatus, int pos)
Definition:
EcalDAQHandler.cc:154
popcon::EcalDAQHandler::m_pass
std::string m_pass
Definition:
EcalDAQHandler.h:66
edm::ParameterSet
Definition:
ParameterSet.h:35
EBDetId.h
popcon::EcalDAQHandler::detIDToLogicID
int detIDToLogicID(int, int, int)
EEDetId.h
popcon::EcalDAQHandler::m_gentag
std::string m_gentag
Definition:
EcalDAQHandler.h:70
EcalTrigTowerDetId.h
popcon::EcalDAQHandler::m_debug
bool m_debug
Definition:
EcalDAQHandler.h:71
popcon::EcalDAQHandler::m_runtype
std::string m_runtype
Definition:
EcalDAQHandler.h:69
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.5