test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondTools
Ecal
interface
EcalTPGFineGrainEBIdMapHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_FINEGRAINEBIDMAP_HANDLER_H
2
#define ECAL_TPG_FINEGRAINEBIDMAP_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/EcalTPGFineGrainEBIdMap.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGFineGrainEBIdMapRcd.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
EcalTPGFineGrainEBIdMapHandler
:
public
popcon::PopConSourceHandler
<EcalTPGFineGrainEBIdMap>
50
{
51
52
public
:
53
EcalTPGFineGrainEBIdMapHandler
(
edm::ParameterSet
const
& );
54
~EcalTPGFineGrainEBIdMapHandler
();
55
56
void
getNewObjects
();
57
58
std::string
id
()
const
{
return
m_name
;}
59
60
void
readFromFile
(
const
char
*
inputFile
) ;
61
void
writeFile
(
const
char
*
inputFile
);
62
63
EcalCondDBInterface
*
econn
;
64
65
private
:
66
std::string
to_string
(
char
value
[]) {
67
std::ostringstream streamOut;
68
streamOut <<
value
;
69
return
streamOut.str();
70
}
71
72
const
EcalTPGFineGrainEBIdMap
*
mypedestals
;
73
74
unsigned
int
m_firstRun
;
75
unsigned
int
m_lastRun
;
76
77
std::string
m_location
;
78
std::string
m_gentag
;
79
std::string
m_sid
;
80
std::string
m_user
;
81
std::string
m_pass
;
82
std::string
m_locationsource
;
83
std::string
m_name
;
84
unsigned
int
m_runnr
;
85
std::string
m_runtype
;
86
std::string
m_i_tag
;
87
int
m_i_version
;
88
unsigned
int
m_i_run_number
;
89
int
m_i_fgrIdMap
;
90
91
92
93
};
94
}
95
#endif
96
popcon::EcalTPGFineGrainEBIdMapHandler::id
std::string id() const
Definition:
EcalTPGFineGrainEBIdMapHandler.h:58
popcon::EcalTPGFineGrainEBIdMapHandler::~EcalTPGFineGrainEBIdMapHandler
~EcalTPGFineGrainEBIdMapHandler()
Definition:
EcalTPGFineGrainEBIdMapHandler.cc:39
MessageLogger.h
EcalCondDBInterface.h
EcalTPGFineGrainEBIdMap
Definition:
EcalTPGFineGrainEBIdMap.h:10
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_version
int m_i_version
Definition:
EcalTPGFineGrainEBIdMapHandler.h:87
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGFineGrainEBIdMapHandler.h:88
popcon::EcalTPGFineGrainEBIdMapHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGFineGrainEBIdMapHandler.h:66
ParameterSet
Definition:
Functions.h:16
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
Event.h
MakerMacros.h
EventSetup.h
popcon::EcalTPGFineGrainEBIdMapHandler::EcalTPGFineGrainEBIdMapHandler
EcalTPGFineGrainEBIdMapHandler(edm::ParameterSet const &)
Definition:
EcalTPGFineGrainEBIdMapHandler.cc:22
Handle.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_user
std::string m_user
Definition:
EcalTPGFineGrainEBIdMapHandler.h:80
popcon::EcalTPGFineGrainEBIdMapHandler::writeFile
void writeFile(const char *inputFile)
Definition:
EcalTPGFineGrainEBIdMapHandler.cc:304
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EcalTPGFineGrainEBIdMap.h
Oracle.h
ParameterSet.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_fgrIdMap
int m_i_fgrIdMap
Definition:
EcalTPGFineGrainEBIdMapHandler.h:89
popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile
void readFromFile(const char *inputFile)
Definition:
EcalTPGFineGrainEBIdMapHandler.cc:264
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:31
PoolDBOutputService.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGFineGrainEBIdMapHandler.h:82
popcon::EcalTPGFineGrainEBIdMapHandler
Definition:
EcalTPGFineGrainEBIdMapHandler.h:49
popcon::EcalTPGFineGrainEBIdMapHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGFineGrainEBIdMapHandler.h:75
analyzePatCleaning_cfg.inputFile
tuple inputFile
Definition:
analyzePatCleaning_cfg.py:6
ESHandle.h
Service.h
EcalTPGFineGrainEBIdMapRcd.h
Timestamp.h
popcon::EcalTPGFineGrainEBIdMapHandler::mypedestals
const EcalTPGFineGrainEBIdMap * mypedestals
Definition:
EcalTPGFineGrainEBIdMapHandler.h:72
popcon::EcalTPGFineGrainEBIdMapHandler::m_pass
std::string m_pass
Definition:
EcalTPGFineGrainEBIdMapHandler.h:81
popcon::EcalTPGFineGrainEBIdMapHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGFineGrainEBIdMapHandler.h:74
popcon::EcalTPGFineGrainEBIdMapHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGFineGrainEBIdMapHandler.h:78
PopConSourceHandler.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGFineGrainEBIdMapHandler.h:85
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGFineGrainEBIdMapHandler.h:86
popcon::EcalTPGFineGrainEBIdMapHandler::m_name
std::string m_name
Definition:
EcalTPGFineGrainEBIdMapHandler.h:83
Event
popcon::EcalTPGFineGrainEBIdMapHandler::m_sid
std::string m_sid
Definition:
EcalTPGFineGrainEBIdMapHandler.h:79
edm::ParameterSet
Definition:
ParameterSet.h:36
popcon::EcalTPGFineGrainEBIdMapHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGFineGrainEBIdMapHandler.h:84
EBDetId.h
EEDetId.h
popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects
void getNewObjects()
Definition:
EcalTPGFineGrainEBIdMapHandler.cc:44
popcon::EcalTPGFineGrainEBIdMapHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGFineGrainEBIdMapHandler.h:63
popcon::EcalTPGFineGrainEBIdMapHandler::m_location
std::string m_location
Definition:
EcalTPGFineGrainEBIdMapHandler.h:77
all_monitoring_types.h
Generated for CMSSW Reference Manual by
1.8.5