#include <HGCalRecHitWorkerSimple.h>
Public Member Functions | |
HGCalRecHitWorkerSimple (const edm::ParameterSet &) | |
bool | run (const edm::Event &evt, const HGCUncalibratedRecHit &uncalibRH, HGCRecHitCollection &result) override |
void | set (const edm::EventSetup &es) override |
~HGCalRecHitWorkerSimple () override | |
Public Member Functions inherited from HGCalRecHitWorkerBaseClass | |
HGCalRecHitWorkerBaseClass (const edm::ParameterSet &) | |
virtual | ~HGCalRecHitWorkerBaseClass () |
Protected Types | |
enum | detectortype { hgcee = 1, hgcfh = 2, hgcbh = 3, hgchfnose = 4 } |
Protected Attributes | |
std::array< const HGCalDDDConstants *, 4 > | ddds_ |
std::vector< double > | hgcEE_cce_ |
std::vector< double > | hgcEE_fCPerMIP_ |
bool | hgcEE_isSiFE_ |
double | hgcEE_keV2DIGI_ |
std::vector< double > | hgcEE_noise_fC_ |
double | hgceeUncalib2GeV_ |
bool | hgcHEB_isSiFE_ |
double | hgcHEB_keV2DIGI_ |
double | hgcHEB_noise_MIP_ |
double | hgchebUncalib2GeV_ |
std::vector< double > | hgcHEF_cce_ |
std::vector< double > | hgcHEF_fCPerMIP_ |
bool | hgcHEF_isSiFE_ |
double | hgcHEF_keV2DIGI_ |
std::vector< double > | hgcHEF_noise_fC_ |
double | hgchefUncalib2GeV_ |
std::vector< double > | hgcHFNose_cce_ |
std::vector< double > | hgcHFNose_fCPerMIP_ |
bool | hgcHFNose_isSiFE_ |
double | hgcHFNose_keV2DIGI_ |
std::vector< double > | hgcHFNose_noise_fC_ |
double | hgchfnoseUncalib2GeV_ |
bool | killDeadChannels_ |
uint32_t | rangeMask_ |
uint32_t | rangeMatch_ |
std::vector< double > | rcorr_ |
std::vector< double > | rcorrNose_ |
std::unique_ptr< HGCalRecHitSimpleAlgo > | rechitMaker_ |
std::unique_ptr< hgcal::RecHitTools > | tools_ |
std::vector< int > | v_chstatus_ |
std::vector< int > | v_DB_reco_flags_ |
std::vector< float > | weights_ |
std::vector< float > | weightsNose_ |
Definition at line 19 of file HGCalRecHitWorkerSimple.h.
|
protected |
HGCalRecHitWorkerSimple::HGCalRecHitWorkerSimple | ( | const edm::ParameterSet & | ps | ) |
Definition at line 10 of file HGCalRecHitWorkerSimple.cc.
References constexpr, corr, MillePedeFileConverter_cfg::e, f, edm::ParameterSet::getParameter(), hgcEE_cce_, hgcEE_fCPerMIP_, hgcEE_isSiFE_, hgcEE_keV2DIGI_, hgcEE_noise_fC_, hgceeUncalib2GeV_, hgcHEB_isSiFE_, hgcHEB_keV2DIGI_, hgcHEB_noise_MIP_, hgchebUncalib2GeV_, hgcHEF_cce_, hgcHEF_fCPerMIP_, hgcHEF_isSiFE_, hgcHEF_keV2DIGI_, hgcHEF_noise_fC_, hgchefUncalib2GeV_, hgcHFNose_cce_, hgcHFNose_fCPerMIP_, hgcHFNose_isSiFE_, hgcHFNose_keV2DIGI_, hgcHFNose_noise_fC_, hgchfnoseUncalib2GeV_, rangeMask_, rangeMatch_, rcorr_, rcorrNose_, rechitMaker_, tools_, weights_, and weightsNose_.
|
override |
|
overridevirtual |
Implements HGCalRecHitWorkerBaseClass.
Definition at line 104 of file HGCalRecHitWorkerSimple.cc.
References ddds_, DetId::det(), MillePedeFileConverter_cfg::e, CaloRecHit::energy(), Exception, DetId::Forward, DetId::Hcal, HcalEndcap, HFNose, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcbh, HGCEE, hgcee, hgcEE_cce_, hgcEE_fCPerMIP_, hgcEE_noise_fC_, hgceeUncalib2GeV_, hgcfh, HGCHEB, hgcHEB_noise_MIP_, hgchebUncalib2GeV_, HGCHEF, hgcHEF_cce_, hgcHEF_fCPerMIP_, hgcHEF_noise_fC_, hgchefUncalib2GeV_, hgchfnose, hgcHFNose_cce_, hgcHFNose_fCPerMIP_, hgcHFNose_noise_fC_, hgchfnoseUncalib2GeV_, HGCUncalibratedRecHit::id(), edm::SortedCollection< T, SORT >::push_back(), rangeMask_, rangeMatch_, DetId::rawId(), rcorr_, rcorrNose_, rechitMaker_, DetId::subdetId(), Calorimetry_cff::thickness, tools_, HFNoseDetId::type(), HGCSiliconDetId::type(), weights_, and weightsNose_.
|
overridevirtual |
Implements HGCalRecHitWorkerBaseClass.
Definition at line 77 of file HGCalRecHitWorkerSimple.cc.
References HGCalTopology::dddConstants(), ddds_, edm::EventSetup::get(), hgcEE_isSiFE_, hgcHEF_isSiFE_, hgcHFNose_isSiFE_, rechitMaker_, tools_, and HGCalGeometry::topology().
|
protected |
Definition at line 47 of file HGCalRecHitWorkerSimple.h.
|
protected |
Definition at line 32 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 31 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 40 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and set().
|
protected |
Definition at line 30 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple().
|
protected |
Definition at line 42 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 30 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 40 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple().
|
protected |
Definition at line 36 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple().
|
protected |
Definition at line 45 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 36 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 35 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 34 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 40 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and set().
|
protected |
Definition at line 33 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple().
|
protected |
Definition at line 43 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 33 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 39 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 38 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 40 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and set().
|
protected |
Definition at line 37 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple().
|
protected |
Definition at line 44 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 37 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 52 of file HGCalRecHitWorkerSimple.h.
|
protected |
Definition at line 55 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 54 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 57 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 57 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 59 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), run(), and set().
|
protected |
Definition at line 60 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), run(), and set().
|
protected |
Definition at line 49 of file HGCalRecHitWorkerSimple.h.
|
protected |
Definition at line 51 of file HGCalRecHitWorkerSimple.h.
|
protected |
Definition at line 58 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().
|
protected |
Definition at line 58 of file HGCalRecHitWorkerSimple.h.
Referenced by HGCalRecHitWorkerSimple(), and run().