Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalTPGSlidingWindowHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_SLIDINGWINDOW_HANDLER_H
2
#define ECAL_TPG_SLIDINGWINDOW_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/EcalTPGSlidingWindow.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGSlidingWindowRcd.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
//class EcalElectronicsMapping;
40
41
namespace
edm
{
42
class
ParameterSet
;
43
class
Event
;
44
class
EventSetup
;
45
}
46
47
namespace
popcon
48
{
49
50
51
class
EcalTPGSlidingWindowHandler
:
public
popcon::PopConSourceHandler
<EcalTPGSlidingWindow>
52
{
53
54
55
public
:
56
EcalTPGSlidingWindowHandler
(
edm::ParameterSet
const
& );
57
~
EcalTPGSlidingWindowHandler
();
58
59
std::map<std::string, int> makeStripIdEB();
60
std::map<std::string, int> makeStripIdEE();
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
EcalCondDBInterface
*
econn
;
69
70
private
:
71
std::string
to_string
(
char
value
[]) {
72
std::ostringstream streamOut;
73
streamOut <<
value
;
74
return
streamOut.str();
75
}
76
77
unsigned
int
m_firstRun
;
78
unsigned
int
m_lastRun
;
79
std::map<std::string, int>
correspEBId
;
80
std::map<std::string, int>
correspEEId
;
81
82
std::string
m_location
;
83
std::string
m_gentag
;
84
std::string
m_sid
;
85
std::string
m_user
;
86
std::string
m_pass
;
87
std::string
m_locationsource
;
88
std::string
m_name
;
89
unsigned
int
m_runnr
;
90
std::string
m_runtype
;
91
std::string
m_i_tag
;
92
int
m_i_version
;
93
unsigned
int
m_i_run_number
;
94
int
m_i_sliding
;
95
96
};
97
}
98
#endif
99
popcon::EcalTPGSlidingWindowHandler::id
std::string id() const
Definition:
EcalTPGSlidingWindowHandler.h:63
popcon::EcalTPGSlidingWindowHandler::m_i_sliding
int m_i_sliding
Definition:
EcalTPGSlidingWindowHandler.h:94
MessageLogger.h
EcalCondDBInterface.h
popcon::EcalTPGSlidingWindowHandler::m_i_version
int m_i_version
Definition:
EcalTPGSlidingWindowHandler.h:92
popcon::EcalTPGSlidingWindowHandler::m_pass
std::string m_pass
Definition:
EcalTPGSlidingWindowHandler.h:86
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalTPGSlidingWindowHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGSlidingWindowHandler.h:77
ParameterSet
Definition:
Functions.h:16
popcon::EcalTPGSlidingWindowHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGSlidingWindowHandler.h:71
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
MakerMacros.h
EventSetup.h
popcon::EcalTPGSlidingWindowHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGSlidingWindowHandler.h:83
popcon
Definition:
Exception.h:6
popcon::EcalTPGSlidingWindowHandler::m_user
std::string m_user
Definition:
EcalTPGSlidingWindowHandler.h:85
popcon::EcalTPGSlidingWindowHandler::correspEBId
std::map< std::string, int > correspEBId
Definition:
EcalTPGSlidingWindowHandler.h:79
ParameterSetfwd.h
popcon::EcalTPGSlidingWindowHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGSlidingWindowHandler.h:93
Oracle.h
ParameterSet.h
EcalTPGSlidingWindowRcd.h
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
popcon::EcalTPGSlidingWindowHandler
Definition:
EcalTPGSlidingWindowHandler.h:51
popcon::EcalTPGSlidingWindowHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGSlidingWindowHandler.h:87
ESHandle.h
Service.h
popcon::EcalTPGSlidingWindowHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGSlidingWindowHandler.h:90
value
Definition:
value.py:1
Timestamp.h
analyzePatCleaning_cfg.inputFile
inputFile
Definition:
analyzePatCleaning_cfg.py:6
EcalTPGSlidingWindow.h
popcon::EcalTPGSlidingWindowHandler::m_location
std::string m_location
Definition:
EcalTPGSlidingWindowHandler.h:82
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
popcon::EcalTPGSlidingWindowHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGSlidingWindowHandler.h:91
popcon::EcalTPGSlidingWindowHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGSlidingWindowHandler.h:89
PopConSourceHandler.h
Event
popcon::EcalTPGSlidingWindowHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGSlidingWindowHandler.h:68
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalTPGSlidingWindowHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGSlidingWindowHandler.h:78
popcon::EcalTPGSlidingWindowHandler::m_name
std::string m_name
Definition:
EcalTPGSlidingWindowHandler.h:88
Handle.h
all_monitoring_types.h
popcon::EcalTPGSlidingWindowHandler::m_sid
std::string m_sid
Definition:
EcalTPGSlidingWindowHandler.h:84
popcon::EcalTPGSlidingWindowHandler::correspEEId
std::map< std::string, int > correspEEId
Definition:
EcalTPGSlidingWindowHandler.h:80
Generated for CMSSW Reference Manual by
1.8.11