#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 |
QieShape * | mQieShapeCache |
const HcalRespCorrs * | mRespCorrs |
const HcalTimeCorrs * | mTimeCorrs |
bool | mUpdateCalibrations |
bool | mUpdateCalibWidths |
const HcalZSThresholds * | mZSThresholds |
Definition at line 27 of file HcalDbService.h.
HcalDbService::HcalDbService | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 18 of file HcalDbService.cc.
|
private |
Definition at line 53 of file HcalDbService.cc.
References HcalCalibrationsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mGains, mLUTCorrs, mPedestals, mQIEData, mRespCorrs, mTimeCorrs, convertSQLiteXML::ok, HcalCalibrationsSet::setCalibrations(), and HcalCalibrationsSet::sort().
Referenced by getHcalCalibrations().
|
private |
Definition at line 75 of file HcalDbService.cc.
References HcalCalibrationWidthsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, 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 187 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 194 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 33 of file HcalDbService.cc.
References buildCalibrations(), HcalCalibrationsSet::getCalibrations(), mCalibSet, and mUpdateCalibrations.
Referenced by HcalAmplifier::addPedestals(), HcalMonitorClient::PlotPedestalValues(), and HcaluLUTTPGCoder::update().
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 43 of file HcalDbService.cc.
References buildCalibWidths(), HcalCalibrationWidthsSet::getCalibrationWidths(), mCalibWidthSet, and mUpdateCalibWidths.
Referenced by HcalAmplifier::addPedestals().
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 224 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 201 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 219 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 241 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 255 of file HcalDbService.cc.
References mLutMetadata.
Referenced by HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 215 of file HcalDbService.cc.
References mElectronicsMap.
const HcalPFCorr * HcalDbService::getHcalPFCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 248 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalRespCorr * HcalDbService::getHcalRespCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 166 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.
Referenced by makeHcalCalibration().
const HcalQIEShape * HcalDbService::getHcalShape | ( | ) | const |
Definition at line 208 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 HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 234 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 229 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 173 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 180 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by makeHcalCalibrationWidth(), and HcalMonitorClient::PlotPedestalValues().
|
private |
Definition at line 97 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGain(), getHcalCoder(), getHcalLUTCorr(), getHcalRespCorr(), getHcalShape(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), HcalPedestal::getValues(), HcalGain::getValues(), i, and x.
Referenced by buildCalibrations().
|
private |
Definition at line 132 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 51 of file HcalDbService.h.
References mPedestalWidths, and mUpdateCalibWidths.
|
inline |
|
inline |
|
inline |
Definition at line 54 of file HcalDbService.h.
References mQIEData, mUpdateCalibrations, and mUpdateCalibWidths.
|
inline |
Definition at line 55 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 56 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 60 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
|
inline |
|
inline |
|
mutableprivate |
Definition at line 88 of file HcalDbService.h.
Referenced by buildCalibrations(), and getHcalCalibrations().
|
mutableprivate |
Definition at line 89 of file HcalDbService.h.
Referenced by buildCalibWidths(), and getHcalCalibrationWidths().
|
private |
Definition at line 78 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 79 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 74 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), and setData().
|
private |
Definition at line 75 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 82 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), and setData().
|
private |
Definition at line 84 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 86 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), and setData().
|
private |
Definition at line 72 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), and setData().
|
private |
Definition at line 73 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 85 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 77 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
mutableprivate |
Definition at line 76 of file HcalDbService.h.
|
private |
Definition at line 80 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), and setData().
|
private |
Definition at line 83 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
mutableprivate |
Definition at line 90 of file HcalDbService.h.
Referenced by getHcalCalibrations(), and setData().
|
mutableprivate |
Definition at line 90 of file HcalDbService.h.
Referenced by getHcalCalibrationWidths(), and setData().
|
private |
Definition at line 81 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().