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> class EcalUncalibRecHitRecAbsAlgo
18 {
19  public:
20  enum { nWeightsRows = 3, iAmplitude = 0, iPedestal = 1, iTime = 2 };
21 
23  //EcalUncalibRecHitRecAbsAlgo() { };
24 
26  //virtual ~EcalUncalibRecHitRecAbsAlgo() { };
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 };
37 #endif
virtual EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalWeightSet::EcalChi2WeightMatrix **chi2Matrix)=0
Constructor.
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:23
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:22