CMS 3D CMS Logo

EcalUncalibRecHitWorkerFixedAlphaBetaFit.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerFixedAlphaBetaFit_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerFixedAlphaBetaFit_hh
3 
6 
8 
10 
13 
18 namespace edm {
19  class Event;
20  class EventSetup;
21  class ParameterSet;
23 } // namespace edm
24 
26 public:
30 
31  void set(const edm::EventSetup& es) override;
32  bool run(const edm::Event& evt,
35 
37 
38 private:
39  double AmplThrEB_;
40  double AmplThrEE_;
41 
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)
53 
54  bool setAlphaBeta(); // Sets the alphaBetaValues_ vectors by the values provided in alphabetaFilename_
55 
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