Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalTPGFineGrainTowerEEHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_FINEGRAINTOWEREE_HANDLER_H
2
#define ECAL_TPG_FINEGRAINTOWEREE_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/EcalTPGFineGrainTowerEE.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGFineGrainTowerEERcd.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
EcalTPGFineGrainTowerEEHandler
:
public
popcon::PopConSourceHandler
<EcalTPGFineGrainTowerEE>
50
{
51
52
public
:
53
EcalTPGFineGrainTowerEEHandler
(
edm::ParameterSet
const
& );
54
~
EcalTPGFineGrainTowerEEHandler
()
override
;
55
56
//std::map<std::string, int> makeTTEBDetId();
57
58
void
getNewObjects()
override
;
59
60
std::map<std::string, int> makeTTEEDetId();
61
62
std::string
id
()
const override
{
return
m_name;}
63
64
void
readFromFile(
const
char
*
inputFile
);
65
void
writeFile(
const
char
* inputFile);
66
67
EcalCondDBInterface
*
econn
;
68
69
private
:
70
std::string
to_string
(
char
value
[]) {
71
std::ostringstream streamOut;
72
streamOut <<
value
;
73
return
streamOut.str();
74
}
75
76
unsigned
int
m_firstRun
;
77
unsigned
int
m_lastRun
;
78
std::map <std::string, int>
mapDetEEId
;
79
80
std::string
m_location
;
81
std::string
m_gentag
;
82
std::string
m_sid
;
83
std::string
m_user
;
84
std::string
m_pass
;
85
std::string
m_locationsource
;
86
std::string
m_name
;
87
unsigned
int
m_runnr
;
88
std::string
m_runtype
;
89
std::string
m_i_tag
;
90
int
m_i_version
;
91
unsigned
int
m_i_run_number
;
92
int
m_i_fgrTTEE
;
93
94
95
};
96
}
97
#endif
98
popcon::EcalTPGFineGrainTowerEEHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGFineGrainTowerEEHandler.h:70
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
popcon::EcalTPGFineGrainTowerEEHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGFineGrainTowerEEHandler.h:77
ParameterSetfwd.h
popcon::EcalTPGFineGrainTowerEEHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGFineGrainTowerEEHandler.h:67
popcon::EcalTPGFineGrainTowerEEHandler::m_location
std::string m_location
Definition:
EcalTPGFineGrainTowerEEHandler.h:80
Oracle.h
ParameterSet.h
popcon::EcalTPGFineGrainTowerEEHandler::m_i_fgrTTEE
int m_i_fgrTTEE
Definition:
EcalTPGFineGrainTowerEEHandler.h:92
popcon::EcalTPGFineGrainTowerEEHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGFineGrainTowerEEHandler.h:91
popcon::EcalTPGFineGrainTowerEEHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGFineGrainTowerEEHandler.h:89
EventSetup
EventSetupRecordKey.h
popcon::EcalTPGFineGrainTowerEEHandler::m_i_version
int m_i_version
Definition:
EcalTPGFineGrainTowerEEHandler.h:90
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
popcon::EcalTPGFineGrainTowerEEHandler::m_sid
std::string m_sid
Definition:
EcalTPGFineGrainTowerEEHandler.h:82
EcalTPGFineGrainTowerEE.h
popcon::EcalTPGFineGrainTowerEEHandler::m_user
std::string m_user
Definition:
EcalTPGFineGrainTowerEEHandler.h:83
ESHandle.h
Service.h
popcon::EcalTPGFineGrainTowerEEHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGFineGrainTowerEEHandler.h:88
value
Definition:
value.py:1
Timestamp.h
analyzePatCleaning_cfg.inputFile
inputFile
Definition:
analyzePatCleaning_cfg.py:6
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
popcon::EcalTPGFineGrainTowerEEHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGFineGrainTowerEEHandler.h:85
popcon::EcalTPGFineGrainTowerEEHandler::mapDetEEId
std::map< std::string, int > mapDetEEId
Definition:
EcalTPGFineGrainTowerEEHandler.h:78
popcon::EcalTPGFineGrainTowerEEHandler::id
std::string id() const override
Definition:
EcalTPGFineGrainTowerEEHandler.h:62
PopConSourceHandler.h
popcon::EcalTPGFineGrainTowerEEHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGFineGrainTowerEEHandler.h:87
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
EcalTPGFineGrainTowerEERcd.h
popcon::EcalTPGFineGrainTowerEEHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGFineGrainTowerEEHandler.h:81
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
popcon::EcalTPGFineGrainTowerEEHandler::m_pass
std::string m_pass
Definition:
EcalTPGFineGrainTowerEEHandler.h:84
popcon::EcalTPGFineGrainTowerEEHandler::m_name
std::string m_name
Definition:
EcalTPGFineGrainTowerEEHandler.h:86
popcon::EcalTPGFineGrainTowerEEHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGFineGrainTowerEEHandler.h:76
Handle.h
all_monitoring_types.h
popcon::EcalTPGFineGrainTowerEEHandler
Definition:
EcalTPGFineGrainTowerEEHandler.h:49
Generated for CMSSW Reference Manual by
1.8.11