Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalPedestalsHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_PEDESTALS_HANDLER_H
2
#define ECAL_PEDESTALS_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/Oracle/interface/Oracle.h
"
39
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
40
41
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
42
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
43
#include "
DataFormats/Provenance/interface/Timestamp.h
"
44
45
namespace
edm
{
46
class
ParameterSet
;
47
class
Event
;
48
class
EventSetup
;
49
}
50
51
namespace
popcon
{
52
53
class
EcalPedestalsHandler
:
public
popcon::PopConSourceHandler
<EcalPedestals> {
54
55
public
:
56
EcalPedestalsHandler
(
edm::ParameterSet
const
& );
57
~
EcalPedestalsHandler
()
override
;
58
bool
checkPedestal(
EcalPedestals::Item
* item);
59
void
getNewObjects()
override
;
60
void
getNewObjectsP5();
61
void
getNewObjectsH2();
62
void
readPedestalFile();
63
void
readPedestalTree();
64
void
readPedestalTimestamp();
65
void
readPedestal2017();
66
std::string
id
()
const override
{
return
m_name;}
67
EcalCondDBInterface
*
econn
;
68
69
private
:
70
const
EcalPedestals
*
mypedestals
;
71
72
unsigned
int
m_firstRun
;
73
unsigned
int
m_lastRun
;
74
75
std::string
m_location
;
76
std::string
m_gentag
;
77
std::string
m_runtag
;
78
std::string
m_sid
;
79
std::string
m_user
;
80
std::string
m_pass
;
81
std::string
m_locationsource
;
82
std::string
m_name
;
83
std::string
m_filename
;
84
int
m_runtype
;
85
86
};
87
}
88
#endif
89
MessageLogger.h
EcalCondDBInterface.h
popcon::EcalPedestalsHandler::m_user
std::string m_user
Definition:
EcalPedestalsHandler.h:79
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalPedestalsHandler::id
std::string id() const override
Definition:
EcalPedestalsHandler.h:66
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
popcon::EcalPedestalsHandler::m_location
std::string m_location
Definition:
EcalPedestalsHandler.h:75
EcalPedestals.h
Event.h
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
popcon::EcalPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPedestalsHandler.h:72
EcalPedestalsRcd.h
ParameterSetfwd.h
popcon::EcalPedestalsHandler
Definition:
EcalPedestalsHandler.h:53
popcon::EcalPedestalsHandler::m_pass
std::string m_pass
Definition:
EcalPedestalsHandler.h:80
Oracle.h
ParameterSet.h
EcalLaserAPDPNRatiosRefRcd.h
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
EcalLaserAPDPNRatiosRcd.h
popcon::EcalPedestalsHandler::econn
EcalCondDBInterface * econn
Definition:
EcalPedestalsHandler.h:67
EcalPedestalsHandler
EcalCondHandler< EcalPedestals, EcalPedestalsXMLTranslator > EcalPedestalsHandler
Definition:
EcalCondAnalyzers.cc:58
ESHandle.h
Service.h
popcon::EcalPedestalsHandler::m_filename
std::string m_filename
Definition:
EcalPedestalsHandler.h:83
popcon::EcalPedestalsHandler::m_runtype
int m_runtype
Definition:
EcalPedestalsHandler.h:84
Timestamp.h
popcon::EcalPedestalsHandler::m_runtag
std::string m_runtag
Definition:
EcalPedestalsHandler.h:77
popcon::EcalPedestalsHandler::m_locationsource
std::string m_locationsource
Definition:
EcalPedestalsHandler.h:81
EcalLaserAlphas.h
popcon::EcalPedestalsHandler::mypedestals
const EcalPedestals * mypedestals
Definition:
EcalPedestalsHandler.h:70
PopConSourceHandler.h
EcalLaserAPDPNRatios.h
popcon::EcalPedestalsHandler::m_gentag
std::string m_gentag
Definition:
EcalPedestalsHandler.h:76
Event
EcalPedestal
Definition:
EcalPedestals.h:9
edm
HLT enums.
Definition:
AlignableModifier.h:17
popcon::EcalPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPedestalsHandler.h:73
EcalLaserAlphasRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalPedestalsHandler::m_name
std::string m_name
Definition:
EcalPedestalsHandler.h:82
EcalCondObjectContainer< EcalPedestal >
Handle.h
all_monitoring_types.h
popcon::EcalPedestalsHandler::m_sid
std::string m_sid
Definition:
EcalPedestalsHandler.h:78
EcalLaserAPDPNRatiosRef.h
Generated for CMSSW Reference Manual by
1.8.11