Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalLaserHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_LASER_HANDLER_H
2
#define ECAL_LASER_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
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
28
#include "
CondFormats/EcalObjects/interface/EcalPedestals.h
"
29
#include "
CondFormats/DataRecord/interface/EcalPedestalsRcd.h
"
30
#include "
CondFormats/EcalObjects/interface/EcalLaserAPDPNRatios.h
"
31
#include "
CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRcd.h
"
32
#include "
CondFormats/EcalObjects/interface/EcalLaserAPDPNRatiosRef.h
"
33
#include "
CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRefRcd.h
"
34
#include "
CondFormats/EcalObjects/interface/EcalLaserAlphas.h
"
35
#include "
CondFormats/DataRecord/interface/EcalLaserAlphasRcd.h
"
36
37
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
38
#include "
OnlineDB/EcalCondDB/interface/all_lmf_types.h
"
39
40
#include "
OnlineDB/Oracle/interface/Oracle.h
"
41
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
42
43
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
44
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
45
#include "
DataFormats/Provenance/interface/Timestamp.h
"
46
47
namespace
edm
{
48
class
ParameterSet
;
49
class
Event
;
50
class
EventSetup
;
51
}
52
53
namespace
popcon
54
{
55
class
EcalLaserHandler
:
public
popcon::PopConSourceHandler
<EcalLaserAPDPNRatios>
56
{
57
58
public
:
59
void
getNewObjects()
override
;
60
double
diff
(
float
x,
float
old_x);
61
~
EcalLaserHandler
()
override
;
62
EcalLaserHandler
(
edm::ParameterSet
const
& );
63
64
EcalCondDBInterface
*
econn
;
65
std::string
id
()
const override
{
return
m_name;}
66
void
notifyProblems(
const
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
&old,
67
const
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
¤t,
68
int
hashedIndex
,
const
std::string
&reason);
69
bool
checkAPDPN(
const
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
&old,
70
const
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
¤t,
71
int
hashedIndex);
72
bool
checkAPDPNs(
const
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
&laserMap,
73
const
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
&apdpns_popcon);
74
75
void
dumpBarrelPayload(
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
const
&laserMap);
76
void
dumpEndcapPayload(
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap
const
&laserMap);
77
78
private
:
79
const
EcalLaserAPDPNRatios
*
myapdpns
;
80
unsigned
long
m_sequences
;
81
std::string
m_sid
;
82
std::string
m_user
;
83
std::string
m_pass
;
84
std::string
m_name
;
85
std::string
m_maxtime
;
86
bool
m_debug
;
87
bool
m_fake
;
88
};
89
}
90
#endif
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalLaserHandler::m_maxtime
std::string m_maxtime
Definition:
EcalLaserHandler.h:85
popcon::EcalLaserHandler::myapdpns
const EcalLaserAPDPNRatios * myapdpns
Definition:
EcalLaserHandler.h:79
diffTreeTool.diff
diff
Definition:
diffTreeTool.py:195
ParameterSet
Definition:
Functions.h:16
popcon::EcalLaserHandler::m_debug
bool m_debug
Definition:
EcalLaserHandler.h:86
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EcalPedestals.h
Event.h
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
popcon::EcalLaserHandler::m_sid
std::string m_sid
Definition:
EcalLaserHandler.h:81
EcalPedestalsRcd.h
ParameterSetfwd.h
Oracle.h
ParameterSet.h
popcon::EcalLaserHandler::econn
EcalCondDBInterface * econn
Definition:
EcalLaserHandler.h:64
EcalLaserAPDPNRatiosRefRcd.h
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition:
EcalPyUtils.cc:42
EventSetup
EventSetupRecordKey.h
all_lmf_types.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
EcalLaserAPDPNRatiosRcd.h
ESHandle.h
EcalLaserAPDPNRatios
Definition:
EcalLaserAPDPNRatios.h:14
Service.h
Timestamp.h
popcon::EcalLaserHandler::m_fake
bool m_fake
Definition:
EcalLaserHandler.h:87
popcon::EcalLaserHandler::id
std::string id() const override
Definition:
EcalLaserHandler.h:65
EcalLaserAlphas.h
popcon::EcalLaserHandler::m_sequences
unsigned long m_sequences
Definition:
EcalLaserHandler.h:80
popcon::EcalLaserHandler
Definition:
EcalLaserHandler.h:55
PopConSourceHandler.h
popcon::EcalLaserHandler::m_user
std::string m_user
Definition:
EcalLaserHandler.h:82
EcalLaserAPDPNRatios.h
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
popcon::EcalLaserHandler::m_name
std::string m_name
Definition:
EcalLaserHandler.h:84
EcalLaserAPDPNRatios::EcalLaserAPDPNpair
Definition:
EcalLaserAPDPNRatios.h:16
EcalLaserAlphasRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
EcalCondObjectContainer< EcalLaserAPDPNpair >
popcon::EcalLaserHandler::m_pass
std::string m_pass
Definition:
EcalLaserHandler.h:83
Handle.h
all_monitoring_types.h
EcalLaserAPDPNRatiosRef.h
Generated for CMSSW Reference Manual by
1.8.11