#include <RecoLocalCalo/HcalRecProducers/plugins/HBHEPhase1Reconstructor.cc>
Public Member Functions | |
HBHEPhase1Reconstructor (const edm::ParameterSet &) | |
~HBHEPhase1Reconstructor () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
template<class DataFrame , class Collection > | |
void | processData (const Collection &coll, const HcalDbService &cond, const HcalChannelQuality &qual, const HcalSeverityLevelComputer &severity, const bool isRealData, HBHEChannelInfo *info, HBHEChannelInfoCollection *infoColl, HBHERecHitCollection *rechits, const bool use8ts) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | runHBHENegativeEFilter (const HBHEChannelInfo &info, HBHERecHit *rh) |
void | setAsicSpecificBits (const HBHEDataFrame &frame, const HcalCoder &coder, const HBHEChannelInfo &info, const HcalCalibrations &calib, HBHERecHit *rh) |
void | setAsicSpecificBits (const QIE11DataFrame &frame, const HcalCoder &coder, const HBHEChannelInfo &info, const HcalCalibrations &calib, HBHERecHit *rh) |
void | setCommonStatusBits (const HBHEChannelInfo &info, const HcalCalibrations &calib, HBHERecHit *rh) |
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_ |
bool | use8ts_ |
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 |
Description: Phase 1 reconstruction module for HB/HE
Implementation: [Notes on implementation]
Definition at line 250 of file HBHEPhase1Reconstructor.cc.
|
explicit |
Definition at line 331 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_.
|
override |
Definition at line 388 of file HBHEPhase1Reconstructor.cc.
|
overrideprivate |
Definition at line 688 of file HBHEPhase1Reconstructor.cc.
References algoConfigClass_, Exception, fetchHcalAlgoData(), edm::EventSetup::get(), get, hbheFlagSetterQIE11_, hbheFlagSetterQIE8_, edm::ESHandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, paramTS_, edm::ESHandle< T >::product(), alignCSCRings::r, reco_, recoConfig_, setNoiseFlagsQIE11_, and setNoiseFlagsQIE8_.
|
overrideprivate |
|
static |
Definition at line 727 of file HBHEPhase1Reconstructor.cc.
References edm::ParameterSetDescription::add(), add_param_set, edm::ConfigurationDescriptions::addDefault(), fillDescriptionForParseHBHEPhase1Algo(), HLT_2018_cff::flagParametersQIE11, HLT_2018_cff::flagParametersQIE8, HLT_2018_cff::pulseShapeParametersQIE11, HLT_2018_cff::pulseShapeParametersQIE8, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 397 of file HBHEPhase1Reconstructor.cc.
References ecalMGPA::adc(), HcalCoderDb::adc2fC(), fwrapper::cs, dropZSmarkedPassed_, HcalCalibrationWidths::effpedestal(), HcalRecoParam::firstSample(), amptDefault_cfi::frame, HcalCalibrationWidths::gain(), PedestalClient_cfi::gain, HcalSiPMParameter::getFCByPE(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HBHEChannelInfo::hasEffectivePedestals(), HBHEChannelInfo::hasTimeInfo(), HcalBarrel, HcalEndcap, HBHERecHit::id(), MessageLogger_cfi::infos, HBHEChannelInfo::isDropped(), HBHEChannelInfo::MAXSAMPLES, hcaldqm::utilities::maxTS(), min(), paramTS_, HcalCalibrationWidths::pedestal(), EcalCondDBWriter_cfi::pedestal, HcalRecoParam::pulseShapeID(), DetId::rawId(), TrackInfoProducer_cfi::rechits, reco_, recoParamsFromDB_, alignCSCRings::s, saveDroppedInfos_, saveInfos_, setAsicSpecificBits(), HBHEChannelInfo::setChannelInfo(), setCommonStatusBits(), HBHEChannelInfo::setSample(), HLT_2018_cff::severity, sipmQNTStoSum_, sipmQTSShift_, HcalDetId::subdet(), OrderedSet::t, tsFromDB_, and use8ts_.
|
overrideprivate |
Definition at line 604 of file HBHEPhase1Reconstructor.cc.
References MillePedeFileConverter_cfg::e, edm::EventSetup::get(), get, hbheFlagSetterQIE11_, hbheFlagSetterQIE8_, MessageLogger_cfi::infos, HLTBitAnalyser_cfi::isData, makeRecHits_, eostools::move(), negEFilter_, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, paramTS_, processQIE11_, processQIE8_, edm::ESHandle< T >::product(), saveEffectivePedestal_, saveInfos_, setNegativeFlagsQIE11_, setNegativeFlagsQIE8_, setNoiseFlagsQIE11_, setNoiseFlagsQIE8_, edm::SortedCollection< T, SORT >::size(), edm::DataFrameContainer::size(), tok_qie11_, tok_qie8_, and use8ts_.
|
private |
Definition at line 593 of file HBHEPhase1Reconstructor.cc.
References HBHENegativeEFilter::checkPassFilter(), HcalPhase1FlagLabels::HBHENegativeNoise, mps_fire::i, info(), HBHEChannelInfo::MAXSAMPLES, negEFilter_, and CaloRecHit::setFlagField().
Referenced by setAsicSpecificBits().
|
private |
Definition at line 563 of file HBHEPhase1Reconstructor.cc.
References amptDefault_cfi::frame, hbheFlagSetterQIE8_, hbhePulseShapeFlagSetterQIE8_, info(), runHBHENegativeEFilter(), setNegativeFlagsQIE8_, setNoiseFlagsQIE8_, and setPulseShapeFlagsQIE8_.
Referenced by processData().
|
private |
Definition at line 578 of file HBHEPhase1Reconstructor.cc.
References amptDefault_cfi::frame, hbheFlagSetterQIE11_, hbhePulseShapeFlagSetterQIE11_, info(), runHBHENegativeEFilter(), setNegativeFlagsQIE11_, setNoiseFlagsQIE11_, and setPulseShapeFlagsQIE11_.
|
private |
|
private |
Definition at line 263 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun().
|
private |
Definition at line 269 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 295 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 294 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 297 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 296 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 268 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 293 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and runHBHENegativeEFilter().
|
private |
Definition at line 290 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), processData(), and produce().
|
private |
Definition at line 265 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 264 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 288 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), endRun(), HBHEPhase1Reconstructor(), and processData().
|
private |
Definition at line 289 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun().
|
private |
Definition at line 271 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 267 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 272 of file HBHEPhase1Reconstructor.cc.
Referenced by produce().
|
private |
Definition at line 266 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), processData(), and produce().
|
private |
Definition at line 279 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and setAsicSpecificBits().
|
private |
Definition at line 278 of file HBHEPhase1Reconstructor.cc.
Referenced by produce(), and setAsicSpecificBits().
|
private |
Definition at line 281 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 280 of file HBHEPhase1Reconstructor.cc.
Referenced by beginRun(), HBHEPhase1Reconstructor(), produce(), and setAsicSpecificBits().
|
private |
Definition at line 283 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 282 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and setAsicSpecificBits().
|
private |
Definition at line 275 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 274 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 287 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 286 of file HBHEPhase1Reconstructor.cc.
Referenced by HBHEPhase1Reconstructor(), and produce().
|
private |
Definition at line 270 of file HBHEPhase1Reconstructor.cc.
Referenced by processData().
|
private |
Definition at line 273 of file HBHEPhase1Reconstructor.cc.
Referenced by processData(), and produce().