Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 <time.h>
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
#include "
CondFormats/EcalObjects/interface/EcalTPGPedestals.h
"
28
#include "
CondFormats/DataRecord/interface/EcalTPGPedestalsRcd.h
"
29
30
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
31
#include "
OnlineDB/Oracle/interface/Oracle.h
"
32
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
33
34
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
35
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
36
#include "
DataFormats/Provenance/interface/Timestamp.h
"
37
38
namespace
edm {
39
class
ParameterSet
;
40
class
Event
;
41
class
EventSetup
;
42
}
43
44
namespace
popcon
45
{
46
47
48
class
EcalTPGPedestalsHandler
:
public
popcon::PopConSourceHandler
<EcalTPGPedestals>
49
{
50
51
std::string
to_string
(
char
value
[]) {
52
std::ostringstream streamOut;
53
streamOut <<
value
;
54
return
streamOut.str();
55
}
56
57
public
:
58
59
EcalTPGPedestalsHandler
(
edm::ParameterSet
const
& );
60
~EcalTPGPedestalsHandler
();
61
void
getNewObjects
();
62
63
std::string
id
()
const
{
return
m_name
;}
64
65
void
readFromFile
(
const
char
*
inputFile
) ;
66
void
writeFile
(
const
char
*
inputFile
);
67
68
69
EcalCondDBInterface
*
econn
;
70
71
private
:
72
const
EcalTPGPedestals
*
mypedestals
;
73
74
unsigned
int
m_firstRun
;
75
unsigned
int
m_lastRun
;
76
77
std::string
m_location
;
78
std::string
m_gentag
;
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
unsigned
int
m_runnr
;
85
std::string
m_runtype
;
86
std::string
m_i_tag
;
87
int
m_i_version
;
88
unsigned
int
m_i_run_number
;
89
int
m_i_ped
;
90
91
};
92
}
93
#endif
94
popcon::EcalTPGPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGPedestalsHandler.h:75
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
EcalTPGPedestals.h
popcon::EcalTPGPedestalsHandler
Definition:
EcalTPGPedestalsHandler.h:48
popcon::EcalTPGPedestalsHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGPedestalsHandler.h:86
ParameterSet
Definition:
Functions.h:16
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
EcalTPGPedestalsRcd.h
Event.h
MakerMacros.h
EventSetup.h
popcon::EcalTPGPedestalsHandler::~EcalTPGPedestalsHandler
~EcalTPGPedestalsHandler()
Definition:
EcalTPGPedestalsHandler.cc:44
popcon::EcalTPGPedestalsHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGPedestalsHandler.h:69
Handle.h
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
popcon::EcalTPGPedestalsHandler::m_sid
std::string m_sid
Definition:
EcalTPGPedestalsHandler.h:79
Oracle.h
ParameterSet.h
popcon::EcalTPGPedestalsHandler::writeFile
void writeFile(const char *inputFile)
Definition:
EcalTPGPedestalsHandler.cc:326
popcon::EcalTPGPedestalsHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGPedestalsHandler.h:82
popcon::EcalTPGPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGPedestalsHandler.h:74
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
PoolDBOutputService.h
popcon::EcalTPGPedestalsHandler::m_pass
std::string m_pass
Definition:
EcalTPGPedestalsHandler.h:81
popcon::EcalTPGPedestalsHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGPedestalsHandler.h:88
popcon::EcalTPGPedestalsHandler::mypedestals
const EcalTPGPedestals * mypedestals
Definition:
EcalTPGPedestalsHandler.h:72
popcon::EcalTPGPedestalsHandler::id
std::string id() const
Definition:
EcalTPGPedestalsHandler.h:63
popcon::EcalTPGPedestalsHandler::m_i_ped
int m_i_ped
Definition:
EcalTPGPedestalsHandler.h:89
popcon::EcalTPGPedestalsHandler::m_name
std::string m_name
Definition:
EcalTPGPedestalsHandler.h:83
analyzePatCleaning_cfg.inputFile
tuple inputFile
Definition:
analyzePatCleaning_cfg.py:6
ESHandle.h
Service.h
Timestamp.h
popcon::EcalTPGPedestalsHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGPedestalsHandler.h:85
popcon::EcalTPGPedestalsHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGPedestalsHandler.h:51
popcon::EcalTPGPedestalsHandler::m_i_version
int m_i_version
Definition:
EcalTPGPedestalsHandler.h:87
PopConSourceHandler.h
popcon::EcalTPGPedestalsHandler::readFromFile
void readFromFile(const char *inputFile)
Definition:
EcalTPGPedestalsHandler.cc:287
popcon::EcalTPGPedestalsHandler::getNewObjects
void getNewObjects()
Definition:
EcalTPGPedestalsHandler.cc:49
Event
popcon::EcalTPGPedestalsHandler::m_location
std::string m_location
Definition:
EcalTPGPedestalsHandler.h:77
popcon::EcalTPGPedestalsHandler::EcalTPGPedestalsHandler
EcalTPGPedestalsHandler(edm::ParameterSet const &)
Definition:
EcalTPGPedestalsHandler.cc:26
edm::ParameterSet
Definition:
ParameterSet.h:35
EBDetId.h
EEDetId.h
popcon::EcalTPGPedestalsHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGPedestalsHandler.h:78
popcon::EcalTPGPedestalsHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGPedestalsHandler.h:84
popcon::EcalTPGPedestalsHandler::m_user
std::string m_user
Definition:
EcalTPGPedestalsHandler.h:80
EcalCondObjectContainer< EcalTPGPedestal >
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.5