Main Page
Namespaces
Classes
Package Documentation
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
}
22
23
class
EcalUncalibRecHitWorkerFixedAlphaBetaFit
:
public
EcalUncalibRecHitWorkerRunOneDigiBase
{
24
25
public
:
26
EcalUncalibRecHitWorkerFixedAlphaBetaFit
(
const
edm::ParameterSet
& ps,
edm::ConsumesCollector
& );
27
EcalUncalibRecHitWorkerFixedAlphaBetaFit
() {};
28
~EcalUncalibRecHitWorkerFixedAlphaBetaFit
()
override
{};
29
30
void
set
(
const
edm::EventSetup
& es)
override
;
31
bool
run
(
const
edm::Event
& evt,
const
EcalDigiCollection::const_iterator
& digi,
EcalUncalibratedRecHitCollection
&
result
)
override
;
32
33
edm::ParameterSetDescription
getAlgoDescription()
override
;
34
private
:
35
36
double
AmplThrEB_
;
37
double
AmplThrEE_
;
38
39
EcalUncalibRecHitFixedAlphaBetaAlgo<EBDataFrame>
algoEB_
;
40
EcalUncalibRecHitFixedAlphaBetaAlgo<EEDataFrame>
algoEE_
;
41
42
double
alphaEB_
;
43
double
betaEB_
;
44
double
alphaEE_
;
45
double
betaEE_
;
46
std::vector<std::vector<std::pair<double,double> > >
alphaBetaValues_
;
// List of alpha and Beta values [SM#][CRY#](alpha, beta)
47
bool
useAlphaBetaArray_
;
48
std::string
alphabetaFilename_
;
49
50
bool
setAlphaBeta();
// Sets the alphaBetaValues_ vectors by the values provided in alphabetaFilename_
51
52
edm::ESHandle<EcalGainRatios>
pRatio
;
53
edm::ESHandle<EcalPedestals>
pedHandle
;
54
};
55
#endif
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition:
DataFrameContainer.h:58
edm::SortedCollection< EcalUncalibratedRecHit >
mps_fire.result
result
Definition:
mps_fire.py:226
ParameterSetDescription
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaBetaValues_
std::vector< std::vector< std::pair< double, double > > > alphaBetaValues_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:46
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EcalPedestals.h
EcalRecHitCollections.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::useAlphaBetaArray_
bool useAlphaBetaArray_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:47
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pRatio
edm::ESHandle< EcalGainRatios > pRatio
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:52
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEE_
EcalUncalibRecHitFixedAlphaBetaAlgo< EEDataFrame > algoEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:40
EcalUncalibRecHitWorkerFixedAlphaBetaFit
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:23
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
EcalUncalibRecHitWorkerFixedAlphaBetaFit::~EcalUncalibRecHitWorkerFixedAlphaBetaFit
~EcalUncalibRecHitWorkerFixedAlphaBetaFit() override
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:28
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphabetaFilename_
std::string alphabetaFilename_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:48
EventSetup
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEE_
double betaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:45
EcalUncalibRecHitWorkerRunOneDigiBase
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:11
edm::ESHandle
Definition:
DTSurvey.h:22
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame >
EcalGainRatios.h
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEB_
double AmplThrEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:36
ESHandle.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:48
findQualityFiles.run
run
Definition:
findQualityFiles.py:408
EcalUncalibRecHitWorkerFixedAlphaBetaFit::algoEB_
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame > algoEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:39
EcalUncalibRecHitWorkerFixedAlphaBetaFit::EcalUncalibRecHitWorkerFixedAlphaBetaFit
EcalUncalibRecHitWorkerFixedAlphaBetaFit()
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:27
Event
EcalUncalibRecHitWorkerFixedAlphaBetaFit::betaEB_
double betaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:43
EcalUncalibRecHitWorkerRunOneDigiBase.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
EcalUncalibRecHitWorkerFixedAlphaBetaFit::AmplThrEE_
double AmplThrEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:37
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEB_
double alphaEB_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:42
edm::Event
Definition:
Event.h:69
EcalUncalibRecHitWorkerFixedAlphaBetaFit::pedHandle
edm::ESHandle< EcalPedestals > pedHandle
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:53
EcalUncalibRecHitFixedAlphaBetaAlgo.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
EcalUncalibRecHitWorkerFixedAlphaBetaFit::alphaEE_
double alphaEE_
Definition:
EcalUncalibRecHitWorkerFixedAlphaBetaFit.h:44
Generated for CMSSW Reference Manual by
1.8.11