#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 | |
HcalCalibrationsSet | mCalibSet |
HcalCalibrationWidthsSet | mCalibWidthSet |
const HcalChannelQuality * | mChannelQuality |
const HcalElectronicsMap * | mElectronicsMap |
const HcalGains * | mGains |
const HcalGainWidths * | mGainWidths |
const HcalL1TriggerObjects * | mL1TriggerObjects |
const HcalLUTCorrs * | mLUTCorrs |
const HcalLutMetadata * | mLutMetadata |
const HcalPedestals * | mPedestals |
const HcalPedestalWidths * | mPedestalWidths |
const HcalPFCorrs * | mPFCorrs |
const HcalQIEData * | mQIEData |
HcalQIEShape * | mQieShapeCache |
const HcalRespCorrs * | mRespCorrs |
const HcalTimeCorrs * | mTimeCorrs |
bool | mUpdateCalibrations |
bool | mUpdateCalibWidths |
const HcalZSThresholds * | mZSThresholds |
Definition at line 28 of file HcalDbService.h.
HcalDbService::HcalDbService | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file HcalDbService.cc.
|
private |
Definition at line 60 of file HcalDbService.cc.
References HcalCalibrationsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mGains, mLUTCorrs, mPedestals, mQIEData, mRespCorrs, mTimeCorrs, convertSQLiteXML::ok, HcalCalibrationsSet::setCalibrations(), and HcalCalibrationsSet::sort().
Referenced by getHcalCalibrations().
|
private |
Definition at line 82 of file HcalDbService.cc.
References HcalCalibrationWidthsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mGainWidths, mPedestalWidths, mQIEData, convertSQLiteXML::ok, HcalCalibrationWidthsSet::setCalibrationWidths(), and HcalCalibrationWidthsSet::sort().
Referenced by getHcalCalibrationWidths().
const HcalGain * HcalDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 194 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGains.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), HcalRecHitsMaker::init(), and makeHcalCalibration().
const HcalGainWidth * HcalDbService::getGainWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 201 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mGainWidths.
Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), and makeHcalCalibrationWidth().
const HcalCalibrations & HcalDbService::getHcalCalibrations | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 40 of file HcalDbService.cc.
References buildCalibrations(), HcalCalibrationsSet::getCalibrations(), mCalibSet, and mUpdateCalibrations.
Referenced by HcalAmplifier::addPedestals(), HcalTDC::getThreshold(), HcalMonitorClient::PlotPedestalValues(), and HcaluLUTTPGCoder::update().
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 50 of file HcalDbService.cc.
References buildCalibWidths(), HcalCalibrationWidthsSet::getCalibrationWidths(), mCalibWidthSet, and mUpdateCalibWidths.
Referenced by HcalAmplifier::addPedestals(), and HcalTDC::getThreshold().
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 239 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mChannelQuality.
Referenced by HcaluLUTTPGCoder::update().
const HcalQIECoder * HcalDbService::getHcalCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 208 of file HcalDbService.cc.
References HcalQIEData::getCoder(), and mQIEData.
Referenced by HcalAmplifier::addPedestals(), HcalCoderFactory::coder(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), makeHcalCalibration(), makeHcalCalibrationWidth(), HcalPedestalAnalysis::per2CapsHists(), HcalMonitorClient::PlotPedestalValues(), HcalPedestalAnalysis::processEvent(), and HcaluLUTTPGCoder::update().
const HcalL1TriggerObject * HcalDbService::getHcalL1TriggerObject | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 234 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 256 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 270 of file HcalDbService.cc.
References mLutMetadata.
Referenced by HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 230 of file HcalDbService.cc.
References mElectronicsMap.
const HcalPFCorr * HcalDbService::getHcalPFCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 263 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalRespCorr * HcalDbService::getHcalRespCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 173 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.
Referenced by makeHcalCalibration().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 215 of file HcalDbService.cc.
References HcalQIEData::getShape(), and mQIEData.
Referenced by HcalAmplifier::addPedestals(), HcalCoderFactory::coder(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), makeHcalCalibration(), makeHcalCalibrationWidth(), HcalPedestalAnalysis::per2CapsHists(), HcalMonitorClient::PlotPedestalValues(), HcalPedestalAnalysis::processEvent(), and HcaluLUTTPGCoder::update().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalQIECoder * | coder | ) | const |
Definition at line 222 of file HcalDbService.cc.
References HcalQIEData::getShape(), and mQIEData.
const HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 249 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 244 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 180 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by HcalRecHitsMaker::init(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), and makeHcalCalibration().
const HcalPedestalWidth * HcalDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 187 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by makeHcalCalibrationWidth(), and HcalMonitorClient::PlotPedestalValues().
const HcalTopology * HcalDbService::getTopologyUsed | ( | ) | const |
Definition at line 30 of file HcalDbService.cc.
References mGains, mL1TriggerObjects, mLutMetadata, mPedestals, mRespCorrs, and HcalCondObjectContainerBase::topo().
|
private |
Definition at line 104 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGain(), getHcalCoder(), getHcalLUTCorr(), getHcalRespCorr(), getHcalShape(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalLUTCorr::getValue(), HcalTimeCorr::getValue(), HcalPedestal::getValues(), HcalGain::getValues(), i, and x.
Referenced by buildCalibrations().
|
private |
Definition at line 139 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGainWidth(), getHcalCoder(), getHcalShape(), getPedestalWidth(), HcalGainWidth::getValues(), HcalPedestalWidth::getWidth(), i, and x.
Referenced by buildCalibWidths().
|
inline |
|
inline |
Definition at line 55 of file HcalDbService.h.
References mPedestalWidths, and mUpdateCalibWidths.
|
inline |
|
inline |
|
inline |
Definition at line 58 of file HcalDbService.h.
References mQIEData, mUpdateCalibrations, and mUpdateCalibWidths.
|
inline |
Definition at line 59 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 60 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
|
inline |
|
inline |
|
mutableprivate |
Definition at line 92 of file HcalDbService.h.
Referenced by buildCalibrations(), and getHcalCalibrations().
|
mutableprivate |
Definition at line 93 of file HcalDbService.h.
Referenced by buildCalibWidths(), and getHcalCalibrationWidths().
|
private |
Definition at line 82 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 83 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 78 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 79 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 86 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().
|
private |
Definition at line 88 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 90 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().
|
private |
Definition at line 76 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 77 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 89 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 81 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
mutableprivate |
Definition at line 80 of file HcalDbService.h.
|
private |
Definition at line 84 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().
|
private |
Definition at line 87 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
mutableprivate |
Definition at line 94 of file HcalDbService.h.
Referenced by getHcalCalibrations(), and setData().
|
mutableprivate |
Definition at line 94 of file HcalDbService.h.
Referenced by getHcalCalibrationWidths(), and setData().
|
private |
Definition at line 85 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().