RecoLocalCalo
EcalRecProducers
plugins
EcalUncalibRecHitWorkerAnalFit.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerAnalFit_HH
2
#define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerAnalFit_HH
3
4
#include "
FWCore/Framework/interface/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/Utilities/interface/ESGetToken.h
"
10
11
#include "
RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerRunOneDigiBase.h
"
12
13
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitRecAnalFitAlgo.h
"
14
15
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
16
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
17
18
#include "
CondFormats/EcalObjects/interface/EcalGainRatios.h
"
19
#include "
CondFormats/EcalObjects/interface/EcalPedestals.h
"
20
#include "
CondFormats/DataRecord/interface/EcalGainRatiosRcd.h
"
21
#include "
CondFormats/DataRecord/interface/EcalPedestalsRcd.h
"
22
23
namespace
edm
{
24
class
Event
;
25
class
EventSetup
;
26
class
ParameterSet
;
27
class
ParameterSetDescription
;
28
}
// namespace edm
29
30
class
EcalUncalibRecHitWorkerAnalFit
:
public
EcalUncalibRecHitWorkerRunOneDigiBase
{
31
public
:
32
EcalUncalibRecHitWorkerAnalFit
(
const
edm::ParameterSet
& ps,
edm::ConsumesCollector
&
c
);
33
EcalUncalibRecHitWorkerAnalFit
(){};
34
~EcalUncalibRecHitWorkerAnalFit
()
override
{};
35
36
void
set
(
const
edm::EventSetup
& es)
override
;
37
bool
run
(
const
edm::Event
& evt,
38
const
EcalDigiCollection::const_iterator
& digi,
39
EcalUncalibratedRecHitCollection
&
result
)
override
;
40
41
edm::ParameterSetDescription
getAlgoDescription
()
override
;
42
43
private
:
44
EcalUncalibRecHitRecAnalFitAlgo<EBDataFrame>
algoEB_
;
45
EcalUncalibRecHitRecAnalFitAlgo<EEDataFrame>
algoEE_
;
46
47
edm::ESHandle<EcalGainRatios>
pRatio
;
48
edm::ESHandle<EcalPedestals>
pedHandle
;
49
edm::ESGetToken<EcalGainRatios, EcalGainRatiosRcd>
ratiosToken_
;
50
edm::ESGetToken<EcalPedestals, EcalPedestalsRcd>
pedestalsToken_
;
51
};
52
#endif
EcalUncalibRecHitWorkerAnalFit
Definition:
EcalUncalibRecHitWorkerAnalFit.h:30
EcalPedestals.h
EDProducer.h
ESHandle.h
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition:
DataFrameContainer.h:61
EcalUncalibRecHitWorkerAnalFit::EcalUncalibRecHitWorkerAnalFit
EcalUncalibRecHitWorkerAnalFit()
Definition:
EcalUncalibRecHitWorkerAnalFit.h:33
EcalUncalibRecHitRecAnalFitAlgo.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalUncalibRecHitWorkerAnalFit::set
void set(const edm::EventSetup &es) override
Definition:
EcalUncalibRecHitWorkerAnalFit.cc:40
ESGetToken.h
EcalUncalibRecHitWorkerAnalFit::pedestalsToken_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedestalsToken_
Definition:
EcalUncalibRecHitWorkerAnalFit.h:50
EcalRecHitCollections.h
EcalUncalibRecHitWorkerAnalFit::getAlgoDescription
edm::ParameterSetDescription getAlgoDescription() override
Definition:
EcalUncalibRecHitWorkerAnalFit.cc:128
EcalUncalibRecHitWorkerAnalFit::~EcalUncalibRecHitWorkerAnalFit
~EcalUncalibRecHitWorkerAnalFit() override
Definition:
EcalUncalibRecHitWorkerAnalFit.h:34
EcalUncalibRecHitWorkerRunOneDigiBase
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:10
EcalDigiCollections.h
edm::ESHandle
Definition:
DTSurvey.h:22
Event
EcalUncalibRecHitWorkerAnalFit::pedHandle
edm::ESHandle< EcalPedestals > pedHandle
Definition:
EcalUncalibRecHitWorkerAnalFit.h:48
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParameterSet
Definition:
Functions.h:16
EcalUncalibRecHitWorkerAnalFit::pRatio
edm::ESHandle< EcalGainRatios > pRatio
Definition:
EcalUncalibRecHitWorkerAnalFit.h:47
EcalUncalibRecHitWorkerRunOneDigiBase.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalUncalibRecHitWorkerAnalFit::algoEE_
EcalUncalibRecHitRecAnalFitAlgo< EEDataFrame > algoEE_
Definition:
EcalUncalibRecHitWorkerAnalFit.h:45
EcalGainRatiosRcd.h
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
edm::ESGetToken
Definition:
EventSetup.h:48
EcalGainRatios.h
EcalUncalibRecHitWorkerAnalFit::run
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
Definition:
EcalUncalibRecHitWorkerAnalFit.cc:52
EcalUncalibRecHitWorkerAnalFit::ratiosToken_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > ratiosToken_
Definition:
EcalUncalibRecHitWorkerAnalFit.h:49
ParameterSetDescription
EventSetup.h
EcalPedestalsRcd.h
mps_fire.result
result
Definition:
mps_fire.py:311
EventSetup
ParameterSet.h
EcalUncalibRecHitWorkerAnalFit::algoEB_
EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame > algoEB_
Definition:
EcalUncalibRecHitWorkerAnalFit.h:44
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16