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
Definition: RecHitTools.h:23
HLT_2018_cff.weights
weights
Definition: HLT_2018_cff.py:87167
HGCalRecHitAbsAlgo::~HGCalRecHitAbsAlgo
virtual ~HGCalRecHitAbsAlgo()
Constructor.
Definition: HGCalRecHitAbsAlgo.h:23
HGCalRecHitAbsAlgo::rhtools_
hgcal::RecHitTools rhtools_
Definition: HGCalRecHitAbsAlgo.h:34
HGCUncalibratedRecHit
Definition: HGCUncalibratedRecHit.h:7
CaloGeometry
Definition: CaloGeometry.h:21
HGCRecHit.h
HGCalRecHitAbsAlgo::setLayerWeights
virtual void setLayerWeights(const std::vector< float > &weights)
make rechits from dataframes
Definition: HGCalRecHitAbsAlgo.h:28
HGCalRecHitAbsAlgo::set
void set(const CaloGeometry &geom)
Definition: HGCalRecHitAbsAlgo.h:25
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HGCRecHit
Definition: HGCRecHit.h:14
HGCalRecHitAbsAlgo
Definition: HGCalRecHitAbsAlgo.h:17
value
Definition: value.py:1
HGCalRecHitAbsAlgo::makeRecHit
virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags) const =0
hgcal::RecHitTools::setGeometry
void setGeometry(CaloGeometry const &)
Definition: RecHitTools.cc:68
HLT_2018_cff.flags
flags
Definition: HLT_2018_cff.py:11758
HGCalRecHitAbsAlgo::setADCToGeVConstant
virtual void setADCToGeVConstant(const float value)=0
RecHitTools.h
HGCUncalibratedRecHit.h