CondTools
Ecal
interface
EcalPulseSymmCovariancesHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_PULSESYMMCOVARIANCES_HANDLER_H
2
#define ECAL_PULSESYMMCOVARIANCES_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/EcalPulseSymmCovariances.h
"
26
#include "
CondFormats/DataRecord/interface/EcalPulseSymmCovariancesRcd.h
"
27
28
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
29
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
30
#include "
DataFormats/Provenance/interface/Timestamp.h
"
31
32
namespace
edm
{
33
class
ParameterSet
;
34
class
Event
;
35
class
EventSetup
;
36
}
// namespace edm
37
38
namespace
popcon
{
39
40
class
EcalPulseSymmCovariancesHandler
:
public
popcon::PopConSourceHandler
<EcalPulseSymmCovariances> {
41
public
:
42
EcalPulseSymmCovariancesHandler
(
edm::ParameterSet
const
&);
43
~EcalPulseSymmCovariancesHandler
()
override
;
44
bool
checkPulseSymmCovariance
(
EcalPulseSymmCovariances::Item
*
item
);
45
void
fillSimPulseSymmCovariance
(
EcalPulseSymmCovariances::Item
*
item
,
bool
isbarrel);
46
void
getNewObjects
()
override
;
47
std::string
id
()
const override
{
return
m_name
; }
48
49
private
:
50
const
EcalPulseSymmCovariances
*
mypulseshapes
;
51
52
unsigned
int
m_firstRun
;
53
unsigned
int
m_lastRun
;
54
55
std::string
m_gentag
;
56
std::string
m_filename
;
57
std::string
m_name
;
58
std::vector<double>
m_EBPulseShapeCovariance
,
m_EEPulseShapeCovariance
;
59
};
60
}
// namespace popcon
61
#endif
PopConSourceHandler.h
Handle.h
MessageLogger.h
popcon::EcalPulseSymmCovariancesHandler::m_EEPulseShapeCovariance
std::vector< double > m_EEPulseShapeCovariance
Definition:
EcalPulseSymmCovariancesHandler.h:58
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
popcon::EcalPulseSymmCovariancesHandler::fillSimPulseSymmCovariance
void fillSimPulseSymmCovariance(EcalPulseSymmCovariances::Item *item, bool isbarrel)
Definition:
EcalPulseSymmCovariancesHandler.cc:28
EBDetId.h
EEDetId.h
popcon::EcalPulseSymmCovariancesHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPulseSymmCovariancesHandler.h:52
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:13
popcon::EcalPulseSymmCovariancesHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPulseSymmCovariancesHandler.h:53
MakerMacros.h
PoolDBOutputService.h
popcon::EcalPulseSymmCovariancesHandler::getNewObjects
void getNewObjects() override
Definition:
EcalPulseSymmCovariancesHandler.cc:40
Service.h
Event
popcon::EcalPulseSymmCovariancesHandler::m_filename
std::string m_filename
Definition:
EcalPulseSymmCovariancesHandler.h:56
popcon::EcalPulseSymmCovariancesHandler::m_gentag
std::string m_gentag
Definition:
EcalPulseSymmCovariancesHandler.h:55
popcon::EcalPulseSymmCovariancesHandler
Definition:
EcalPulseSymmCovariancesHandler.h:40
edm::ParameterSet
Definition:
ParameterSet.h:47
Timestamp.h
Event.h
ParameterSet
Definition:
Functions.h:16
EcalCondObjectContainer::Item
T Item
Definition:
EcalCondObjectContainer.h:15
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
popcon::EcalPulseSymmCovariancesHandler::EcalPulseSymmCovariancesHandler
EcalPulseSymmCovariancesHandler(edm::ParameterSet const &)
Definition:
EcalPulseSymmCovariancesHandler.cc:6
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalPulseSymmCovariancesHandler::id
std::string id() const override
Definition:
EcalPulseSymmCovariancesHandler.h:47
popcon::EcalPulseSymmCovariancesHandler::m_EBPulseShapeCovariance
std::vector< double > m_EBPulseShapeCovariance
Definition:
EcalPulseSymmCovariancesHandler.h:58
popcon::EcalPulseSymmCovariancesHandler::checkPulseSymmCovariance
bool checkPulseSymmCovariance(EcalPulseSymmCovariances::Item *item)
Definition:
EcalPulseSymmCovariancesHandler.cc:17
popcon
Definition:
Exception.h:6
EcalPulseSymmCovariances.h
ParameterSetfwd.h
EventSetup.h
popcon::EcalPulseSymmCovariancesHandler::~EcalPulseSymmCovariancesHandler
~EcalPulseSymmCovariancesHandler() override
Definition:
EcalPulseSymmCovariancesHandler.cc:15
popcon::EcalPulseSymmCovariancesHandler::m_name
std::string m_name
Definition:
EcalPulseSymmCovariancesHandler.h:57
EventSetup
EcalPulseSymmCovariancesRcd.h
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalPulseSymmCovariancesHandler::mypulseshapes
const EcalPulseSymmCovariances * mypulseshapes
Definition:
EcalPulseSymmCovariancesHandler.h:50
Generated for CMSSW Reference Manual by
1.8.16