Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef RecoLocalCalo_EcalRecAlgos_EcalRecHitAbsAlgo_HH
0002 #define RecoLocalCalo_EcalRecAlgos_EcalRecHitAbsAlgo_HH
0003 
0004 /** \class EcalRecHitAbsAlgo
0005   *  Template algorithm to make rechits from uncalibrated rechits
0006   *
0007   *  \author Shahram Rahatlou, University of Rome & INFN, March 2006
0008   */
0009 
0010 #include <vector>
0011 #include "DataFormats/EcalRecHit/interface/EcalRecHit.h"
0012 #include "DataFormats/EcalRecHit/interface/EcalUncalibratedRecHit.h"
0013 
0014 class EcalRecHitAbsAlgo {
0015 public:
0016   /// Constructor
0017   //EcalRecHitAbsAlgo() { };
0018 
0019   /// Destructor
0020   virtual ~EcalRecHitAbsAlgo(){};
0021 
0022   /// make rechits from dataframes
0023 
0024   virtual void setADCToGeVConstant(const float& value) = 0;
0025   virtual EcalRecHit makeRecHit(const EcalUncalibratedRecHit& uncalibRH,
0026                                 const float& intercalib,
0027                                 const float& timecalib,
0028                                 const uint32_t& flags) const = 0;
0029 };
0030 #endif