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 
16 
20 
22 public:
24  ~HGCalRecHitWorkerSimple() override;
25 
26  void set(const edm::EventSetup& es) override;
27  bool run(const edm::Event& evt, const HGCUncalibratedRecHit& uncalibRH, HGCRecHitCollection& result) override;
28 
29 protected:
30  enum detectortype { hgcee = 1, hgcfh = 2, hgcbh = 3, hgchfnose = 4 };
31 
36 
38  std::vector<double> hgcEE_fCPerMIP_;
39  std::vector<double> hgcEE_cce_;
41  std::vector<double> hgcHEF_fCPerMIP_;
42  std::vector<double> hgcHEF_cce_;
45  std::vector<double> hgcHFNose_fCPerMIP_;
46  std::vector<double> hgcHFNose_cce_;
48 
49  std::vector<double> hgcEE_noise_fC_;
50  std::vector<double> hgcHEF_noise_fC_;
51  std::vector<double> hgcHFNose_noise_fC_;
53 
54  std::array<const HGCalDDDConstants*, 4> ddds_;
55 
56  std::vector<int> v_chstatus_;
57 
58  std::vector<int> v_DB_reco_flags_;
60 
61  uint32_t rangeMatch_;
62  uint32_t rangeMask_;
63 
64  std::vector<double> rcorr_, rcorrNose_;
65  double rcorrscint_;
67  std::vector<float> weights_, weightsNose_;
68  std::unique_ptr<HGCalRecHitSimpleAlgo> rechitMaker_;
69  std::unique_ptr<hgcal::RecHitTools> tools_;
70 
72 };
73 
74 #endif
std::vector< float > weights_
std::vector< double > hgcEE_cce_
std::vector< float > weightsNose_
std::vector< double > hgcHEF_fCPerMIP_
std::vector< double > hgcEE_fCPerMIP_
HGCalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector iC)
hgcalsimclustertime::ComputeClusterTime timeEstimatorSi_
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_
bool run(const edm::Event &evt, const HGCUncalibratedRecHit &uncalibRH, HGCRecHitCollection &result) override
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > ee_geometry_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hfnose_geometry_token_
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
std::vector< double > rcorrNose_
std::array< const HGCalDDDConstants *, 4 > ddds_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hef_geometry_token_
std::vector< int > v_DB_reco_flags_
std::vector< double > hgcHFNose_noise_fC_