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  void run(const edm::Event& evt,
28  const HGCUncalibratedRecHitCollection& uncalibRH,
29  HGCRecHitCollection& result) override;
30 
31 protected:
32  enum detectortype { hgcee = 1, hgcfh = 2, hgcbh = 3, hgchfnose = 4 };
33 
38 
40  std::vector<double> hgcEE_fCPerMIP_;
41  std::vector<double> hgcEE_cce_;
43  std::vector<double> hgcHEF_fCPerMIP_;
44  std::vector<double> hgcHEF_cce_;
47  std::vector<double> hgcHFNose_fCPerMIP_;
48  std::vector<double> hgcHFNose_cce_;
50 
51  std::vector<double> hgcEE_noise_fC_;
52  std::vector<double> hgcHEF_noise_fC_;
53  std::vector<double> hgcHFNose_noise_fC_;
55 
56  std::array<const HGCalDDDConstants*, 4> ddds_;
57 
58  std::vector<int> v_chstatus_;
59 
60  std::vector<int> v_DB_reco_flags_;
62 
63  uint32_t rangeMatch_;
64  uint32_t rangeMask_;
65 
66  std::vector<double> rcorr_, rcorrNose_;
67  double rcorrscint_;
69  std::vector<float> weights_, weightsNose_;
70  std::unique_ptr<HGCalRecHitSimpleAlgo> rechitMaker_;
71  std::unique_ptr<hgcal::RecHitTools> tools_;
72 
74 };
75 
76 #endif
void run(const edm::Event &evt, const HGCUncalibratedRecHitCollection &uncalibRH, HGCRecHitCollection &result) override
std::vector< float > weights_
std::vector< HGCRecHit > HGCRecHitCollection
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_
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_