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
HGCalRecHitWorkerSimple::hgcHFNose_keV2DIGI_
double hgcHFNose_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:44
HGCalRecHitWorkerSimple::rcorrNose_
std::vector< double > rcorrNose_
Definition: HGCalRecHitWorkerSimple.h:64
HGCalRecHitWorkerSimple::hgcHEF_fCPerMIP_
std::vector< double > hgcHEF_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:41
HGCalRecHitWorkerSimple::rangeMask_
uint32_t rangeMask_
Definition: HGCalRecHitWorkerSimple.h:62
HGCalRecHitWorkerSimple::hgcHFNose_noise_fC_
std::vector< double > hgcHFNose_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:51
HGCalRecHitWorkerSimple::weightsNose_
std::vector< float > weightsNose_
Definition: HGCalRecHitWorkerSimple.h:67
ESHandle.h
HGCalRecHitWorkerSimple::weights_
std::vector< float > weights_
Definition: HGCalRecHitWorkerSimple.h:67
HGCalRecHitWorkerSimple::hef_geometry_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hef_geometry_token_
Definition: HGCalRecHitWorkerSimple.h:34
HGCalRecHitWorkerSimple::hgchfnoseUncalib2GeV_
double hgchfnoseUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:44
HGCalRecHitWorkerSimple::HGCalRecHitWorkerSimple
HGCalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector iC)
Definition: HGCalRecHitWorkerSimple.cc:14
RecHitTools.h
HGCalRecHitWorkerSimple::deltasi_index_regemfac_
int deltasi_index_regemfac_
Definition: HGCalRecHitWorkerSimple.h:66
edm::SortedCollection
Definition: SortedCollection.h:49
HGCalRecHitWorkerSimple::hgcHEF_cce_
std::vector< double > hgcHEF_cce_
Definition: HGCalRecHitWorkerSimple.h:42
HGCalRecHitWorkerSimple
Definition: HGCalRecHitWorkerSimple.h:21
HGCUncalibratedRecHit
Definition: HGCUncalibratedRecHit.h:7
HGCalRecHitWorkerSimple::hgcEE_isSiFE_
bool hgcEE_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:47
HGCalRecHitWorkerSimple::hgcbh
Definition: HGCalRecHitWorkerSimple.h:30
HGCalRecHitSimpleAlgo.h
HGCalRecHitWorkerSimple::hgcEE_fCPerMIP_
std::vector< double > hgcEE_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:38
HGCalRecHitWorkerSimple::hgcHEB_noise_MIP_
double hgcHEB_noise_MIP_
Definition: HGCalRecHitWorkerSimple.h:52
HGCalRecHitWorkerSimple::hgcHFNose_fCPerMIP_
std::vector< double > hgcHFNose_fCPerMIP_
Definition: HGCalRecHitWorkerSimple.h:45
HGCalRecHitWorkerSimple::hgcfh
Definition: HGCalRecHitWorkerSimple.h:30
HGCalRecHitWorkerSimple::hgcHEF_noise_fC_
std::vector< double > hgcHEF_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:50
HGCalRecHitWorkerSimple::v_chstatus_
std::vector< int > v_chstatus_
Definition: HGCalRecHitWorkerSimple.h:56
HGCalRecHitWorkerSimple::hgcHEF_keV2DIGI_
double hgcHEF_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:40
HGCalRecHitWorkerSimple::hgchebUncalib2GeV_
double hgchebUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:43
HGCalRecHitWorkerSimple::rcorr_
std::vector< double > rcorr_
Definition: HGCalRecHitWorkerSimple.h:64
HGCalRecHitWorkerSimple::hgcHFNose_cce_
std::vector< double > hgcHFNose_cce_
Definition: HGCalRecHitWorkerSimple.h:46
HGCalRecHitWorkerSimple::set
void set(const edm::EventSetup &es) override
Definition: HGCalRecHitWorkerSimple.cc:99
HGCalRecHitWorkerSimple::timeEstimatorSi_
hgcalsimclustertime::ComputeClusterTime timeEstimatorSi_
Definition: HGCalRecHitWorkerSimple.h:71
HGCalRecHitWorkerSimple::~HGCalRecHitWorkerSimple
~HGCalRecHitWorkerSimple() override
Definition: HGCalRecHitWorkerSimple.cc:234
HGCalRecHitWorkerSimple::hgcEE_noise_fC_
std::vector< double > hgcEE_noise_fC_
Definition: HGCalRecHitWorkerSimple.h:49
HGCalRecHitWorkerSimple::rcorrscint_
double rcorrscint_
Definition: HGCalRecHitWorkerSimple.h:65
HGCalRecHitWorkerSimple::detectortype
detectortype
Definition: HGCalRecHitWorkerSimple.h:30
ComputeClusterTime.h
HGCalGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:47
HGCalRecHitWorkerSimple::hgcHEB_isSiFE_
bool hgcHEB_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:47
HGCalRecHitWorkerSimple::hgcee
Definition: HGCalRecHitWorkerSimple.h:30
HGCalRecHitWorkerSimple::hgcHEF_isSiFE_
bool hgcHEF_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:47
HGCalRecHitWorkerSimple::hgchefUncalib2GeV_
double hgchefUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:40
edm::EventSetup
Definition: EventSetup.h:58
HGCalRecHitWorkerSimple::killDeadChannels_
bool killDeadChannels_
Definition: HGCalRecHitWorkerSimple.h:59
HGCalRecHitWorkerBaseClass
Definition: HGCalRecHitWorkerBaseClass.h:13
HGCalRecHitWorkerSimple::hgcHEB_keV2DIGI_
double hgcHEB_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:43
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
HGCalRecHitWorkerSimple::run
bool run(const edm::Event &evt, const HGCUncalibratedRecHit &uncalibRH, HGCRecHitCollection &result) override
Definition: HGCalRecHitWorkerSimple.cc:124
HGCalRecHitWorkerSimple::tools_
std::unique_ptr< hgcal::RecHitTools > tools_
Definition: HGCalRecHitWorkerSimple.h:69
HGCalRecHitWorkerSimple::caloGeomToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
Definition: HGCalRecHitWorkerSimple.h:32
HGCalRecHitWorkerSimple::hgcHFNose_isSiFE_
bool hgcHFNose_isSiFE_
Definition: HGCalRecHitWorkerSimple.h:47
HGCalRecHitWorkerSimple::hfnose_geometry_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hfnose_geometry_token_
Definition: HGCalRecHitWorkerSimple.h:35
HGCalRecHitWorkerSimple::hgchfnose
Definition: HGCalRecHitWorkerSimple.h:30
HGCalRecHitWorkerSimple::rechitMaker_
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
Definition: HGCalRecHitWorkerSimple.h:68
HGCalRecHitWorkerBaseClass.h
hgcalsimclustertime::ComputeClusterTime
Definition: ComputeClusterTime.h:23
HGCalRecHitWorkerSimple::v_DB_reco_flags_
std::vector< int > v_DB_reco_flags_
Definition: HGCalRecHitWorkerSimple.h:58
HGCalRecHitWorkerSimple::hgceeUncalib2GeV_
double hgceeUncalib2GeV_
Definition: HGCalRecHitWorkerSimple.h:37
mps_fire.result
result
Definition: mps_fire.py:311
ConsumesCollector.h
ParameterSet.h
HGCalRecHitWorkerSimple::rangeMatch_
uint32_t rangeMatch_
Definition: HGCalRecHitWorkerSimple.h:61
HGCalRecHitWorkerSimple::ddds_
std::array< const HGCalDDDConstants *, 4 > ddds_
Definition: HGCalRecHitWorkerSimple.h:54
edm::Event
Definition: Event.h:73
HGCalRecHitWorkerSimple::ee_geometry_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > ee_geometry_token_
Definition: HGCalRecHitWorkerSimple.h:33
HGCalRecHitWorkerSimple::hgcEE_cce_
std::vector< double > hgcEE_cce_
Definition: HGCalRecHitWorkerSimple.h:39
HGCalRecHitWorkerSimple::hgcEE_keV2DIGI_
double hgcEE_keV2DIGI_
Definition: HGCalRecHitWorkerSimple.h:37
edm::ConsumesCollector
Definition: ConsumesCollector.h:45