#include <HGCalRecHitWorkerSimple.h>
Definition at line 18 of file HGCalRecHitWorkerSimple.h.
Definition at line 11 of file HGCalRecHitWorkerSimple.cc.
References constexpr, corr, MillePedeFileConverter_cfg::e, f, edm::ParameterSet::getParameter(), HGCEE_fCPerMIP_, HGCEE_isSiFE_, HGCEE_keV2DIGI_, hgceeUncalib2GeV_, HGCHEB_isSiFE_, HGCHEB_keV2DIGI_, hgchebUncalib2GeV_, HGCHEF_fCPerMIP_, HGCHEF_isSiFE_, HGCHEF_keV2DIGI_, hgchefUncalib2GeV_, rcorr_, rechitMaker_, and create_public_lumi_plots::weights.
34 const auto& dweights = ps.
getParameter<std::vector<double> >(
"layerWeights");
35 for(
auto weight : dweights ) {
41 const auto& rcorr = ps.
getParameter<std::vector<double> >(
"thicknessCorrection");
44 for(
auto corr : rcorr ) {
T getParameter(std::string const &) const
double hgchebUncalib2GeV_
HGCalRecHitWorkerBaseClass(const edm::ParameterSet &)
double hgchefUncalib2GeV_
std::vector< double > HGCHEF_fCPerMIP_
std::vector< float > rcorr_
std::vector< double > HGCEE_fCPerMIP_
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
HGCalRecHitWorkerSimple::~HGCalRecHitWorkerSimple |
( |
| ) |
|
|
virtual |
Implements HGCalRecHitWorkerBaseClass.
Definition at line 70 of file HGCalRecHitWorkerSimple.cc.
References ddds_, Exception, HcalEndcap, HGCEE, hgceeUncalib2GeV_, HGCHEB, hgchebUncalib2GeV_, HGCHEF, hgchefUncalib2GeV_, HGCUncalibratedRecHit::id(), edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), rcorr_, rechitMaker_, DetId::subdetId(), and HGCalDetId::wafer().
74 uint32_t recoFlag = 0;
92 <<
"Rechit with detid = " << detid.
rawId() <<
" is not HGC!";
101 thk =
ddds_[hid.subdetId()-3]->waferTypeL(hid.wafer());
105 const double new_E = myrechit.energy()*(thk == -1 ? 1.0 :
rcorr_[thk]);
106 myrechit.setEnergy(new_E);
std::array< const HGCalDDDConstants *, 3 > ddds_
void push_back(T const &t)
double hgchebUncalib2GeV_
uint32_t rawId() const
get the raw id
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
double hgchefUncalib2GeV_
std::vector< float > rcorr_
std::unique_ptr< HGCalRecHitSimpleAlgo > rechitMaker_
std::vector<double> HGCalRecHitWorkerSimple::HGCEE_fCPerMIP_ |
|
protected |
bool HGCalRecHitWorkerSimple::HGCEE_isSiFE_ |
|
protected |
double HGCalRecHitWorkerSimple::HGCEE_keV2DIGI_ |
|
protected |
double HGCalRecHitWorkerSimple::hgceeUncalib2GeV_ |
|
protected |
bool HGCalRecHitWorkerSimple::HGCHEB_isSiFE_ |
|
protected |
double HGCalRecHitWorkerSimple::HGCHEB_keV2DIGI_ |
|
protected |
double HGCalRecHitWorkerSimple::hgchebUncalib2GeV_ |
|
protected |
std::vector<double> HGCalRecHitWorkerSimple::HGCHEF_fCPerMIP_ |
|
protected |
bool HGCalRecHitWorkerSimple::HGCHEF_isSiFE_ |
|
protected |
double HGCalRecHitWorkerSimple::HGCHEF_keV2DIGI_ |
|
protected |
double HGCalRecHitWorkerSimple::hgchefUncalib2GeV_ |
|
protected |
bool HGCalRecHitWorkerSimple::killDeadChannels_ |
|
protected |
std::vector<float> HGCalRecHitWorkerSimple::rcorr_ |
|
protected |
std::vector<int> HGCalRecHitWorkerSimple::v_chstatus_ |
|
protected |
std::vector<int> HGCalRecHitWorkerSimple::v_DB_reco_flags_ |
|
protected |