Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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 <time.h>
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
();
48
49
void
getNewObjects
();
50
std::string
id
()
const
{
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:39
popcon::EcalSRPHandler::getNewObjects
void getNewObjects()
Definition:
EcalSRPHandler.cc:52
EcalSRSettingsRcd.h
ParameterSet
Definition:
Functions.h:16
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
MakerMacros.h
EventSetup.h
EcalSRSettings
Definition:
EcalSRSettings.h:27
popcon::EcalSRPHandler::EcalSRPHandler
EcalSRPHandler(edm::ParameterSet const &)
Definition:
EcalSRPHandler.cc:33
popcon::EcalSRPHandler::m_i_version
int m_i_version
Definition:
EcalSRPHandler.h:68
popcon::EcalSRPHandler::~EcalSRPHandler
~EcalSRPHandler()
Definition:
EcalSRPHandler.cc:50
Handle.h
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Oracle.h
ParameterSet.h
popcon::EcalSRPHandler
Definition:
EcalSRPHandler.h:43
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:35
PoolDBOutputService.h
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::ChangePayload
void ChangePayload(EcalSRSettings &sref, EcalSRSettings &sr)
Definition:
EcalSRPHandler.cc:969
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
groupFilesInBlocks.fout
tuple fout
Definition:
groupFilesInBlocks.py:160
popcon::EcalSRPHandler::id
std::string id() const
Definition:
EcalSRPHandler.h:50
PopConSourceHandler.h
popcon::EcalSRPHandler::importDccConfigFile
void importDccConfigFile(EcalSRSettings &sr, const std::string &filename, bool debug=false)
Definition:
EcalSRPHandler.cc:752
Event
popcon::EcalSRPHandler::m_pass
std::string m_pass
Definition:
EcalSRPHandler.h:61
Timestamp.h
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
edm::ParameterSet
Definition:
ParameterSet.h:35
debug
#define debug
Definition:
MEtoEDMFormat.h:34
popcon::EcalSRPHandler::m_name
std::string m_name
Definition:
EcalSRPHandler.h:62
EcalSRSettings.h
popcon::EcalSRPHandler::PrintPayload
void PrintPayload(EcalSRSettings &sr, std::ofstream &fout)
Definition:
EcalSRPHandler.cc:832
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.5