CMS 3D CMS Logo

EcalUncalibRecHitWorkerWeights.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitRecWorkerWeights_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitRecWorkerWeights_hh
3 
18 
21 
22 namespace edm {
23  class Event;
24  class EventSetup;
25  class ParameterSet;
27 } // namespace edm
28 
30 public:
32  EcalUncalibRecHitWorkerWeights() : testbeamEEShape(EEShape(true)), testbeamEBShape(EBShape(true)) { ; }
34 
35  void set(const edm::EventSetup& es) override;
36  bool run(const edm::Event& evt,
39 
40  edm::ParameterSetDescription getAlgoDescription() override;
41 
42 protected:
47 
48  double pedVec[3];
49  double pedRMSVec[3];
50  double gainRatios[3];
51 
54 
57 
58  EEShape testbeamEEShape; // used in the chi2
59  EBShape testbeamEBShape; // can be replaced by simple shape arrays of floats in the future (kostas)
60 };
61 
62 #endif
edm::ESHandle< EcalGainRatios > gains
EcalUncalibRecHitRecWeightsAlgo< EEDataFrame > uncalibMaker_endcap_
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:21
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:20
Definition: EBShape.h:6
edm::ESHandle< EcalWeightXtalGroups > grps
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HLT enums.
Definition: EEShape.h:6
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame > uncalibMaker_barrel_