#include <RecoLocalCalo/HcalRecProducers/plugins/HBHEPhase1Reconstructor.cc>
Public Member Functions | |
HBHEPhase1Reconstructor (const edm::ParameterSet &) | |
~HBHEPhase1Reconstructor () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
std::string | algoConfigClass_ |
bool | dropZSmarkedPassed_ |
std::unique_ptr< HBHEStatusBitSetter > | hbheFlagSetterQIE11_ |
std::unique_ptr< HBHEStatusBitSetter > | hbheFlagSetterQIE8_ |
std::unique_ptr< HBHEPulseShapeFlagSetter > | hbhePulseShapeFlagSetterQIE11_ |
std::unique_ptr< HBHEPulseShapeFlagSetter > | hbhePulseShapeFlagSetterQIE8_ |
bool | makeRecHits_ |
const HBHENegativeEFilter * | negEFilter_ |
std::unique_ptr< HcalRecoParams > | paramTS_ |
bool | processQIE11_ |
bool | processQIE8_ |
std::unique_ptr< AbsHBHEPhase1Algo > | reco_ |
std::unique_ptr< AbsHcalAlgoData > | recoConfig_ |
bool | recoParamsFromDB_ |
bool | saveDroppedInfos_ |
bool | saveEffectivePedestal_ |
bool | saveInfos_ |
bool | setNegativeFlagsQIE11_ |
bool | setNegativeFlagsQIE8_ |
bool | setNoiseFlagsQIE11_ |
bool | setNoiseFlagsQIE8_ |
bool | setPulseShapeFlagsQIE11_ |
bool | setPulseShapeFlagsQIE8_ |
int | sipmQNTStoSum_ |
int | sipmQTSShift_ |
edm::EDGetTokenT< QIE11DigiCollection > | tok_qie11_ |
edm::EDGetTokenT< HBHEDigiCollection > | tok_qie8_ |
bool | tsFromDB_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: Phase 1 reconstruction module for HB/HE
Implementation: [Notes on implementation]
Definition at line 299 of file HBHEPhase1Reconstructor.cc.
|
explicit |
Definition at line 376 of file HBHEPhase1Reconstructor.cc.
References edm::ParameterSet::getParameter(), hbheFlagSetterQIE11_, hbheFlagSetterQIE8_, hbhePulseShapeFlagSetterQIE11_, hbhePulseShapeFlagSetterQIE8_, makeRecHits_, processQIE11_, processQIE8_, reco_, saveInfos_, setNoiseFlagsQIE11_, setNoiseFlagsQIE8_, setPulseShapeFlagsQIE11_, setPulseShapeFlagsQIE8_, tok_qie11_, and tok_qie8_.
HBHEPhase1Reconstructor::~HBHEPhase1Reconstructor | ( | ) |
Definition at line 440 of file HBHEPhase1Reconstructor.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 718 of file HBHEPhase1Reconstructor.cc.
References algoConfigClass_, Exception, fetchHcalAlgoData(), edm::EventSetup::get(), hbheFlagSetterQIE11_, hbheFlagSetterQIE8_, edm::ESHandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, paramTS_, edm::ESHandle< T >::product(), reco_, recoConfig_, setNoiseFlagsQIE11_, and setNoiseFlagsQIE8_.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 757 of file HBHEPhase1Reconstructor.cc.
References reco_.
|
static |
Definition at line 769 of file HBHEPhase1Reconstructor.cc.
References edm::ParameterSetDescription::add(), add_param_set, edm::ConfigurationDescriptions::addDefault(), electronCleaner_cfi::algorithm, DEFINE_FWK_MODULE, HBHEPhase1Reconstructor_cfi::flagParametersQIE11, HBHEPhase1Reconstructor_cfi::flagParametersQIE8, HBHEPhase1Reconstructor_cfi::pulseShapeParametersQIE11, hcalLocalReco_cff::pulseShapeParametersQIE8, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 451 of file HBHEPhase1Reconstructor.cc.
References QIE11DataFrame::Sample::adc(), HcalCoderDb::adc2fC(), QIE11DataFrame::Sample::capid(), fwrapper::cs, HcalSeverityLevelComputer::dropChannel(), dropZSmarkedPassed_, HcalRecoParam::firstSample(), HcalCalibrationWidths::gain(), muonCSCDigis_cfi::gain, HcalSiPMCharacteristics::getCrossTalk(), HcalSiPMParameter::getDarkCurrent(), HcalDbService::getHcalCalibrations(), HcalDbService::getHcalCalibrationWidths(), HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getHcalSiPMCharacteristics(), HcalDbService::getHcalSiPMParameter(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HBHEChannelInfo::hasTimeInfo(), HcalBarrel, HcalEndcap, HcalOuter, HBHERecHit::id(), HBHEChannelInfo::isDropped(), HBHEChannelInfo::MAXSAMPLES, hcaldqm::utilities::maxTS(), min(), paramTS_, HcalCalibrationWidths::pedestal(), HcalCalibrations::pedestal(), HcalRecoParam::pulseShapeID(), edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), reco_, recoParamsFromDB_, HcalCalibrations::respcorrgain(), alignCSCRings::s, saveDroppedInfos_, saveEffectivePedestal_, setAsicSpecificBits(), HBHEChannelInfo::setChannelInfo(), setCommonStatusBits(), HBHEChannelInfo::setSample(), sipmQNTStoSum_, sipmQTSShift_, CaloSamples::size(), HcalDetId::subdet(), and tsFromDB_.
|
overrideprivatevirtual |
Definition at line 625 of file HBHEPhase1Reconstructor.cc.
References edm::EventSetup::get(), edm::Event::getByToken(), hbheFlagSetterQIE11_, hbheFlagSetterQIE8_, benchmark_cfg::infos, edm::EventBase::isRealData(), makeRecHits_, eostools::move(), negEFilter_, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, paramTS_, processQIE11_, processQIE8_, edm::ESHandle< T >::product(), edm::Event::put(), saveInfos_, setNegativeFlagsQIE11_, setNegativeFlagsQIE8_, setNoiseFlagsQIE11_, setNoiseFlagsQIE8_, edm::SortedCollection< T, SORT >::size(), edm::DataFrameContainer::size(), tok_qie11_, and tok_qie8_.
|
private |
Definition at line 611 of file HBHEPhase1Reconstructor.cc.
References HBHENegativeEFilter::checkPassFilter(), HcalPhase1FlagLabels::HBHENegativeNoise, mps_fire::i, HBHEChannelInfo::id(), HBHEChannelInfo::MAXSAMPLES, negEFilter_, HBHEChannelInfo::nSamples(), CaloRecHit::setFlagField(), and HBHEChannelInfo::tsCharge().
Referenced by setAsicSpecificBits().
|
private |
Definition at line 581 of file HBHEPhase1Reconstructor.cc.
References hbheFlagSetterQIE8_, hbhePulseShapeFlagSetterQIE8_, runHBHENegativeEFilter(), setNegativeFlagsQIE8_, setNoiseFlagsQIE8_, and setPulseShapeFlagsQIE8_.
Referenced by processData().
|
private |
Definition at line 596 of file HBHEPhase1Reconstructor.cc.
References hbheFlagSetterQIE11_, hbhePulseShapeFlagSetterQIE11_, runHBHENegativeEFilter(), setNegativeFlagsQIE11_, setNoiseFlagsQIE11_, and setPulseShapeFlagsQIE11_.
|
private |
|
private |
Definition at line 313 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun().
|
private |
Definition at line 319 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 344 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 343 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 346 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 345 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 318 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 342 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and runHBHENegativeEFilter().
|
private |
Definition at line 339 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), processData(), and produce().
|
private |
Definition at line 315 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 314 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 337 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), endRun(), HBHEPhase1Reconstructor(), and processData().
|
private |
Definition at line 338 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun().
|
private |
Definition at line 321 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 317 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 322 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 316 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 328 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and setAsicSpecificBits().
|
private |
Definition at line 327 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and setAsicSpecificBits().
|
private |
Definition at line 330 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 329 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 332 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 331 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 324 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 323 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 336 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 335 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 320 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().