CMS 3D CMS Logo

HGCalRecHitWorkerSimple.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_HGCalRecProducers_HGCalRecHitWorkerSimple_hh
2 #define RecoLocalCalo_HGCalRecProducers_HGCalRecHitWorkerSimple_hh
3 
13 
15 
18 
20  public:
22  ~HGCalRecHitWorkerSimple() override;
23 
24  void set(const edm::EventSetup& es) override;
25  bool run(const edm::Event& evt, const HGCUncalibratedRecHit& uncalibRH, HGCRecHitCollection & result) override;
26 
27  protected:
28 
29  enum detectortype { hgcee=1, hgcfh=2, hgcbh=3};
30 
32  std::vector<double> hgcEE_fCPerMIP_;
33  std::vector<double> hgcEE_cce_;
35  std::vector<double> hgcHEF_fCPerMIP_;
36  std::vector<double> hgcHEF_cce_;
39 
40 
41 
42  std::vector<double> hgcEE_noise_fC_;
43  std::vector<double> hgcHEF_noise_fC_;
45 
46 
47  std::array<const HGCalDDDConstants*, 3> ddds_;
48 
49  std::vector<int> v_chstatus_;
50 
51  std::vector<int> v_DB_reco_flags_;
53 
54  uint32_t rangeMatch_;
55  uint32_t rangeMask_;
56 
57  std::vector<double> rcorr_;
58  std::vector<float> weights_;
59  std::unique_ptr<HGCalRecHitSimpleAlgo> rechitMaker_;
60  std::unique_ptr<hgcal::RecHitTools> tools_;
61 
62 };
63 
64 #endif
std::vector< float > weights_
std::vector< double > hgcEE_cce_
std::array< const HGCalDDDConstants *, 3 > ddds_
std::vector< double > hgcHEF_fCPerMIP_
std::vector< double > hgcEE_fCPerMIP_
std::vector< double > hgcEE_noise_fC_
std::vector< double > hgcHEF_cce_
std::vector< double > hgcHEF_noise_fC_
std::vector< double > rcorr_
std::unique_ptr< hgcal::RecHitTools > tools_
HGCalRecHitWorkerSimple(const edm::ParameterSet &)
bool run(const edm::Event &evt, const HGCUncalibratedRecHit &uncalibRH, HGCRecHitCollection &result) override
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
std::vector< int > v_DB_reco_flags_