CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalUncalibRecHitWorkerWeights.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitRecWorkerWeights_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitRecWorkerWeights_hh
3 
23 
26 
27 namespace edm {
28  class Event;
29  class EventSetup;
30  class ParameterSet;
32 } // namespace edm
33 
35 public:
37  EcalUncalibRecHitWorkerWeights() = default; // for EcalUncalibRecHitFillDescriptionWorkerFactory
39 
40  void set(const edm::EventSetup& es) override;
41  bool run(const edm::Event& evt,
44 
46 
47 protected:
56 
57  double pedVec[3];
58  double pedRMSVec[3];
59  double gainRatios[3];
60 
63 
66 
67  EEShape testbeamEEShape; // used in the chi2
68  EBShape testbeamEBShape; // can be replaced by simple shape arrays of floats in the future (kostas)
69 };
70 
71 #endif
edm::ESHandle< EcalWeightXtalGroups > grps_
const edm::EventSetup & c
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
EcalUncalibRecHitRecWeightsAlgo< EEDataFrame > uncalibMaker_endcap_
void set(const edm::EventSetup &es) override
edm::ESHandle< EcalTBWeights > wgts_
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:20
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:19
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > tokenPeds_
const EcalWeightSet::EcalWeightMatrix * weights[2]
tuple result
Definition: mps_fire.py:311
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > tokenGains_
Definition: EBShape.h:7
edm::ESHandle< EcalPedestals > peds_
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
edm::ESGetToken< EcalTBWeights, EcalTBWeightsRcd > tokenWgts_
const EcalWeightSet::EcalChi2WeightMatrix * chi2mat[2]
edm::ESGetToken< EcalWeightXtalGroups, EcalWeightXtalGroupsRcd > tokenGrps_
edm::ESHandle< EcalGainRatios > gains_
edm::ParameterSetDescription getAlgoDescription() override
Definition: EEShape.h:7
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame > uncalibMaker_barrel_