Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalTPGPedestalsHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_PEDESTALS_HANDLER_H
2
#define ECAL_TPG_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
#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
#include "
CondFormats/EcalObjects/interface/EcalTPGPedestals.h
"
26
#include "
CondFormats/DataRecord/interface/EcalTPGPedestalsRcd.h
"
27
28
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
29
#include "
OnlineDB/Oracle/interface/Oracle.h
"
30
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
31
32
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
33
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
34
#include "
DataFormats/Provenance/interface/Timestamp.h
"
35
36
namespace
edm
{
37
class
ParameterSet
;
38
class
Event
;
39
class
EventSetup
;
40
}
// namespace edm
41
42
namespace
popcon
{
43
44
class
EcalTPGPedestalsHandler
:
public
popcon::PopConSourceHandler
<EcalTPGPedestals> {
45
std::string
to_string
(
char
value
[]) {
46
std::ostringstream streamOut;
47
streamOut <<
value
;
48
return
streamOut.str();
49
}
50
51
public
:
52
EcalTPGPedestalsHandler
(
edm::ParameterSet
const
&);
53
~
EcalTPGPedestalsHandler
()
override
;
54
void
getNewObjects()
override
;
55
56
std::string
id
()
const override
{
return
m_name; }
57
58
void
readFromFile(
const
char
*
inputFile
);
59
void
writeFile(
const
char
* inputFile);
60
61
EcalCondDBInterface
*
econn
;
62
63
private
:
64
const
EcalTPGPedestals
*
mypedestals
;
65
66
unsigned
int
m_firstRun
;
67
unsigned
int
m_lastRun
;
68
69
std::string
m_location
;
70
std::string
m_gentag
;
71
std::string
m_sid
;
72
std::string
m_user
;
73
std::string
m_pass
;
74
std::string
m_locationsource
;
75
std::string
m_name
;
76
unsigned
int
m_runnr
;
77
std::string
m_runtype
;
78
std::string
m_i_tag
;
79
int
m_i_version
;
80
unsigned
int
m_i_run_number
;
81
int
m_i_ped
;
82
};
83
}
// namespace popcon
84
#endif
popcon::EcalTPGPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGPedestalsHandler.h:67
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
EcalTPGPedestals.h
popcon::EcalTPGPedestalsHandler::id
std::string id() const override
Definition:
EcalTPGPedestalsHandler.h:56
popcon::EcalTPGPedestalsHandler
Definition:
EcalTPGPedestalsHandler.h:44
popcon::EcalTPGPedestalsHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGPedestalsHandler.h:78
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTPGPedestalsRcd.h
Event.h
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
popcon::EcalTPGPedestalsHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGPedestalsHandler.h:61
ParameterSetfwd.h
popcon::EcalTPGPedestalsHandler::m_sid
std::string m_sid
Definition:
EcalTPGPedestalsHandler.h:71
Oracle.h
ParameterSet.h
popcon::EcalTPGPedestalsHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGPedestalsHandler.h:74
popcon::EcalTPGPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGPedestalsHandler.h:66
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
PoolDBOutputService.h
popcon::EcalTPGPedestalsHandler::m_pass
std::string m_pass
Definition:
EcalTPGPedestalsHandler.h:73
popcon::EcalTPGPedestalsHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGPedestalsHandler.h:80
popcon::EcalTPGPedestalsHandler::mypedestals
const EcalTPGPedestals * mypedestals
Definition:
EcalTPGPedestalsHandler.h:64
popcon::EcalTPGPedestalsHandler::m_i_ped
int m_i_ped
Definition:
EcalTPGPedestalsHandler.h:81
dtResolutionTest_cfi.inputFile
inputFile
Definition:
dtResolutionTest_cfi.py:14
popcon::EcalTPGPedestalsHandler::m_name
std::string m_name
Definition:
EcalTPGPedestalsHandler.h:75
ESHandle.h
Service.h
value
Definition:
value.py:1
Timestamp.h
popcon::EcalTPGPedestalsHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGPedestalsHandler.h:77
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
popcon::EcalTPGPedestalsHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGPedestalsHandler.h:45
popcon::EcalTPGPedestalsHandler::m_i_version
int m_i_version
Definition:
EcalTPGPedestalsHandler.h:79
PopConSourceHandler.h
Event
popcon::EcalTPGPedestalsHandler::m_location
std::string m_location
Definition:
EcalTPGPedestalsHandler.h:69
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalTPGPedestalsHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGPedestalsHandler.h:70
popcon::EcalTPGPedestalsHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGPedestalsHandler.h:76
popcon::EcalTPGPedestalsHandler::m_user
std::string m_user
Definition:
EcalTPGPedestalsHandler.h:72
EcalCondObjectContainer< EcalTPGPedestal >
Handle.h
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.11