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
6
#include "
RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerRunOneDigiBase.h
"
7
8
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitFixedAlphaBetaAlgo.h
"
9
10
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
11
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
12
13
#include "
CondFormats/EcalObjects/interface/EcalGainRatios.h
"
14
#include "
CondFormats/EcalObjects/interface/EcalPedestals.h
"
15
16
namespace
edm
{
17
class
Event
;
18
class
EventSetup
;
19
class
ParameterSet
;
20
class
ParameterSetDescription
;
21
}
// namespace edm
22
23
class
EcalUncalibRecHitWorkerFixedAlphaBetaFit
:
public
EcalUncalibRecHitWorkerRunOneDigiBase
{
24
public
:
25
EcalUncalibRecHitWorkerFixedAlphaBetaFit
(
const
edm::ParameterSet
& ps,
edm::ConsumesCollector
&);
26
EcalUncalibRecHitWorkerFixedAlphaBetaFit
(){};
27
~EcalUncalibRecHitWorkerFixedAlphaBetaFit
()
override
{};
28
29
void
set
(
const
edm::EventSetup
& es)
override
;
30
bool
run
(
const
edm::Event
& evt,
31
const
EcalDigiCollection::const_iterator
& digi,
32
EcalUncalibratedRecHitCollection
&
result
)
override
;
33
34
edm::ParameterSetDescription
getAlgoDescription
()
override
;
35
36
private
:
37
double
AmplThrEB_
;
38
double
AmplThrEE_
;
39
40
EcalUncalibRecHitFixedAlphaBetaAlgo<EBDataFrame>
algoEB_
;
41
EcalUncalibRecHitFixedAlphaBetaAlgo<EEDataFrame>
algoEE_
;
42
43
double
alphaEB_
;
44
double
betaEB_
;
45
double
alphaEE_
;
46
double
betaEE_
;
47
std::vector<std::vector<std::pair<double, double> > >
48
alphaBetaValues_
;
// List of alpha and Beta values [SM#][CRY#](alpha, beta)
49
bool
useAlphaBetaArray_
;
50
std::string
alphabetaFilename_
;
51
52
bool
setAlphaBeta
();
// Sets the alphaBetaValues_ vectors by the values provided in alphabetaFilename_
53
54
edm::ESHandle<EcalGainRatios>
pRatio
;
55
edm::ESHandle<EcalPedestals>
pedHandle
;
56
};
57
#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:99
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEB_
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame > algoEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:40
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEB_
double alphaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:43
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEB_
double betaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:44
EcalRecHitCollections.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::EcalUncalibRecHitWorkerFixedAlphaBetaFit
EcalUncalibRecHitWorkerFixedAlphaBetaFit()
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:26
EcalUncalibRecHitWorkerFixedAlphaBetaFit::getAlgoDescription
edm::ParameterSetDescription getAlgoDescription() override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:182
EcalUncalibRecHitWorkerRunOneDigiBase
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:10
EcalDigiCollections.h
edm::ESHandle
Definition:
DTSurvey.h:22
Event
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEE_
double alphaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:45
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pedHandle
edm::ESHandle< EcalPedestals > pedHandle
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:55
EcalUncalibRecHitWorkerFixedAlphaBetaFit::set
void set(const edm::EventSetup &es) override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:56
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEE_
double AmplThrEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaBetaValues_
std::vector< std::vector< std::pair< double, double > > > alphaBetaValues_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:48
EcalUncalibRecHitWorkerFixedAlphaBetaFit
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:23
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame >
EcalUncalibRecHitWorkerFixedAlphaBetaFit::useAlphaBetaArray_
bool useAlphaBetaArray_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:49
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pRatio
edm::ESHandle< EcalGainRatios > pRatio
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:54
EcalUncalibRecHitWorkerRunOneDigiBase.h
edm::EventSetup
Definition:
EventSetup.h:57
EcalGainRatios.h
EcalUncalibRecHitFixedAlphaBetaAlgo.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEE_
double betaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:46
ParameterSetDescription
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEE_
EcalUncalibRecHitFixedAlphaBetaAlgo< EEDataFrame > algoEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:41
mps_fire.result
result
Definition:
mps_fire.py:303
EcalUncalibRecHitWorkerFixedAlphaBetaFit::~EcalUncalibRecHitWorkerFixedAlphaBetaFit
~EcalUncalibRecHitWorkerFixedAlphaBetaFit() override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:27
EventSetup
edm::Event
Definition:
Event.h:73
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphabetaFilename_
std::string alphabetaFilename_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:50
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEB_
double AmplThrEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:37
EcalUncalibRecHitWorkerFixedAlphaBetaFit::setAlphaBeta
bool setAlphaBeta()
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.cc:69
Generated for CMSSW Reference Manual by
1.8.16