#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, const HcalPedestal *pedestal, 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 42 of file HcalDbService.cc.
References mCalibSet, and mCalibWidthSet.
|
private |
Definition at line 85 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 118 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 150 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestal::getValues(), mps_fire::i, createfilelist::int, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by makeHcalCalibration(), and setData().
|
private |
Definition at line 206 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestal::getValues(), HcalPedestalWidth::getWidth(), mps_fire::i, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, y, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by makeHcalCalibrationWidth(), and setData().
const HcalPedestal * HcalDbService::getEffectivePedestal | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 291 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestals.
Referenced by makeHcalCalibration(), and makeHcalCalibrationWidth().
const HcalPedestalWidth * HcalDbService::getEffectivePedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 298 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestalWidths.
Referenced by makeHcalCalibrationWidth().
const HcalGain * HcalDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 305 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 312 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 65 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(), HcalHBHEMuonHighEtaAnalyzer::gainFactor(), HcalFeatureHFEMBit::getE(), 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 75 of file HcalDbService.cc.
References buildCalibrations(), and mCalibSet.
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 70 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
Referenced by HcalAmplifier::addPedestals(), and HBHEPhase1Reconstructor::processData().
const HcalCalibrationWidthsSet * HcalDbService::getHcalCalibrationWidthsSet | ( | ) | const |
Definition at line 80 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 351 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 319 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(), 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 347 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 366 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 380 of file HcalDbService.cc.
References mLutMetadata.
Referenced by WriteL1TriggerObjectsTxt::analyze(), and HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 343 of file HcalDbService.cc.
References mElectronicsMap.
Referenced by HtrXmlPattern::analyze(), HcalLuttoDB::analyze(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), NoCQTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), PedestalTask::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), DigiPhase1Task::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 398 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 373 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalQIEType * HcalDbService::getHcalQIEType | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 263 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 405 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 270 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 326 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(), 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 338 of file HcalDbService.cc.
References getHcalShape(), and HcalQIECoder::rawId().
const HcalSiPMCharacteristics * HcalDbService::getHcalSiPMCharacteristics | ( | ) | const |
Definition at line 389 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 382 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 359 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalTPChannelParameter * HcalDbService::getHcalTPChannelParameter | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 391 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 412 of file HcalDbService.cc.
References mTPParameters.
Referenced by HcalTriggerPrimitiveAlgo::passTDC(), and HcalTriggerPrimitiveAlgo::run().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 355 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 277 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by PedestalTask::bookHistograms(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), makeHcalCalibration(), makeHcalCalibrationWidth(), and HcalDigisValidation::reco().
const HcalPedestalWidth * HcalDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 284 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by makeHcalCalibrationWidth(), and HcalDigisValidation::reco().
const HcalTopology * HcalDbService::getTopologyUsed | ( | ) | const |
Definition at line 47 of file HcalDbService.cc.
References mEffectivePedestals, mGains, mL1TriggerObjects, mLutMetadata, mPedestals, mQIETypes, mRespCorrs, and HcalCondObjectContainerBase::topo().
|
private |
Definition at line 179 of file HcalDbService.cc.
References fileCollector2::converted, convertPedestals(), PedestalClient_cfi::gain, getEffectivePedestal(), getGain(), getHcalLUTCorr(), getHcalRespCorr(), getHcalTimeCorr(), getPedestal(), HcalLUTCorr::getValue(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalGain::getValues(), and EcalCondDBWriter_cfi::pedestal.
Referenced by buildCalibrations(), and setData().
|
private |
Definition at line 238 of file HcalDbService.cc.
References fileCollector2::converted, convertPedestalWidths(), getEffectivePedestal(), getEffectivePedestalWidth(), getGainWidth(), getPedestal(), getPedestalWidth(), HcalGainWidth::getValues(), and EcalCondDBWriter_cfi::pedestal.
Referenced by buildCalibWidths(), and setData().
|
inline |
Definition at line 65 of file HcalDbService.h.
References mCalibSet, mEffectivePedestals, and mPedestals.
|
inline |
Definition at line 72 of file HcalDbService.h.
References mCalibWidthSet, mEffectivePedestalWidths, and mPedestalWidths.
|
inline |
Definition at line 79 of file HcalDbService.h.
References mCalibSet, and mGains.
|
inline |
Definition at line 83 of file HcalDbService.h.
References mCalibWidthSet, and mGainWidths.
|
inline |
Definition at line 87 of file HcalDbService.h.
References mCalibSet, mCalibWidthSet, and mQIEData.
|
inline |
Definition at line 92 of file HcalDbService.h.
References mCalibSet, and mQIETypes.
|
inline |
Definition at line 96 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 97 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
Definition at line 99 of file HcalDbService.h.
References mCalibSet, and mRespCorrs.
|
inline |
Definition at line 103 of file HcalDbService.h.
References mCalibSet, and mTimeCorrs.
|
inline |
|
inline |
Definition at line 108 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
Definition at line 109 of file HcalDbService.h.
References mCalibSet, and mLUTCorrs.
|
inline |
|
inline |
|
inline |
Definition at line 115 of file HcalDbService.h.
References mCalibSet, and mSiPMParameters.
|
inline |
Definition at line 119 of file HcalDbService.h.
References mSiPMCharacteristics.
|
inline |
Definition at line 120 of file HcalDbService.h.
References mCalibSet, and mTPChannelParameters.
|
inline |
|
inline |
|
inline |
Definition at line 126 of file HcalDbService.h.
References buildCalibrations(), buildCalibWidths(), convertPedestals(), convertPedestalWidths(), makeHcalCalibration(), makeHcalCalibrationWidth(), mRecoParams, and EcalCondDBWriter_cfi::pedestal.
|
mutableprivate |
Definition at line 170 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalCalibrations(), getHcalCalibrationsSet(), setData(), and ~HcalDbService().
|
mutableprivate |
Definition at line 171 of file HcalDbService.h.
Referenced by buildCalibWidths(), getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), setData(), and ~HcalDbService().
|
private |
Definition at line 153 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 147 of file HcalDbService.h.
Referenced by buildCalibrations(), getEffectivePedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 148 of file HcalDbService.h.
Referenced by buildCalibWidths(), getEffectivePedestalWidth(), and setData().
|
private |
Definition at line 154 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 155 of file HcalDbService.h.
Referenced by getHcalFrontEndMapping(), and setData().
|
private |
Definition at line 149 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 150 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 158 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().
|
private |
Definition at line 160 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 162 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().
|
private |
Definition at line 167 of file HcalDbService.h.
Referenced by getHcalMCParam(), and setData().
|
private |
Definition at line 145 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 146 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 161 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 151 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
private |
Definition at line 152 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalQIEType(), getHcalShape(), getTopologyUsed(), and setData().
|
private |
Definition at line 168 of file HcalDbService.h.
Referenced by getHcalRecoParam(), and setData().
|
private |
Definition at line 156 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().
|
private |
Definition at line 164 of file HcalDbService.h.
Referenced by getHcalSiPMCharacteristics(), and setData().
|
private |
Definition at line 163 of file HcalDbService.h.
Referenced by getHcalSiPMParameter(), and setData().
|
private |
Definition at line 159 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
private |
Definition at line 165 of file HcalDbService.h.
Referenced by getHcalTPChannelParameter(), and setData().
|
private |
Definition at line 166 of file HcalDbService.h.
Referenced by getHcalTPParameters(), and setData().
|
private |
Definition at line 157 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().