#include <HcalDbService.h>
Private Member Functions | |
void | buildCalibrations () const |
void | buildCalibWidths () const |
bool | makeHcalCalibration (const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC) const |
bool | makeHcalCalibrationWidth (const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC) const |
Private Attributes | |
std::atomic< HcalCalibrationsSet const * > | mCalibSet |
std::atomic< HcalCalibrationWidthsSet const * > | mCalibWidthSet |
const HcalChannelQuality * | mChannelQuality |
const HcalElectronicsMap * | mElectronicsMap |
const HcalFrontEndMap * | mFrontEndMap |
const HcalGains * | mGains |
const HcalGainWidths * | mGainWidths |
const HcalL1TriggerObjects * | mL1TriggerObjects |
const HcalLUTCorrs * | mLUTCorrs |
const HcalLutMetadata * | mLutMetadata |
const HcalMCParams * | mMCParams |
const HcalPedestals * | mPedestals |
const HcalPedestalWidths * | mPedestalWidths |
const HcalPFCorrs * | mPFCorrs |
const HcalQIEData * | mQIEData |
const HcalQIETypes * | mQIETypes |
const HcalRespCorrs * | mRespCorrs |
const HcalSiPMCharacteristics * | mSiPMCharacteristics |
const HcalSiPMParameters * | mSiPMParameters |
const HcalTimeCorrs * | mTimeCorrs |
const HcalTPChannelParameters * | mTPChannelParameters |
const HcalTPParameters * | mTPParameters |
const HcalZSThresholds * | mZSThresholds |
Definition at line 27 of file HcalDbService.h.
HcalDbService::HcalDbService | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file HcalDbService.cc.
HcalDbService::~HcalDbService | ( | ) |
Definition at line 34 of file HcalDbService.cc.
References mCalibSet, and mCalibWidthSet.
|
private |
Definition at line 74 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, electrons_cff::ids, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mGains, mLUTCorrs, mPedestals, mQIEData, mQIETypes, mRespCorrs, mTimeCorrs, and convertSQLiteXML::ok.
Referenced by getHcalCalibrations(), getHcalCalibrationsSet(), and setData().
|
private |
Definition at line 104 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, electrons_cff::ids, HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mGainWidths, mPedestalWidths, mQIEData, and convertSQLiteXML::ok.
Referenced by getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), and setData().
const HcalGain * HcalDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 230 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGains.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), makeHcalCalibration(), HcalDigiTester::reco(), and HcalDigisValidation::reco().
const HcalGainWidth * HcalDbService::getGainWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 237 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGainWidths.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), makeHcalCalibrationWidth(), HcalDigiTester::reco(), and HcalDigisValidation::reco().
const HcalCalibrations & HcalDbService::getHcalCalibrations | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 50 of file HcalDbService.cc.
References buildCalibrations(), and mCalibSet.
Referenced by hcaldqm::utilities::adc2fCDBMinusPedestal(), HcalAmplifier::addPedestals(), WriteL1TriggerObjectsTxt::analyze(), HGCalDigiValidation::analyze(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HFPreReconstructor::fillInfos(), HcalHBHEMuonAnalyzer::gainFactor(), HcalFeatureHFEMBit::getE(), HcalTDC::getThreshold(), PFHBHERecHitCreatorMaxSample::importRecHits(), HcalSimpleReconstructor::process(), HBHEPhase1Reconstructor::processData(), ZdcSimpleReconstructor::produce(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), HFPhase1Reconstructor::produce(), HcalDigiTester::reco(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalCalibrationsSet * HcalDbService::getHcalCalibrationsSet | ( | ) | const |
Definition at line 62 of file HcalDbService.cc.
References buildCalibrations(), and mCalibSet.
Referenced by edmtest::HcalDumpConditions::analyze().
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 56 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
Referenced by HcalAmplifier::addPedestals(), HcalTDC::getThreshold(), and HBHEPhase1Reconstructor::processData().
const HcalCalibrationWidthsSet * HcalDbService::getHcalCalibrationWidthsSet | ( | ) | const |
Definition at line 68 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
Referenced by edmtest::HcalDumpConditions::analyze().
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 280 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mChannelQuality.
Referenced by WriteL1TriggerObjectsTxt::analyze(), and HcaluLUTTPGCoder::update().
const HcalQIECoder * HcalDbService::getHcalCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 244 of file HcalDbService.cc.
References HcalQIEData::getCoder(), and mQIEData.
Referenced by HGCalDigiValidation::analyze(), HcalCoderFactory::coder(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HFPreReconstructor::fillInfos(), HcalFeatureHFEMBit::getE(), PFHBHERecHitCreatorMaxSample::importRecHits(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), hcaldqm::utilities::loadADC2fCDB(), makeHcalCalibration(), makeHcalCalibrationWidth(), HcalPedestalAnalysis::per2CapsHists(), HcalSimpleReconstructor::process(), HBHEPhase1Reconstructor::processData(), HcalPedestalAnalysis::processEvent(), ZdcSimpleReconstructor::produce(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), edm::DataMixingHcalDigiWorker::putHcal(), HcalDigiTester::reco(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalFrontEndMap * HcalDbService::getHcalFrontEndMapping | ( | ) | const |
const HcalL1TriggerObject * HcalDbService::getHcalL1TriggerObject | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 275 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mL1TriggerObjects.
Referenced by HcaluLUTTPGCoder::update().
const HcalLUTCorr * HcalDbService::getHcalLUTCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 297 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 311 of file HcalDbService.cc.
References mLutMetadata.
Referenced by WriteL1TriggerObjectsTxt::analyze(), and HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 267 of file HcalDbService.cc.
References mElectronicsMap.
Referenced by HtrXmlPattern::analyze(), HcalLuttoDB::analyze(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), NoCQTask::bookHistograms(), TPTask::bookHistograms(), LaserTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), HcalLutManager::HcalLutManager(), HcalTrigPrimDigiProducer::produce(), HcalDigiToRaw::produce(), HcalHistogramRawToDigi::produce(), and SelectedElectronFEDListProducer< TEle, TCand >::produce().
const HcalMCParam * HcalDbService::getHcalMCParam | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 333 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mMCParams.
Referenced by HcalSimParameters::signalShape().
const HcalPFCorr * HcalDbService::getHcalPFCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 304 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalQIEType * HcalDbService::getHcalQIEType | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 202 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mQIETypes.
Referenced by HcaluLUTTPGCoder::update().
const HcalRespCorr * HcalDbService::getHcalRespCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 209 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.
Referenced by makeHcalCalibration().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 251 of file HcalDbService.cc.
References HcalQIEData::getShape(), HcalQIEType::getValue(), HcalCondObjectContainer< Item >::getValues(), mQIEData, and mQIETypes.
Referenced by HGCalDigiValidation::analyze(), HcalCoderFactory::coder(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HFPreReconstructor::fillInfos(), HcalFeatureHFEMBit::getE(), getHcalShape(), PFHBHERecHitCreatorMaxSample::importRecHits(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), hcaldqm::utilities::loadADC2fCDB(), makeHcalCalibration(), makeHcalCalibrationWidth(), HcalPedestalAnalysis::per2CapsHists(), HcalSimpleReconstructor::process(), HBHEPhase1Reconstructor::processData(), HcalPedestalAnalysis::processEvent(), ZdcSimpleReconstructor::produce(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), edm::DataMixingHcalDigiWorker::putHcal(), HcalDigiTester::reco(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalQIECoder * | coder | ) | const |
Definition at line 262 of file HcalDbService.cc.
References getHcalShape(), and HcalQIECoder::rawId().
const HcalSiPMCharacteristics * HcalDbService::getHcalSiPMCharacteristics | ( | ) | const |
Definition at line 322 of file HcalDbService.cc.
References mSiPMCharacteristics.
Referenced by HBHEPhase1Reconstructor::processData(), and HcalSimParameters::setDbService().
const HcalSiPMParameter * HcalDbService::getHcalSiPMParameter | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 315 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mSiPMParameters.
Referenced by HcalSimParameters::photoelectronsToAnalog(), HcalSimParameters::pixels(), HBHEPhase1Reconstructor::processData(), HcalSimParameters::sipmCrossTalk(), HcalSimParameters::sipmDarkCurrentuA(), and HcalSimParameters::sipmNonlinearity().
const HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 290 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalTPChannelParameter * HcalDbService::getHcalTPChannelParameter | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 326 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTPChannelParameters.
Referenced by HcaluLUTTPGCoder::update(), and HcalTriggerPrimitiveAlgo::validChannel().
const HcalTPParameters * HcalDbService::getHcalTPParameters | ( | ) | const |
Definition at line 340 of file HcalDbService.cc.
References mTPParameters.
Referenced by HcalTriggerPrimitiveAlgo::run(), and HcalTriggerPrimitiveAlgo::validChannel().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 285 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mZSThresholds.
Referenced by HcalZSAlgoRealistic::keepMe().
const HcalPedestal * HcalDbService::getPedestal | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 216 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by PedestalTask::bookHistograms(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), makeHcalCalibration(), HcalDigiTester::reco(), and HcalDigisValidation::reco().
const HcalPedestalWidth * HcalDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 223 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by makeHcalCalibrationWidth().
const HcalTopology * HcalDbService::getTopologyUsed | ( | ) | const |
Definition at line 39 of file HcalDbService.cc.
References mGains, mL1TriggerObjects, mLutMetadata, mPedestals, mQIETypes, mRespCorrs, and HcalCondObjectContainerBase::topo().
|
private |
Definition at line 134 of file HcalDbService.cc.
References HcalQIECoder::charge(), muonCSCDigis_cfi::gain, getGain(), getHcalCoder(), getHcalLUTCorr(), getHcalRespCorr(), getHcalShape(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), HcalPedestal::getValues(), HcalGain::getValues(), mps_fire::i, createfilelist::int, muonCSCDigis_cfi::pedestal, and x.
Referenced by buildCalibrations(), and setData().
|
private |
Definition at line 169 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGainWidth(), getHcalCoder(), getHcalShape(), getPedestalWidth(), HcalGainWidth::getValues(), HcalPedestalWidth::getWidth(), mps_fire::i, and x.
Referenced by buildCalibWidths(), and setData().
|
inline |
Definition at line 63 of file HcalDbService.h.
References mCalibSet, and mPedestals.
|
inline |
Definition at line 64 of file HcalDbService.h.
References mCalibWidthSet, and mPedestalWidths.
|
inline |
Definition at line 65 of file HcalDbService.h.
References mCalibSet, and mGains.
|
inline |
Definition at line 66 of file HcalDbService.h.
References mCalibWidthSet, and mGainWidths.
|
inline |
Definition at line 67 of file HcalDbService.h.
References mCalibSet, mCalibWidthSet, and mQIEData.
|
inline |
Definition at line 68 of file HcalDbService.h.
References mCalibSet, and mQIETypes.
|
inline |
Definition at line 69 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 70 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
Definition at line 72 of file HcalDbService.h.
References mCalibSet, and mRespCorrs.
|
inline |
Definition at line 73 of file HcalDbService.h.
References mCalibSet, and mTimeCorrs.
|
inline |
|
inline |
Definition at line 75 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
Definition at line 76 of file HcalDbService.h.
References mCalibSet, and mLUTCorrs.
|
inline |
|
inline |
|
inline |
Definition at line 79 of file HcalDbService.h.
References mCalibSet, and mSiPMParameters.
|
inline |
Definition at line 80 of file HcalDbService.h.
References mSiPMCharacteristics.
|
inline |
Definition at line 81 of file HcalDbService.h.
References mCalibSet, and mTPChannelParameters.
|
inline |
|
inline |
Definition at line 83 of file HcalDbService.h.
References buildCalibrations(), buildCalibWidths(), makeHcalCalibration(), makeHcalCalibrationWidth(), and mMCParams.
|
mutableprivate |
Definition at line 114 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalCalibrations(), getHcalCalibrationsSet(), setData(), and ~HcalDbService().
|
mutableprivate |
Definition at line 115 of file HcalDbService.h.
Referenced by buildCalibWidths(), getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), setData(), and ~HcalDbService().
|
private |
Definition at line 98 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 99 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 100 of file HcalDbService.h.
Referenced by getHcalFrontEndMapping(), and setData().
|
private |
Definition at line 94 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 95 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 103 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().
|
private |
Definition at line 105 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 107 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().
|
private |
Definition at line 112 of file HcalDbService.h.
Referenced by getHcalMCParam(), and setData().
|
private |
Definition at line 92 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 93 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 106 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 96 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
private |
Definition at line 97 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalQIEType(), getHcalShape(), getTopologyUsed(), and setData().
|
private |
Definition at line 101 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().
|
private |
Definition at line 109 of file HcalDbService.h.
Referenced by getHcalSiPMCharacteristics(), and setData().
|
private |
Definition at line 108 of file HcalDbService.h.
Referenced by getHcalSiPMParameter(), and setData().
|
private |
Definition at line 104 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
private |
Definition at line 110 of file HcalDbService.h.
Referenced by getHcalTPChannelParameter(), and setData().
|
private |
Definition at line 111 of file HcalDbService.h.
Referenced by getHcalTPParameters(), and setData().
|
private |
Definition at line 102 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().