Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:32

0001 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCalUncalibRecHitRecAbsAlgo_HH
0002 #define RecoLocalCalo_HGCalRecAlgos_HGCalUncalibRecHitRecAbsAlgo_HH
0003 
0004 /** \class HGCalUncalibRecHitRecAbsAlgo
0005   *  Template used by Ecal to compute amplitude, pedestal, time jitter, chi2 of a pulse
0006   *  using a weights method
0007   *
0008   *  \author
0009   */
0010 
0011 #include <vector>
0012 #include "DataFormats/HGCRecHit/interface/HGCUncalibratedRecHit.h"
0013 
0014 template <class C>
0015 class HGCalUncalibRecHitRecAbsAlgo {
0016 public:
0017   enum { nWeightsRows = 3, iAmplitude = 0, iPedestal = 1, iTime = 2 };
0018 
0019   /// Constructor
0020   virtual HGCUncalibratedRecHit makeRecHit(const C& dataFrame) = 0;
0021 };
0022 #endif