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 <ctime>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
#include "
FWCore/ServiceRegistry/interface/Service.h
"
15
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
24
25
#include "
CondFormats/EcalObjects/interface/EcalTPGFineGrainStripEE.h
"
26
#include "
CondFormats/DataRecord/interface/EcalTPGFineGrainStripEERcd.h
"
27
28
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
29
#include "
OnlineDB/Oracle/interface/Oracle.h
"
30
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
31
32
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
33
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
34
#include "
DataFormats/Provenance/interface/Timestamp.h
"
35
36
//class EcalElectronicsMapping;
37
38
namespace
edm
{
39
class
ParameterSet
;
40
class
Event
;
41
class
EventSetup
;
42
}
// namespace edm
43
44
namespace
popcon
{
45
46
class
EcalTPGFineGrainStripEEHandler
:
public
popcon::PopConSourceHandler
<EcalTPGFineGrainStripEE> {
47
public
:
48
EcalTPGFineGrainStripEEHandler
(
edm::ParameterSet
const
&);
49
~EcalTPGFineGrainStripEEHandler
()
override
;
50
51
std::map<std::string, int>
makeStripIdEB
();
52
std::map<std::string, int>
makeStripIdEE
();
53
54
void
getNewObjects
()
override
;
55
56
std::string
id
()
const override
{
return
m_name
; }
57
58
void
readFromFile
(
const
char
*
inputFile
);
59
void
writeFile
(
const
char
*
inputFile
);
60
61
EcalCondDBInterface
*
econn
;
62
63
private
:
64
std::string
to_string
(
char
value
[]) {
65
std::ostringstream streamOut;
66
streamOut <<
value
;
67
return
streamOut.str();
68
}
69
70
unsigned
int
m_firstRun
;
71
unsigned
int
m_lastRun
;
72
std::map<std::string, int>
correspEBId
;
73
std::map<std::string, int>
correspEEId
;
74
75
std::string
m_location
;
76
std::string
m_gentag
;
77
std::string
m_sid
;
78
std::string
m_user
;
79
std::string
m_pass
;
80
std::string
m_locationsource
;
81
std::string
m_name
;
82
unsigned
int
m_runnr
;
83
std::string
m_runtype
;
84
std::string
m_i_tag
;
85
int
m_i_version
;
86
unsigned
int
m_i_run_number
;
87
int
m_i_fgrStripEE
;
88
};
89
}
// namespace popcon
90
#endif
popcon::EcalTPGFineGrainStripEEHandler::m_user
std::string m_user
Definition:
EcalTPGFineGrainStripEEHandler.h:78
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
MessageLogger.h
popcon::EcalTPGFineGrainStripEEHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGFineGrainStripEEHandler.h:61
ESHandle.h
popcon::EcalTPGFineGrainStripEEHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGFineGrainStripEEHandler.h:83
popcon::EcalTPGFineGrainStripEEHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGFineGrainStripEEHandler.h:71
edm
HLT enums.
Definition:
AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalTPGFineGrainStripEEHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGFineGrainStripEEHandler.h:80
popcon::EcalTPGFineGrainStripEEHandler::readFromFile
void readFromFile(const char *inputFile)
Definition:
EcalTPGFineGrainStripEEHandler.cc:299
popcon::EcalTPGFineGrainStripEEHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGFineGrainStripEEHandler.h:64
EcalTPGFineGrainStripEE.h
popcon::EcalTPGFineGrainStripEEHandler::id
std::string id() const override
Definition:
EcalTPGFineGrainStripEEHandler.h:56
MakerMacros.h
PoolDBOutputService.h
popcon::EcalTPGFineGrainStripEEHandler
Definition:
EcalTPGFineGrainStripEEHandler.h:46
Service.h
Event
popcon::EcalTPGFineGrainStripEEHandler::m_sid
std::string m_sid
Definition:
EcalTPGFineGrainStripEEHandler.h:77
popcon::EcalTPGFineGrainStripEEHandler::EcalTPGFineGrainStripEEHandler
EcalTPGFineGrainStripEEHandler(edm::ParameterSet const &)
Definition:
EcalTPGFineGrainStripEEHandler.cc:27
popcon::EcalTPGFineGrainStripEEHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGFineGrainStripEEHandler.h:70
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
all_monitoring_types.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition:
Functions.h:16
popcon::EcalTPGFineGrainStripEEHandler::getNewObjects
void getNewObjects() override
Definition:
EcalTPGFineGrainStripEEHandler.cc:45
dtResolutionTest_cfi.inputFile
inputFile
Definition:
dtResolutionTest_cfi.py:14
value
Definition:
value.py:1
popcon::EcalTPGFineGrainStripEEHandler::correspEBId
std::map< std::string, int > correspEBId
Definition:
EcalTPGFineGrainStripEEHandler.h:72
popcon::EcalTPGFineGrainStripEEHandler::~EcalTPGFineGrainStripEEHandler
~EcalTPGFineGrainStripEEHandler() override
Definition:
EcalTPGFineGrainStripEEHandler.cc:43
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
popcon::EcalTPGFineGrainStripEEHandler::m_i_fgrStripEE
int m_i_fgrStripEE
Definition:
EcalTPGFineGrainStripEEHandler.h:87
popcon
Definition:
Exception.h:6
popcon::EcalTPGFineGrainStripEEHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGFineGrainStripEEHandler.h:76
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
popcon::EcalTPGFineGrainStripEEHandler::makeStripIdEB
std::map< std::string, int > makeStripIdEB()
popcon::EcalTPGFineGrainStripEEHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGFineGrainStripEEHandler.h:82
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGFineGrainStripEEHandler::makeStripIdEE
std::map< std::string, int > makeStripIdEE()
Oracle.h
popcon::EcalTPGFineGrainStripEEHandler::writeFile
void writeFile(const char *inputFile)
Definition:
EcalTPGFineGrainStripEEHandler.cc:337
EventSetup
popcon::EcalTPGFineGrainStripEEHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGFineGrainStripEEHandler.h:84
popcon::EcalTPGFineGrainStripEEHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGFineGrainStripEEHandler.h:86
ParameterSet.h
popcon::EcalTPGFineGrainStripEEHandler::m_location
std::string m_location
Definition:
EcalTPGFineGrainStripEEHandler.h:75
popcon::EcalTPGFineGrainStripEEHandler::m_pass
std::string m_pass
Definition:
EcalTPGFineGrainStripEEHandler.h:79
EventSetupRecordKey.h
popcon::EcalTPGFineGrainStripEEHandler::correspEEId
std::map< std::string, int > correspEEId
Definition:
EcalTPGFineGrainStripEEHandler.h:73
popcon::EcalTPGFineGrainStripEEHandler::m_name
std::string m_name
Definition:
EcalTPGFineGrainStripEEHandler.h:81
EcalCondDBInterface.h
popcon::EcalTPGFineGrainStripEEHandler::m_i_version
int m_i_version
Definition:
EcalTPGFineGrainStripEEHandler.h:85
EcalTPGFineGrainStripEERcd.h
Generated for CMSSW Reference Manual by
1.8.16