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 edm::EventSetup& es) { rhtools_.getEventSetup(es); }
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:21
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
HGCRecHit.h
HGCalRecHitAbsAlgo::setLayerWeights
virtual void setLayerWeights(const std::vector< float > &weights)
make rechits from dataframes
Definition: HGCalRecHitAbsAlgo.h:28
HGCRecHit
Definition: HGCRecHit.h:14
HGCalRecHitAbsAlgo
Definition: HGCalRecHitAbsAlgo.h:17
value
Definition: value.py:1
HGCalRecHitAbsAlgo::set
void set(const edm::EventSetup &es)
Definition: HGCalRecHitAbsAlgo.h:25
edm::EventSetup
Definition: EventSetup.h:57
hgcal::RecHitTools::getEventSetup
void getEventSetup(const edm::EventSetup &)
Definition: RecHitTools.cc:70
HGCalRecHitAbsAlgo::makeRecHit
virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags) const =0
HLT_2018_cff.flags
flags
Definition: HLT_2018_cff.py:11758
HGCalRecHitAbsAlgo::setADCToGeVConstant
virtual void setADCToGeVConstant(const float value)=0
RecHitTools.h
HGCUncalibratedRecHit.h