Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalTPGLutIdMapHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_LUTIDMAP_HANDLER_H
2
#define ECAL_TPG_LUTIDMAP_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
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/EcalTPGLutIdMap.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGLutIdMapRcd.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
EcalTPGLutIdMapHandler
:
public
popcon::PopConSourceHandler
<EcalTPGLutIdMap>
50
{
51
52
public
:
53
EcalTPGLutIdMapHandler
(
edm::ParameterSet
const
& );
54
~
EcalTPGLutIdMapHandler
()
override
;
55
56
void
getNewObjects()
override
;
57
58
std::string
id
()
const override
{
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
EcalTPGLutIdMap
*
mypedestals
;
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_lutIdMap
;
91
92
93
};
94
}
95
#endif
96
popcon::EcalTPGLutIdMapHandler::m_location
std::string m_location
Definition:
EcalTPGLutIdMapHandler.h:78
popcon::EcalTPGLutIdMapHandler::m_name
std::string m_name
Definition:
EcalTPGLutIdMapHandler.h:84
popcon::EcalTPGLutIdMapHandler::m_i_version
int m_i_version
Definition:
EcalTPGLutIdMapHandler.h:88
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
popcon::EcalTPGLutIdMapHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGLutIdMapHandler.h:64
MakerMacros.h
EventSetup.h
popcon::EcalTPGLutIdMapHandler
Definition:
EcalTPGLutIdMapHandler.h:49
popcon::EcalTPGLutIdMapHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGLutIdMapHandler.h:67
popcon
Definition:
Exception.h:6
popcon::EcalTPGLutIdMapHandler::mypedestals
const EcalTPGLutIdMap * mypedestals
Definition:
EcalTPGLutIdMapHandler.h:73
popcon::EcalTPGLutIdMapHandler::m_i_lutIdMap
int m_i_lutIdMap
Definition:
EcalTPGLutIdMapHandler.h:90
EcalTPGLutIdMapRcd.h
popcon::EcalTPGLutIdMapHandler::m_pass
std::string m_pass
Definition:
EcalTPGLutIdMapHandler.h:82
ParameterSetfwd.h
Oracle.h
ParameterSet.h
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
popcon::EcalTPGLutIdMapHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGLutIdMapHandler.h:89
ESHandle.h
popcon::EcalTPGLutIdMapHandler::m_sid
std::string m_sid
Definition:
EcalTPGLutIdMapHandler.h:80
Service.h
EcalTPGLutIdMap
Definition:
EcalTPGLutIdMap.h:10
value
Definition:
value.py:1
Timestamp.h
analyzePatCleaning_cfg.inputFile
inputFile
Definition:
analyzePatCleaning_cfg.py:6
popcon::EcalTPGLutIdMapHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGLutIdMapHandler.h:79
popcon::EcalTPGLutIdMapHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGLutIdMapHandler.h:87
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
popcon::EcalTPGLutIdMapHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGLutIdMapHandler.h:75
PopConSourceHandler.h
EcalTPGLutIdMap.h
popcon::EcalTPGLutIdMapHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGLutIdMapHandler.h:85
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
popcon::EcalTPGLutIdMapHandler::id
std::string id() const override
Definition:
EcalTPGLutIdMapHandler.h:58
popcon::EcalTPGLutIdMapHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGLutIdMapHandler.h:83
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalTPGLutIdMapHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGLutIdMapHandler.h:86
popcon::EcalTPGLutIdMapHandler::m_user
std::string m_user
Definition:
EcalTPGLutIdMapHandler.h:81
popcon::EcalTPGLutIdMapHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGLutIdMapHandler.h:76
Handle.h
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.11