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