CMS 3D CMS Logo

EcalUncalibRecHitRecAbsAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitRecAbsAlgo_HH
2 #define RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitRecAbsAlgo_HH
3 
11 #include "Math/SVector.h"
12 #include "Math/SMatrix.h"
13 #include <vector>
16 
17 template <class C>
19 public:
20  enum { nWeightsRows = 3, iAmplitude = 0, iPedestal = 1, iTime = 2 };
21 
23  //EcalUncalibRecHitRecAbsAlgo() { };
24 
26  virtual ~EcalUncalibRecHitRecAbsAlgo() = default;
27 
29 
30  virtual EcalUncalibratedRecHit makeRecHit(const C& dataFrame,
31  const double* pedestals,
32  const double* gainRatios,
34  const EcalWeightSet::EcalChi2WeightMatrix** chi2Matrix) = 0;
35 };
36 #endif
EcalUncalibRecHitRecAbsAlgo::iTime
Definition: EcalUncalibRecHitRecAbsAlgo.h:20
EcalUncalibRecHitRecAbsAlgo::makeRecHit
virtual EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalWeightSet::EcalChi2WeightMatrix **chi2Matrix)=0
make rechits from dataframes
EcalUncalibratedRecHit.h
EcalUncalibRecHitRecAbsAlgo::iAmplitude
Definition: EcalUncalibRecHitRecAbsAlgo.h:20
EcalWeightSet::EcalWeightMatrix
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:19
EcalUncalibRecHitRecAbsAlgo
Definition: EcalUncalibRecHitRecAbsAlgo.h:18
HLT_FULL_cff.weights
weights
Definition: HLT_FULL_cff.py:99244
EcalUncalibRecHitRecAbsAlgo::nWeightsRows
Definition: EcalUncalibRecHitRecAbsAlgo.h:20
EcalUncalibRecHitRecAbsAlgo::~EcalUncalibRecHitRecAbsAlgo
virtual ~EcalUncalibRecHitRecAbsAlgo()=default
Constructor.
EcalWeightSet::EcalChi2WeightMatrix
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:20
EcalUncalibratedRecHit
Definition: EcalUncalibratedRecHit.h:8
gen::C
C
Definition: PomwigHadronizer.cc:78
EcalUncalibRecHitRecAbsAlgo::iPedestal
Definition: EcalUncalibRecHitRecAbsAlgo.h:20
EcalWeightSet.h