CondTools
Ecal
interface
EcalIntercalibHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_INTERCALIB_HANDLER_H
2
#define ECAL_INTERCALIB_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/EcalIntercalibConstants.h
"
26
#include "
CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h
"
27
28
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
29
#include "
OnlineDB/EcalCondDB/interface/RunDCSMagnetDat.h
"
30
#include "
OnlineDB/Oracle/interface/Oracle.h
"
31
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
32
33
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
34
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
35
#include "
DataFormats/Provenance/interface/Timestamp.h
"
36
37
#include "
CondTools/Ecal/interface/EcalCondHeader.h
"
38
#include <string>
39
40
namespace
edm
{
41
class
ParameterSet
;
42
class
Event
;
43
class
EventSetup
;
44
}
// namespace edm
45
46
namespace
popcon
{
47
class
EcalIntercalibHandler
:
public
popcon::PopConSourceHandler
<EcalIntercalibConstants> {
48
public
:
49
EcalIntercalibHandler
(
edm::ParameterSet
const
&);
50
~EcalIntercalibHandler
()
override
;
51
52
void
getNewObjects
()
override
;
53
void
readXML
(
const
std::string
&
filename
,
EcalFloatCondObjectContainer
&
record
);
54
void
readTXT
(
const
std::string
&
filename
,
EcalFloatCondObjectContainer
&
record
);
55
56
std::string
id
()
const override
{
return
m_name
; }
57
EcalCondDBInterface
*
econn
;
58
59
private
:
60
const
EcalIntercalibConstants
*
myintercalib
;
61
std::string
m_name
;
62
unsigned
int
m_firstRun
;
63
std::string
m_file_name
;
64
std::string
m_file_type
;
65
};
66
}
// namespace popcon
67
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
MessageLogger.h
ESHandle.h
EcalIntercalibConstants.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
RunDCSMagnetDat.h
EBDetId.h
EEDetId.h
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:13
popcon::EcalIntercalibHandler::EcalIntercalibHandler
EcalIntercalibHandler(edm::ParameterSet const &)
Definition:
EcalIntercalibHandler.cc:10
MakerMacros.h
popcon::EcalIntercalibHandler::m_name
std::string m_name
Definition:
EcalIntercalibHandler.h:61
PoolDBOutputService.h
Service.h
popcon::EcalIntercalibHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalIntercalibHandler.h:62
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:123
Event
popcon::EcalIntercalibHandler::id
std::string id() const override
Definition:
EcalIntercalibHandler.h:56
popcon::EcalIntercalibHandler::readXML
void readXML(const std::string &filename, EcalFloatCondObjectContainer &record)
Definition:
EcalIntercalibHandler.cc:41
all_monitoring_types.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Timestamp.h
Event.h
ParameterSet
Definition:
Functions.h:16
popcon::EcalIntercalibHandler::~EcalIntercalibHandler
~EcalIntercalibHandler() override
Definition:
EcalIntercalibHandler.cc:18
popcon::EcalIntercalibHandler::myintercalib
const EcalIntercalibConstants * myintercalib
Definition:
EcalIntercalibHandler.h:60
popcon::EcalIntercalibHandler::m_file_type
std::string m_file_type
Definition:
EcalIntercalibHandler.h:64
AlCaHarvesting_cff.record
record
Definition:
AlCaHarvesting_cff.py:42
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
popcon::EcalIntercalibHandler::econn
EcalCondDBInterface * econn
Definition:
EcalIntercalibHandler.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
popcon
Definition:
Exception.h:6
EcalCondHeader.h
ParameterSetfwd.h
EventSetup.h
Oracle.h
EventSetup
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalIntercalibHandler::readTXT
void readTXT(const std::string &filename, EcalFloatCondObjectContainer &record)
Definition:
EcalIntercalibHandler.cc:97
popcon::EcalIntercalibHandler::m_file_name
std::string m_file_name
Definition:
EcalIntercalibHandler.h:63
EcalCondDBInterface.h
EcalIntercalibConstantsRcd.h
popcon::EcalIntercalibHandler
Definition:
EcalIntercalibHandler.h:47
popcon::EcalIntercalibHandler::getNewObjects
void getNewObjects() override
Definition:
EcalIntercalibHandler.cc:20
Generated for CMSSW Reference Manual by
1.8.16