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