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  enum detectortype { hgcee = 1, hgcfh = 2, hgcbh = 3, hgchfnose = 4 };
29 
31  std::vector<double> hgcEE_fCPerMIP_;
32  std::vector<double> hgcEE_cce_;
34  std::vector<double> hgcHEF_fCPerMIP_;
35  std::vector<double> hgcHEF_cce_;
38  std::vector<double> hgcHFNose_fCPerMIP_;
39  std::vector<double> hgcHFNose_cce_;
41 
42  std::vector<double> hgcEE_noise_fC_;
43  std::vector<double> hgcHEF_noise_fC_;
44  std::vector<double> hgcHFNose_noise_fC_;
46 
47  std::array<const HGCalDDDConstants*, 4> 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_, rcorrNose_;
58  std::vector<float> weights_, weightsNose_;
59  std::unique_ptr<HGCalRecHitSimpleAlgo> rechitMaker_;
60  std::unique_ptr<hgcal::RecHitTools> tools_;
61 };
62 
63 #endif
std::vector< float > weights_
std::vector< double > hgcEE_cce_
std::vector< float > weightsNose_
std::vector< double > hgcHEF_fCPerMIP_
std::vector< double > hgcEE_fCPerMIP_
std::vector< double > hgcEE_noise_fC_
std::vector< double > hgcHFNose_cce_
std::vector< double > hgcHEF_cce_
std::vector< double > hgcHFNose_fCPerMIP_
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< double > rcorrNose_
std::array< const HGCalDDDConstants *, 4 > ddds_
std::vector< int > v_DB_reco_flags_
std::vector< double > hgcHFNose_noise_fC_