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