RecoLocalCalo
EcalRecProducers
plugins
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerFixedAlphaBetaFit_hh
2
#define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerFixedAlphaBetaFit_hh
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Utilities/interface/ESGetToken.h
"
6
7
#include "
RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerRunOneDigiBase.h
"
8
9
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitFixedAlphaBetaAlgo.h
"
10
11
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
12
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
13
14
#include "
CondFormats/EcalObjects/interface/EcalGainRatios.h
"
15
#include "
CondFormats/EcalObjects/interface/EcalPedestals.h
"
16
#include "
CondFormats/DataRecord/interface/EcalGainRatiosRcd.h
"
17
#include "
CondFormats/DataRecord/interface/EcalPedestalsRcd.h
"
18
namespace
edm
{
19
class
Event
;
20
class
EventSetup
;
21
class
ParameterSet
;
22
class
ParameterSetDescription
;
23
}
// namespace edm
24
25
class
EcalUncalibRecHitWorkerFixedAlphaBetaFit
:
public
EcalUncalibRecHitWorkerRunOneDigiBase
{
26
public
:
27
EcalUncalibRecHitWorkerFixedAlphaBetaFit
(
const
edm::ParameterSet
& ps,
edm::ConsumesCollector
&);
28
EcalUncalibRecHitWorkerFixedAlphaBetaFit
(){};
29
~EcalUncalibRecHitWorkerFixedAlphaBetaFit
()
override
{};
30
31
void
set
(
const
edm::EventSetup
& es)
override
;
32
bool
run
(
const
edm::Event
& evt,
33
const
EcalDigiCollection::const_iterator
& digi,
34
EcalUncalibratedRecHitCollection
&
result
)
override
;
35
36
edm::ParameterSetDescription
getAlgoDescription
()
override
;
37
38
private
:
39
double
AmplThrEB_
;
40
double
AmplThrEE_
;
41
42
EcalUncalibRecHitFixedAlphaBetaAlgo<EBDataFrame>
algoEB_
;
43
EcalUncalibRecHitFixedAlphaBetaAlgo<EEDataFrame>
algoEE_
;
44
45
double
alphaEB_
;
46
double
betaEB_
;
47
double
alphaEE_
;
48
double
betaEE_
;
49
std::vector<std::vector<std::pair<double, double> > >
50
alphaBetaValues_
;
// List of alpha and Beta values [SM#][CRY#](alpha, beta)
51
bool
useAlphaBetaArray_
;
52
std::string
alphabetaFilename_
;
53
54
bool
setAlphaBeta
();
// Sets the alphaBetaValues_ vectors by the values provided in alphabetaFilename_
55
56
edm::ESHandle<EcalGainRatios>
pRatio
;
57
edm::ESHandle<EcalPedestals>
pedHandle
;
58
edm::ESGetToken<EcalGainRatios, EcalGainRatiosRcd>
ratiosToken_
;
59
edm::ESGetToken<EcalPedestals, EcalPedestalsRcd>
pedestalsToken_
;
60
};
61
#endif
EcalPedestals.h
ESHandle.h
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition:
DataFrameContainer.h:61
edm
HLT enums.
Definition:
AlignableModifier.h:19
EcalUncalibRecHitWorkerFixedAlphaBetaFit::run
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:96
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEB_
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame > algoEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:42
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEB_
double alphaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:45
EcalUncalibRecHitWorkerFixedAlphaBetaFit::ratiosToken_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > ratiosToken_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:58
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEB_
double betaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:46
ESGetToken.h
EcalRecHitCollections.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::EcalUncalibRecHitWorkerFixedAlphaBetaFit
EcalUncalibRecHitWorkerFixedAlphaBetaFit()
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:28
EcalUncalibRecHitWorkerFixedAlphaBetaFit::getAlgoDescription
edm::ParameterSetDescription getAlgoDescription() override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:179
EcalUncalibRecHitWorkerRunOneDigiBase
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:10
EcalDigiCollections.h
edm::ESHandle
Definition:
DTSurvey.h:22
Event
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEE_
double alphaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:47
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pedHandle
edm::ESHandle< EcalPedestals > pedHandle
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:57
EcalUncalibRecHitWorkerFixedAlphaBetaFit::set
void set(const edm::EventSetup &es) override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:53
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEE_
double AmplThrEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaBetaValues_
std::vector< std::vector< std::pair< double, double > > > alphaBetaValues_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:50
EcalUncalibRecHitWorkerFixedAlphaBetaFit
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:25
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame >
EcalUncalibRecHitWorkerFixedAlphaBetaFit::useAlphaBetaArray_
bool useAlphaBetaArray_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:51
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pRatio
edm::ESHandle< EcalGainRatios > pRatio
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:56
EcalUncalibRecHitWorkerRunOneDigiBase.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalGainRatiosRcd.h
edm::ESGetToken
Definition:
EventSetup.h:48
EcalGainRatios.h
EcalUncalibRecHitFixedAlphaBetaAlgo.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEE_
double betaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:48
ParameterSetDescription
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEE_
EcalUncalibRecHitFixedAlphaBetaAlgo< EEDataFrame > algoEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:43
EcalPedestalsRcd.h
mps_fire.result
result
Definition:
mps_fire.py:311
EcalUncalibRecHitWorkerFixedAlphaBetaFit::~EcalUncalibRecHitWorkerFixedAlphaBetaFit
~EcalUncalibRecHitWorkerFixedAlphaBetaFit() override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:29
EventSetup
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pedestalsToken_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedestalsToken_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:59
edm::Event
Definition:
Event.h:73
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphabetaFilename_
std::string alphabetaFilename_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:52
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEB_
double AmplThrEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:39
EcalUncalibRecHitWorkerFixedAlphaBetaFit::setAlphaBeta
bool setAlphaBeta()
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:66
Generated for CMSSW Reference Manual by
1.8.16