#include <HcalDbService.h>
Private Member Functions | |
void | buildCalibrations () const |
void | buildCalibWidths () const |
bool | convertPedestals (const HcalGenericDetId &fId, const HcalPedestal *pedestal, float *pedTrue, bool inADC) const |
bool | convertPedestalWidths (const HcalGenericDetId &fId, const HcalPedestalWidth *pedestalwidth, float *pedTrueWidth, bool inADC) const |
bool | makeHcalCalibration (const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC, bool effPedestalInADC) const |
bool | makeHcalCalibrationWidth (const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC, bool effPedestalInADC) const |
Definition at line 26 of file HcalDbService.h.
HcalDbService::HcalDbService | ( | ) |
Definition at line 16 of file HcalDbService.cc.
HcalDbService::~HcalDbService | ( | ) |
Definition at line 35 of file HcalDbService.cc.
References mCalibSet, and mCalibWidthSet.
|
private |
Definition at line 76 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, photons_cff::ids, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mEffectivePedestals, mGains, mLUTCorrs, mPedestals, mQIEData, mQIETypes, mRespCorrs, mTimeCorrs, and convertSQLiteXML::ok.
Referenced by getHcalCalibrations(), getHcalCalibrationsSet(), and setData().
|
private |
Definition at line 107 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, photons_cff::ids, HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mEffectivePedestalWidths, mGainWidths, mPedestalWidths, mQIEData, and convertSQLiteXML::ok.
Referenced by getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), and setData().
|
private |
Definition at line 138 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestal::getValues(), mps_fire::i, createfilelist::int, x, globals_cff::x1, and globals_cff::x2.
Referenced by makeHcalCalibration(), and setData().
|
private |
Definition at line 185 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestalWidth::getWidth(), mps_fire::i, and x.
Referenced by makeHcalCalibrationWidth(), and setData().
const HcalPedestal * HcalDbService::getEffectivePedestal | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 258 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestals.
Referenced by makeHcalCalibration().
const HcalPedestalWidth * HcalDbService::getEffectivePedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 265 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestalWidths.
Referenced by makeHcalCalibrationWidth().
const HcalGain * HcalDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 272 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGains.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), makeHcalCalibration(), and HcalDigisValidation::reco().
const HcalGainWidth * HcalDbService::getGainWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 279 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGainWidths.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), makeHcalCalibrationWidth(), and HcalDigisValidation::reco().
const HcalCalibrations & HcalDbService::getHcalCalibrations | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 52 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(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalCalibrationsSet * HcalDbService::getHcalCalibrationsSet | ( | ) | const |
Definition at line 64 of file HcalDbService.cc.
References buildCalibrations(), and mCalibSet.
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 58 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 70 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 322 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 286 of file HcalDbService.cc.
References HcalQIEData::getCoder(), and mQIEData.
Referenced by HGCalDigiValidation::analyze(), HcalCoderFactory::coder(), convertPedestals(), convertPedestalWidths(), 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(), HcalPedestalAnalysis::per2CapsHists(), HcalSimpleReconstructor::process(), HBHEPhase1Reconstructor::processData(), HcalPedestalAnalysis::processEvent(), ZdcSimpleReconstructor::produce(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), edm::DataMixingHcalDigiWorker::putHcal(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalFrontEndMap * HcalDbService::getHcalFrontEndMapping | ( | ) | const |
const HcalL1TriggerObject * HcalDbService::getHcalL1TriggerObject | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 317 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 339 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 353 of file HcalDbService.cc.
References mLutMetadata.
Referenced by WriteL1TriggerObjectsTxt::analyze(), and HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 309 of file HcalDbService.cc.
References mElectronicsMap.
Referenced by HtrXmlPattern::analyze(), HcalLuttoDB::analyze(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), NoCQTask::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), PedestalTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), LEDTask::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), HcalLutManager::HcalLutManager(), HcalTrigPrimDigiProducer::produce(), HcalHistogramRawToDigi::produce(), HcalDigiToRaw::produce(), and SelectedElectronFEDListProducer< TEle, TCand >::produce().
const HcalMCParam * HcalDbService::getHcalMCParam | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 375 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mMCParams.
Referenced by HcalShapes::shape(), HcalPulseShapes::shape(), and HcalSimParameters::signalShape().
const HcalPFCorr * HcalDbService::getHcalPFCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 346 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalQIEType * HcalDbService::getHcalQIEType | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 230 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mQIETypes.
Referenced by HcaluLUTTPGCoder::update().
const HcalRecoParam * HcalDbService::getHcalRecoParam | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 382 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRecoParams.
Referenced by HcalPulseShapes::shapeForReco(), and HcaluLUTTPGCoder::update().
const HcalRespCorr * HcalDbService::getHcalRespCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 237 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.
Referenced by PFCandidateRecalibrator::beginRun(), and makeHcalCalibration().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 293 of file HcalDbService.cc.
References HcalQIEData::getShape(), HcalQIEType::getValue(), HcalCondObjectContainer< Item >::getValues(), mQIEData, and mQIETypes.
Referenced by HGCalDigiValidation::analyze(), HcalCoderFactory::coder(), convertPedestals(), convertPedestalWidths(), 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(), HcalPedestalAnalysis::per2CapsHists(), HcalSimpleReconstructor::process(), HBHEPhase1Reconstructor::processData(), HcalPedestalAnalysis::processEvent(), ZdcSimpleReconstructor::produce(), ZdcHitReconstructor::produce(), HcalHitReconstructor::produce(), edm::DataMixingHcalDigiWorker::putHcal(), HcalDigisValidation::reco(), and HcaluLUTTPGCoder::update().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalQIECoder * | coder | ) | const |
Definition at line 304 of file HcalDbService.cc.
References getHcalShape(), and HcalQIECoder::rawId().
const HcalSiPMCharacteristics * HcalDbService::getHcalSiPMCharacteristics | ( | ) | const |
Definition at line 364 of file HcalDbService.cc.
References mSiPMCharacteristics.
Referenced by HBHEPhase1Reconstructor::processData(), HcalSimParameters::setDbService(), and HcaluLUTTPGCoder::update().
const HcalSiPMParameter * HcalDbService::getHcalSiPMParameter | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 357 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mSiPMParameters.
Referenced by HcalSimParameters::photoelectronsToAnalog(), HcalSimParameters::pixels(), HBHEPhase1Reconstructor::processData(), HcalSimParameters::sipmCrossTalk(), HcalSimParameters::sipmDarkCurrentuA(), HcalSimParameters::sipmNonlinearity(), and HcaluLUTTPGCoder::update().
const HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 332 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalTPChannelParameter * HcalDbService::getHcalTPChannelParameter | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 368 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 389 of file HcalDbService.cc.
References mTPParameters.
Referenced by HcalTriggerPrimitiveAlgo::passTDC(), and HcalTriggerPrimitiveAlgo::run().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 327 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 244 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by PedestalTask::bookHistograms(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), makeHcalCalibration(), and HcalDigisValidation::reco().
const HcalPedestalWidth * HcalDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 251 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by makeHcalCalibrationWidth().
const HcalTopology * HcalDbService::getTopologyUsed | ( | ) | const |
Definition at line 40 of file HcalDbService.cc.
References mEffectivePedestals, mGains, mL1TriggerObjects, mLutMetadata, mPedestals, mQIETypes, mRespCorrs, and HcalCondObjectContainerBase::topo().
|
private |
Definition at line 162 of file HcalDbService.cc.
References convertPedestals(), muonCSCDigis_cfi::gain, getEffectivePedestal(), getGain(), getHcalLUTCorr(), getHcalRespCorr(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), HcalGain::getValues(), and muonCSCDigis_cfi::pedestal.
Referenced by buildCalibrations(), and setData().
|
private |
Definition at line 210 of file HcalDbService.cc.
References convertPedestalWidths(), getEffectivePedestalWidth(), getGainWidth(), getPedestalWidth(), and HcalGainWidth::getValues().
Referenced by buildCalibWidths(), and setData().
|
inline |
Definition at line 65 of file HcalDbService.h.
References mCalibSet, mEffectivePedestals, and mPedestals.
Referenced by HcalDbProducer::setupEffectivePedestals(), HcalDbProducer::setupEffectivePedestalWidths(), HcalDbProducer::setupPedestals(), and HcalDbProducer::setupPedestalWidths().
|
inline |
Definition at line 70 of file HcalDbService.h.
References mCalibWidthSet, mEffectivePedestalWidths, and mPedestalWidths.
|
inline |
Definition at line 75 of file HcalDbService.h.
References mCalibSet, and mGains.
|
inline |
Definition at line 76 of file HcalDbService.h.
References mCalibWidthSet, and mGainWidths.
|
inline |
Definition at line 77 of file HcalDbService.h.
References mCalibSet, mCalibWidthSet, and mQIEData.
|
inline |
Definition at line 78 of file HcalDbService.h.
References mCalibSet, and mQIETypes.
|
inline |
Definition at line 79 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 80 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
Definition at line 82 of file HcalDbService.h.
References mCalibSet, and mRespCorrs.
|
inline |
Definition at line 83 of file HcalDbService.h.
References mCalibSet, and mTimeCorrs.
|
inline |
|
inline |
Definition at line 85 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
Definition at line 86 of file HcalDbService.h.
References mCalibSet, and mLUTCorrs.
|
inline |
|
inline |
|
inline |
Definition at line 89 of file HcalDbService.h.
References mCalibSet, and mSiPMParameters.
|
inline |
Definition at line 90 of file HcalDbService.h.
References mSiPMCharacteristics.
|
inline |
Definition at line 91 of file HcalDbService.h.
References mCalibSet, and mTPChannelParameters.
|
inline |
|
inline |
|
inline |
Definition at line 94 of file HcalDbService.h.
References buildCalibrations(), buildCalibWidths(), convertPedestals(), convertPedestalWidths(), makeHcalCalibration(), makeHcalCalibrationWidth(), mRecoParams, and muonCSCDigis_cfi::pedestal.
|
mutableprivate |
Definition at line 130 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalCalibrations(), getHcalCalibrationsSet(), setData(), and ~HcalDbService().
|
mutableprivate |
Definition at line 131 of file HcalDbService.h.
Referenced by buildCalibWidths(), getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), setData(), and ~HcalDbService().
|
private |
Definition at line 113 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 107 of file HcalDbService.h.
Referenced by buildCalibrations(), getEffectivePedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 108 of file HcalDbService.h.
Referenced by buildCalibWidths(), getEffectivePedestalWidth(), and setData().
|
private |
Definition at line 114 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 115 of file HcalDbService.h.
Referenced by getHcalFrontEndMapping(), and setData().
|
private |
Definition at line 109 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 110 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 118 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().
|
private |
Definition at line 120 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 122 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().
|
private |
Definition at line 127 of file HcalDbService.h.
Referenced by getHcalMCParam(), and setData().
|
private |
Definition at line 105 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 106 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 121 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 111 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
private |
Definition at line 112 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalQIEType(), getHcalShape(), getTopologyUsed(), and setData().
|
private |
Definition at line 128 of file HcalDbService.h.
Referenced by getHcalRecoParam(), and setData().
|
private |
Definition at line 116 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().
|
private |
Definition at line 124 of file HcalDbService.h.
Referenced by getHcalSiPMCharacteristics(), and setData().
|
private |
Definition at line 123 of file HcalDbService.h.
Referenced by getHcalSiPMParameter(), and setData().
|
private |
Definition at line 119 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
private |
Definition at line 125 of file HcalDbService.h.
Referenced by getHcalTPChannelParameter(), and setData().
|
private |
Definition at line 126 of file HcalDbService.h.
Referenced by getHcalTPParameters(), and setData().
|
private |
Definition at line 117 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().