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 
5 
7 
9 
12 
15 
16 namespace edm {
17  class Event;
18  class EventSetup;
19  class ParameterSet;
21 } // namespace edm
22 
24 public:
28 
29  void set(const edm::EventSetup& es) override;
30  bool run(const edm::Event& evt,
33 
35 
36 private:
37  double AmplThrEB_;
38  double AmplThrEE_;
39 
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)
51 
52  bool setAlphaBeta(); // Sets the alphaBetaValues_ vectors by the values provided in alphabetaFilename_
53 
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