#include <CalibCalorimetry/CaloRecalibTools.src/HcalRecHitRecalib.cc>
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
HcalRecHitRecalib (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalRecHitRecalib () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
std::string | hcalfile_ |
const std::string | hcalfileinpath_ |
CaloMiscalibMapHcal | mapHcal_ |
const std::string | recalibHBHEHits_ |
const std::string | recalibHFHits_ |
const std::string | recalibHOHits_ |
const double | refactor_ |
const double | refactor_mean_ |
const edm::EDGetTokenT< HBHERecHitCollection > | tok_hbhe_ |
const edm::EDGetTokenT< HFRecHitCollection > | tok_hf_ |
const edm::EDGetTokenT< HORecHitCollection > | tok_ho_ |
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > | topologyToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: Producer to miscalibrate (calibrated) Hcal RecHit
Implementation: <Notes on="" implementation>="">
Definition at line 37 of file HcalRecHitRecalib.h.
|
explicit |
Definition at line 10 of file HcalRecHitRecalib.cc.
References hcalfile_, hcalfileinpath_, recalibHBHEHits_, recalibHFHits_, and recalibHOHits_.
|
override |
Definition at line 31 of file HcalRecHitRecalib.cc.
|
override |
Definition at line 33 of file HcalRecHitRecalib.cc.
References edm::EventSetup::getData(), hcalfile_, mapHcal_, MiscalibReaderFromXML::parseXMLMiscalibFile(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapHcal::print(), and topologyToken_.
|
override |
Definition at line 45 of file HcalRecHitRecalib.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), CaloMiscalibMapHcal::get(), egHLT::errCodes::HBHERecHits, egHLT::errCodes::HFRecHits, iEvent, edm::HandleBase::isValid(), LogDebug, mapHcal_, eostools::move(), edm::Handle< T >::product(), recalibHBHEHits_, recalibHFHits_, recalibHOHits_, refactor_, refactor_mean_, tok_hbhe_, tok_hf_, and tok_ho_.
|
private |
Definition at line 54 of file HcalRecHitRecalib.h.
Referenced by beginRun(), and HcalRecHitRecalib().
|
private |
Definition at line 55 of file HcalRecHitRecalib.h.
Referenced by HcalRecHitRecalib().
|
private |
Definition at line 57 of file HcalRecHitRecalib.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 50 of file HcalRecHitRecalib.h.
Referenced by HcalRecHitRecalib(), and produce().
|
private |
Definition at line 51 of file HcalRecHitRecalib.h.
Referenced by HcalRecHitRecalib(), and produce().
|
private |
Definition at line 52 of file HcalRecHitRecalib.h.
Referenced by HcalRecHitRecalib(), and produce().
|
private |
Definition at line 58 of file HcalRecHitRecalib.h.
Referenced by produce().
|
private |
Definition at line 59 of file HcalRecHitRecalib.h.
Referenced by produce().
|
private |
Definition at line 46 of file HcalRecHitRecalib.h.
Referenced by produce().
|
private |
Definition at line 48 of file HcalRecHitRecalib.h.
Referenced by produce().
|
private |
Definition at line 47 of file HcalRecHitRecalib.h.
Referenced by produce().
|
private |
Definition at line 49 of file HcalRecHitRecalib.h.
Referenced by beginRun().