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
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedestalsToken_
EcalUncalibRecHitFixedAlphaBetaAlgo< EEDataFrame > algoEE_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > ratiosToken_
EcalUncalibRecHitFixedAlphaBetaAlgo< EBDataFrame > algoEB_
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HLT enums.
std::vector< std::vector< std::pair< double, double > > > alphaBetaValues_