Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalSRPHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_SRP_HANDLER_H
2
#define ECAL_SRP_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
26
#include "
CondFormats/EcalObjects/interface/EcalSRSettings.h
"
27
#include "
CondFormats/DataRecord/interface/EcalSRSettingsRcd.h
"
28
29
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
30
#include "
OnlineDB/Oracle/interface/Oracle.h
"
31
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
32
33
#include "
DataFormats/Provenance/interface/Timestamp.h
"
34
35
36
namespace
edm
{
37
class
ParameterSet
;
38
class
Event
;
39
class
EventSetup
;
40
}
41
42
namespace
popcon
{
43
class
EcalSRPHandler
:
public
popcon::PopConSourceHandler
<EcalSRSettings>
44
{
45
public
:
46
EcalSRPHandler
(
edm::ParameterSet
const
& );
47
~
EcalSRPHandler
()
override
;
48
49
void
getNewObjects()
override
;
50
std::string
id
()
const override
{
return
m_name;}
51
EcalCondDBInterface
*
econn
;
52
void
importDccConfigFile(
EcalSRSettings
& sr,
const
std::string
&
filename
,
bool
debug
=
false
);
53
void
PrintPayload(
EcalSRSettings
& sr, std::ofstream&
fout
);
54
void
ChangePayload(
EcalSRSettings
& sref,
EcalSRSettings
& sr );
55
56
private
:
57
unsigned
long
m_firstRun
;
58
unsigned
long
m_lastRun
;
59
std::string
m_sid
;
60
std::string
m_user
;
61
std::string
m_pass
;
62
std::string
m_name
;
63
std::string
m_location
;
64
std::string
m_runtype
;
65
std::string
m_gentag
;
66
std::string
m_i_tag
;
67
bool
m_debug
;
68
int
m_i_version
;
69
};
70
}
71
#endif
72
popcon::EcalSRPHandler::m_firstRun
unsigned long m_firstRun
Definition:
EcalSRPHandler.h:57
MessageLogger.h
EcalCondDBInterface.h
popcon::EcalSRPHandler::econn
EcalCondDBInterface * econn
Definition:
EcalSRPHandler.h:51
popcon::EcalSRPHandler::m_sid
std::string m_sid
Definition:
EcalSRPHandler.h:59
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
EcalSRSettingsRcd.h
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalSRPHandler::m_runtype
std::string m_runtype
Definition:
EcalSRPHandler.h:64
Event.h
popcon::EcalSRPHandler::m_debug
bool m_debug
Definition:
EcalSRPHandler.h:67
popcon::EcalSRPHandler::m_i_tag
std::string m_i_tag
Definition:
EcalSRPHandler.h:66
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:122
MakerMacros.h
EventSetup.h
EcalSRSettings
Definition:
EcalSRSettings.h:29
popcon::EcalSRPHandler::m_i_version
int m_i_version
Definition:
EcalSRPHandler.h:68
popcon
Definition:
Exception.h:6
ParameterSetfwd.h
Oracle.h
ParameterSet.h
popcon::EcalSRPHandler
Definition:
EcalSRPHandler.h:43
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
groupFilesInBlocks.fout
fout
Definition:
groupFilesInBlocks.py:161
popcon::EcalSRPHandler::m_lastRun
unsigned long m_lastRun
Definition:
EcalSRPHandler.h:58
popcon::EcalSRPHandler::m_gentag
std::string m_gentag
Definition:
EcalSRPHandler.h:65
popcon::EcalSRPHandler::m_location
std::string m_location
Definition:
EcalSRPHandler.h:63
ESHandle.h
Service.h
popcon::EcalSRPHandler::m_user
std::string m_user
Definition:
EcalSRPHandler.h:60
Timestamp.h
debug
#define debug
Definition:
HDRShower.cc:19
PopConSourceHandler.h
Event
popcon::EcalSRPHandler::m_pass
std::string m_pass
Definition:
EcalSRPHandler.h:61
edm
HLT enums.
Definition:
AlignableModifier.h:17
popcon::EcalSRPHandler::id
std::string id() const override
Definition:
EcalSRPHandler.h:50
edm::ParameterSet
Definition:
ParameterSet.h:36
popcon::EcalSRPHandler::m_name
std::string m_name
Definition:
EcalSRPHandler.h:62
EcalSRSettings.h
Handle.h
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.11