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:
34 
35  void set(const edm::EventSetup& es) override;
36  bool run(const edm::Event& evt,
39 
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
EcalUncalibRecHitWorkerWeights::uncalibMaker_endcap_
EcalUncalibRecHitRecWeightsAlgo< EEDataFrame > uncalibMaker_endcap_
Definition: EcalUncalibRecHitWorkerWeights.h:56
EcalUncalibRecHitWorkerWeights::testbeamEEShape
EEShape testbeamEEShape
Definition: EcalUncalibRecHitWorkerWeights.h:58
EcalUncalibRecHitWorkerWeights::chi2mat
const EcalWeightSet::EcalChi2WeightMatrix * chi2mat[2]
Definition: EcalUncalibRecHitWorkerWeights.h:53
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame >
EcalPedestals.h
EcalUncalibRecHitWorkerWeights::set
void set(const edm::EventSetup &es) override
Definition: EcalUncalibRecHitWorkerWeights.cc:20
EcalUncalibRecHitRecWeightsAlgo.h
EcalUncalibRecHitWorkerWeights
Definition: EcalUncalibRecHitWorkerWeights.h:29
ESHandle.h
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
EcalUncalibRecHitWorkerWeights::getAlgoDescription
edm::ParameterSetDescription getAlgoDescription() override
Definition: EcalUncalibRecHitWorkerWeights.cc:112
EBShape
Definition: EBShape.h:6
EcalUncalibRecHitWorkerWeights::pedVec
double pedVec[3]
Definition: EcalUncalibRecHitWorkerWeights.h:48
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalUncalibRecHitWorkerWeights::wgts
edm::ESHandle< EcalTBWeights > wgts
Definition: EcalUncalibRecHitWorkerWeights.h:46
EcalUncalibRecHitWorkerWeights::uncalibMaker_barrel_
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame > uncalibMaker_barrel_
Definition: EcalUncalibRecHitWorkerWeights.h:55
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection
Definition: SortedCollection.h:49
EcalWeightXtalGroups.h
EcalTBWeights.h
EBShape.h
EEShape.h
EcalWeightSet::EcalWeightMatrix
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:19
EcalUncalibRecHitWorkerWeights::EcalUncalibRecHitWorkerWeights
EcalUncalibRecHitWorkerWeights()
Definition: EcalUncalibRecHitWorkerWeights.h:32
EcalUncalibRecHitWorkerRunOneDigiBase
Definition: EcalUncalibRecHitWorkerRunOneDigiBase.h:10
edm::ESHandle
Definition: DTSurvey.h:22
EcalUncalibRecHitWorkerWeights::~EcalUncalibRecHitWorkerWeights
~EcalUncalibRecHitWorkerWeights() override
Definition: EcalUncalibRecHitWorkerWeights.h:33
Event
EcalUncalibRecHitWorkerWeights::grps
edm::ESHandle< EcalWeightXtalGroups > grps
Definition: EcalUncalibRecHitWorkerWeights.h:45
EEShape
Definition: EEShape.h:6
EcalUncalibRecHitWorkerWeights::gainRatios
double gainRatios[3]
Definition: EcalUncalibRecHitWorkerWeights.h:50
EcalUncalibRecHitWorkerWeights::testbeamEBShape
EBShape testbeamEBShape
Definition: EcalUncalibRecHitWorkerWeights.h:59
EcalUncalibRecHitWorkerWeights::peds
edm::ESHandle< EcalPedestals > peds
Definition: EcalUncalibRecHitWorkerWeights.h:43
funct::true
true
Definition: Factorize.h:173
EcalUncalibRecHitWorkerWeights::weights
const EcalWeightSet::EcalWeightMatrix * weights[2]
Definition: EcalUncalibRecHitWorkerWeights.h:52
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
EcalWeightSet::EcalChi2WeightMatrix
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:20
EcalUncalibRecHitWorkerRunOneDigiBase.h
edm::EventSetup
Definition: EventSetup.h:58
EcalGainRatios.h
EcalUncalibRecHitWorkerWeights::run
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
Definition: EcalUncalibRecHitWorkerWeights.cc:30
ParameterSetDescription
mps_fire.result
result
Definition: mps_fire.py:311
EventSetup
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
EcalUncalibRecHitWorkerWeights::gains
edm::ESHandle< EcalGainRatios > gains
Definition: EcalUncalibRecHitWorkerWeights.h:44
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalUncalibRecHitWorkerWeights::pedRMSVec
double pedRMSVec[3]
Definition: EcalUncalibRecHitWorkerWeights.h:49