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