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 
19 
21 public:
23  ~HGCalRecHitWorkerSimple() override;
24 
25  void set(const edm::EventSetup& es) override;
26  bool run(const edm::Event& evt, const HGCUncalibratedRecHit& uncalibRH, HGCRecHitCollection& result) override;
27 
28 protected:
29  enum detectortype { hgcee = 1, hgcfh = 2, hgcbh = 3, hgchfnose = 4 };
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  std::vector<double> hgcHFNose_fCPerMIP_;
40  std::vector<double> hgcHFNose_cce_;
42 
43  std::vector<double> hgcEE_noise_fC_;
44  std::vector<double> hgcHEF_noise_fC_;
45  std::vector<double> hgcHFNose_noise_fC_;
47 
48  std::array<const HGCalDDDConstants*, 4> ddds_;
49 
50  std::vector<int> v_chstatus_;
51 
52  std::vector<int> v_DB_reco_flags_;
54 
55  uint32_t rangeMatch_;
56  uint32_t rangeMask_;
57 
58  std::vector<double> rcorr_, rcorrNose_;
59  double rcorrscint_;
61  std::vector<float> weights_, weightsNose_;
62  std::unique_ptr<HGCalRecHitSimpleAlgo> rechitMaker_;
63  std::unique_ptr<hgcal::RecHitTools> tools_;
64 
66 };
67 
68 #endif
HGCalRecHitWorkerSimple::hgcHFNose_keV2DIGI_
double hgcHFNose_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:38
HGCalRecHitWorkerSimple::rcorrNose_
std::vector< double > rcorrNose_
Definition: HGCalRecHitWorkerSimple.h:58
HGCalRecHitWorkerSimple::hgcHEF_fCPerMIP_
std::vector< double > hgcHEF_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:35
HGCalRecHitWorkerSimple::rangeMask_
uint32_t rangeMask_
Definition: HGCalRecHitWorkerSimple.h:56
HGCalRecHitWorkerSimple::hgcHFNose_noise_fC_
std::vector< double > hgcHFNose_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:45
HGCalRecHitWorkerSimple::weightsNose_
std::vector< float > weightsNose_
Definition: HGCalRecHitWorkerSimple.h:61
ESHandle.h
HGCalRecHitWorkerSimple::weights_
std::vector< float > weights_
Definition: HGCalRecHitWorkerSimple.h:61
HGCalRecHitWorkerSimple::hgchfnoseUncalib2GeV_
double hgchfnoseUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:38
RecHitTools.h
HGCalRecHitWorkerSimple::deltasi_index_regemfac_
int deltasi_index_regemfac_
Definition: HGCalRecHitWorkerSimple.h:60
edm::SortedCollection
Definition: SortedCollection.h:49
HGCalRecHitWorkerSimple::hgcHEF_cce_
std::vector< double > hgcHEF_cce_
Definition: HGCalRecHitWorkerSimple.h:36
HGCalRecHitWorkerSimple
Definition: HGCalRecHitWorkerSimple.h:20
HGCUncalibratedRecHit
Definition: HGCUncalibratedRecHit.h:7
HGCalRecHitWorkerSimple::hgcEE_isSiFE_
bool hgcEE_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:41
HGCalRecHitWorkerSimple::hgcbh
Definition: HGCalRecHitWorkerSimple.h:29
HGCalRecHitSimpleAlgo.h
HGCalRecHitWorkerSimple::hgcEE_fCPerMIP_
std::vector< double > hgcEE_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:32
HGCalRecHitWorkerSimple::hgcHEB_noise_MIP_
double hgcHEB_noise_MIP_
Definition: HGCalRecHitWorkerSimple.h:46
HGCalRecHitWorkerSimple::hgcHFNose_fCPerMIP_
std::vector< double > hgcHFNose_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:39
HGCalRecHitWorkerSimple::hgcfh
Definition: HGCalRecHitWorkerSimple.h:29
HGCalRecHitWorkerSimple::hgcHEF_noise_fC_
std::vector< double > hgcHEF_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:44
HGCalRecHitWorkerSimple::v_chstatus_
std::vector< int > v_chstatus_
Definition: HGCalRecHitWorkerSimple.h:50
HGCalRecHitWorkerSimple::hgcHEF_keV2DIGI_
double hgcHEF_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:34
HGCalRecHitWorkerSimple::hgchebUncalib2GeV_
double hgchebUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:37
HGCalRecHitWorkerSimple::rcorr_
std::vector< double > rcorr_
Definition: HGCalRecHitWorkerSimple.h:58
HGCalRecHitWorkerSimple::hgcHFNose_cce_
std::vector< double > hgcHFNose_cce_
Definition: HGCalRecHitWorkerSimple.h:40
HGCalRecHitWorkerSimple::set
void set(const edm::EventSetup &es) override
Definition: HGCalRecHitWorkerSimple.cc:93
HGCalRecHitWorkerSimple::timeEstimatorSi_
hgcalsimclustertime::ComputeClusterTime timeEstimatorSi_
Definition: HGCalRecHitWorkerSimple.h:65
HGCalRecHitWorkerSimple::~HGCalRecHitWorkerSimple
~HGCalRecHitWorkerSimple() override
Definition: HGCalRecHitWorkerSimple.cc:232
HGCalRecHitWorkerSimple::hgcEE_noise_fC_
std::vector< double > hgcEE_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:43
HGCalRecHitWorkerSimple::rcorrscint_
double rcorrscint_
Definition: HGCalRecHitWorkerSimple.h:59
HGCalRecHitWorkerSimple::detectortype
detectortype
Definition: HGCalRecHitWorkerSimple.h:29
ComputeClusterTime.h
HGCalGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:47
HGCalRecHitWorkerSimple::HGCalRecHitWorkerSimple
HGCalRecHitWorkerSimple(const edm::ParameterSet &)
Definition: HGCalRecHitWorkerSimple.cc:14
HGCalRecHitWorkerSimple::hgcHEB_isSiFE_
bool hgcHEB_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:41
HGCalRecHitWorkerSimple::hgcee
Definition: HGCalRecHitWorkerSimple.h:29
HGCalRecHitWorkerSimple::hgcHEF_isSiFE_
bool hgcHEF_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:41
HGCalRecHitWorkerSimple::hgchefUncalib2GeV_
double hgchefUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:34
edm::EventSetup
Definition: EventSetup.h:58
HGCalRecHitWorkerSimple::killDeadChannels_
bool killDeadChannels_
Definition: HGCalRecHitWorkerSimple.h:53
HGCalRecHitWorkerBaseClass
Definition: HGCalRecHitWorkerBaseClass.h:12
HGCalRecHitWorkerSimple::hgcHEB_keV2DIGI_
double hgcHEB_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:37
HGCalRecHitWorkerSimple::run
bool run(const edm::Event &evt, const HGCUncalibratedRecHit &uncalibRH, HGCRecHitCollection &result) override
Definition: HGCalRecHitWorkerSimple.cc:122
HGCalRecHitWorkerSimple::tools_
std::unique_ptr< hgcal::RecHitTools > tools_
Definition: HGCalRecHitWorkerSimple.h:63
HGCalRecHitWorkerSimple::hgcHFNose_isSiFE_
bool hgcHFNose_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:41
HGCalRecHitWorkerSimple::hgchfnose
Definition: HGCalRecHitWorkerSimple.h:29
HGCalRecHitWorkerSimple::rechitMaker_
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
Definition: HGCalRecHitWorkerSimple.h:62
HGCalRecHitWorkerBaseClass.h
hgcalsimclustertime::ComputeClusterTime
Definition: ComputeClusterTime.h:23
HGCalRecHitWorkerSimple::v_DB_reco_flags_
std::vector< int > v_DB_reco_flags_
Definition: HGCalRecHitWorkerSimple.h:52
HGCalRecHitWorkerSimple::hgceeUncalib2GeV_
double hgceeUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:31
mps_fire.result
result
Definition: mps_fire.py:311
ParameterSet.h
HGCalRecHitWorkerSimple::rangeMatch_
uint32_t rangeMatch_
Definition: HGCalRecHitWorkerSimple.h:55
HGCalRecHitWorkerSimple::ddds_
std::array< const HGCalDDDConstants *, 4 > ddds_
Definition: HGCalRecHitWorkerSimple.h:48
edm::Event
Definition: Event.h:73
HGCalRecHitWorkerSimple::hgcEE_cce_
std::vector< double > hgcEE_cce_
Definition: HGCalRecHitWorkerSimple.h:33
HGCalRecHitWorkerSimple::hgcEE_keV2DIGI_
double hgcEE_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:31