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
readPedestalMC();
64
void
readPedestalTree();
65
void
readPedestalTimestamp();
66
void
readPedestal2017();
67
std::string
id
()
const override
{
return
m_name;}
68
EcalCondDBInterface
*
econn
;
69
70
private
:
71
const
EcalPedestals
*
mypedestals
;
72
73
unsigned
int
m_firstRun
;
74
unsigned
int
m_lastRun
;
75
76
std::string
m_location
;
77
std::string
m_gentag
;
78
std::string
m_runtag
;
79
std::string
m_sid
;
80
std::string
m_user
;
81
std::string
m_pass
;
82
std::string
m_locationsource
;
83
std::string
m_name
;
84
std::string
m_filename
;
85
int
m_runtype
;
86
bool
m_corrected
;
87
88
};
89
}
90
#endif
91
MessageLogger.h
EcalCondDBInterface.h
popcon::EcalPedestalsHandler::m_user
std::string m_user
Definition:
EcalPedestalsHandler.h:80
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalPedestalsHandler::id
std::string id() const override
Definition:
EcalPedestalsHandler.h:67
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalPedestalsHandler::m_location
std::string m_location
Definition:
EcalPedestalsHandler.h:76
EcalPedestals.h
Event.h
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
popcon::EcalPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPedestalsHandler.h:73
EcalPedestalsRcd.h
ParameterSetfwd.h
popcon::EcalPedestalsHandler
Definition:
EcalPedestalsHandler.h:53
popcon::EcalPedestalsHandler::m_pass
std::string m_pass
Definition:
EcalPedestalsHandler.h:81
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:68
EcalPedestalsHandler
EcalCondHandler< EcalPedestals, EcalPedestalsXMLTranslator > EcalPedestalsHandler
Definition:
EcalCondAnalyzers.cc:58
ESHandle.h
Service.h
popcon::EcalPedestalsHandler::m_filename
std::string m_filename
Definition:
EcalPedestalsHandler.h:84
popcon::EcalPedestalsHandler::m_runtype
int m_runtype
Definition:
EcalPedestalsHandler.h:85
Timestamp.h
popcon::EcalPedestalsHandler::m_runtag
std::string m_runtag
Definition:
EcalPedestalsHandler.h:78
popcon::EcalPedestalsHandler::m_locationsource
std::string m_locationsource
Definition:
EcalPedestalsHandler.h:82
EcalLaserAlphas.h
popcon::EcalPedestalsHandler::mypedestals
const EcalPedestals * mypedestals
Definition:
EcalPedestalsHandler.h:71
PopConSourceHandler.h
EcalLaserAPDPNRatios.h
popcon::EcalPedestalsHandler::m_gentag
std::string m_gentag
Definition:
EcalPedestalsHandler.h:77
Event
EcalPedestal
Definition:
EcalPedestals.h:9
edm
HLT enums.
Definition:
AlignableModifier.h:17
popcon::EcalPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPedestalsHandler.h:74
EcalLaserAlphasRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalPedestalsHandler::m_corrected
bool m_corrected
Definition:
EcalPedestalsHandler.h:86
popcon::EcalPedestalsHandler::m_name
std::string m_name
Definition:
EcalPedestalsHandler.h:83
EcalCondObjectContainer< EcalPedestal >
Handle.h
all_monitoring_types.h
popcon::EcalPedestalsHandler::m_sid
std::string m_sid
Definition:
EcalPedestalsHandler.h:79
EcalLaserAPDPNRatiosRef.h
Generated for CMSSW Reference Manual by
1.8.11