CMS 3D CMS Logo

HGCalRecHitAbsAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCalRecHitAbsAlgo_HH
2 #define RecoLocalCalo_HGCalRecAlgos_HGCalRecHitAbsAlgo_HH
3 
12 #include <vector>
16 
18 public:
20  //HGCalRecHitAbsAlgo() { };
21 
23  virtual ~HGCalRecHitAbsAlgo() {}
24 
25  inline void set(const CaloGeometry& geom) { rhtools_.setGeometry(geom); }
26 
28  virtual void setLayerWeights(const std::vector<float>& weights) {}
29 
30  virtual void setADCToGeVConstant(const float value) = 0;
31  virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit& uncalibRH, const uint32_t& flags) const = 0;
32 
33 protected:
35 };
36 #endif
hgcal::RecHitTools rhtools_
virtual ~HGCalRecHitAbsAlgo()
Constructor.
virtual void setADCToGeVConstant(const float value)=0
Definition: value.py:1
void setGeometry(CaloGeometry const &)
Definition: RecHitTools.cc:79
virtual void setLayerWeights(const std::vector< float > &weights)
make rechits from dataframes
virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags) const =0