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 
23 
26 
27 namespace edm {
28  class Event;
29  class EventSetup;
30  class ParameterSet;
32 } // namespace edm
33 
35 public:
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
EcalUncalibRecHitWorkerWeights::uncalibMaker_endcap_
EcalUncalibRecHitRecWeightsAlgo< EEDataFrame > uncalibMaker_endcap_
Definition: EcalUncalibRecHitWorkerWeights.h:65
EcalUncalibRecHitWorkerWeights::testbeamEEShape
EEShape testbeamEEShape
Definition: EcalUncalibRecHitWorkerWeights.h:67
EcalUncalibRecHitWorkerWeights::chi2mat
const EcalWeightSet::EcalChi2WeightMatrix * chi2mat[2]
Definition: EcalUncalibRecHitWorkerWeights.h:62
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame >
EcalPedestals.h
EcalUncalibRecHitWorkerWeights::peds_
edm::ESHandle< EcalPedestals > peds_
Definition: EcalUncalibRecHitWorkerWeights.h:52
EcalUncalibRecHitWorkerWeights::set
void set(const edm::EventSetup &es) override
Definition: EcalUncalibRecHitWorkerWeights.cc:21
EcalUncalibRecHitRecWeightsAlgo.h
EcalUncalibRecHitWorkerWeights
Definition: EcalUncalibRecHitWorkerWeights.h:34
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:113
EcalUncalibRecHitWorkerWeights::tokenPeds_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > tokenPeds_
Definition: EcalUncalibRecHitWorkerWeights.h:48
EBShape
Definition: EBShape.h:6
EcalUncalibRecHitWorkerWeights::pedVec
double pedVec[3]
Definition: EcalUncalibRecHitWorkerWeights.h:57
EcalUncalibRecHitWorkerWeights::gains_
edm::ESHandle< EcalGainRatios > gains_
Definition: EcalUncalibRecHitWorkerWeights.h:53
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalUncalibRecHitWorkerWeights::uncalibMaker_barrel_
EcalUncalibRecHitRecWeightsAlgo< EBDataFrame > uncalibMaker_barrel_
Definition: EcalUncalibRecHitWorkerWeights.h:64
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection
Definition: SortedCollection.h:49
ESGetToken.h
EcalWeightXtalGroups.h
EcalUncalibRecHitWorkerWeights::tokenGains_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > tokenGains_
Definition: EcalUncalibRecHitWorkerWeights.h:49
EcalTBWeights.h
EBShape.h
EEShape.h
EcalWeightSet::EcalWeightMatrix
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:19
EcalUncalibRecHitWorkerWeights::EcalUncalibRecHitWorkerWeights
EcalUncalibRecHitWorkerWeights()
Definition: EcalUncalibRecHitWorkerWeights.h:37
EcalUncalibRecHitWorkerWeights::tokenGrps_
edm::ESGetToken< EcalWeightXtalGroups, EcalWeightXtalGroupsRcd > tokenGrps_
Definition: EcalUncalibRecHitWorkerWeights.h:50
EcalUncalibRecHitWorkerRunOneDigiBase
Definition: EcalUncalibRecHitWorkerRunOneDigiBase.h:10
edm::ESHandle
Definition: DTSurvey.h:22
EcalUncalibRecHitWorkerWeights::~EcalUncalibRecHitWorkerWeights
~EcalUncalibRecHitWorkerWeights() override
Definition: EcalUncalibRecHitWorkerWeights.h:38
Event
EcalUncalibRecHitWorkerWeights::wgts_
edm::ESHandle< EcalTBWeights > wgts_
Definition: EcalUncalibRecHitWorkerWeights.h:55
EEShape
Definition: EEShape.h:6
EcalUncalibRecHitWorkerWeights::gainRatios
double gainRatios[3]
Definition: EcalUncalibRecHitWorkerWeights.h:59
EcalUncalibRecHitWorkerWeights::testbeamEBShape
EBShape testbeamEBShape
Definition: EcalUncalibRecHitWorkerWeights.h:68
funct::true
true
Definition: Factorize.h:173
EcalUncalibRecHitWorkerWeights::weights
const EcalWeightSet::EcalWeightMatrix * weights[2]
Definition: EcalUncalibRecHitWorkerWeights.h:61
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
EcalGainRatiosRcd.h
edm::ESGetToken
Definition: EventSetup.h:48
EcalGainRatios.h
EcalUncalibRecHitWorkerWeights::tokenWgts_
edm::ESGetToken< EcalTBWeights, EcalTBWeightsRcd > tokenWgts_
Definition: EcalUncalibRecHitWorkerWeights.h:51
EcalUncalibRecHitWorkerWeights::run
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
Definition: EcalUncalibRecHitWorkerWeights.cc:31
ParameterSetDescription
EcalUncalibRecHitWorkerWeights::grps_
edm::ESHandle< EcalWeightXtalGroups > grps_
Definition: EcalUncalibRecHitWorkerWeights.h:54
EcalPedestalsRcd.h
mps_fire.result
result
Definition: mps_fire.py:311
EventSetup
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
EcalWeightXtalGroupsRcd.h
EcalTBWeightsRcd.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalUncalibRecHitWorkerWeights::pedRMSVec
double pedRMSVec[3]
Definition: EcalUncalibRecHitWorkerWeights.h:58