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