#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 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 |
const HcalRespCorrs * | mRespCorrs |
const HcalTimeCorrs * | mTimeCorrs |
const HcalZSThresholds * | mZSThresholds |
Definition at line 29 of file HcalDbService.h.
HcalDbService::HcalDbService | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 16 of file HcalDbService.cc.
|
private |
Definition at line 52 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mGains, mLUTCorrs, mPedestals, mQIEData, mRespCorrs, mTimeCorrs, and convertSQLiteXML::ok.
Referenced by getHcalCalibrations().
|
private |
Definition at line 83 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mGainWidths, mPedestalWidths, mQIEData, and convertSQLiteXML::ok.
Referenced by getHcalCalibrationWidths().
const HcalGain * HcalDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 205 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 212 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(), readCalibrations2004_v2_cff::getCalibrations, and mCalibSet.
Referenced by HcalAmplifier::addPedestals(), HcalTDC::getThreshold(), HcalMonitorClient::PlotPedestalValues(), and HcaluLUTTPGCoder::update().
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 46 of file HcalDbService.cc.
References buildCalibWidths(), and mCalibWidthSet.
Referenced by HcalAmplifier::addPedestals(), and HcalTDC::getThreshold().
const HcalChannelStatus * HcalDbService::getHcalChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 250 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 219 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 245 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 267 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
Definition at line 281 of file HcalDbService.cc.
References mLutMetadata.
Referenced by HcaluLUTTPGCoder::update().
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 241 of file HcalDbService.cc.
References mElectronicsMap.
const HcalPFCorr * HcalDbService::getHcalPFCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 274 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.
const HcalRespCorr * HcalDbService::getHcalRespCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 184 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.
Referenced by makeHcalCalibration().
const HcalQIEShape * HcalDbService::getHcalShape | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 226 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 233 of file HcalDbService.cc.
References HcalQIEData::getShape(), and mQIEData.
const HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 260 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by makeHcalCalibration().
const HcalZSThreshold * HcalDbService::getHcalZSThreshold | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 255 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 191 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 198 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 115 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGain(), getHcalCoder(), getHcalLUTCorr(), getHcalRespCorr(), getHcalShape(), getHcalTimeCorr(), getPedestal(), HcalLUTCorr::getValue(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalPedestal::getValues(), HcalGain::getValues(), i, EcalCondDBWriter_cfi::pedestal, and x.
Referenced by buildCalibrations().
|
private |
Definition at line 150 of file HcalDbService.cc.
References HcalQIECoder::charge(), getGainWidth(), getHcalCoder(), getHcalShape(), getPedestalWidth(), HcalGainWidth::getValues(), HcalPedestalWidth::getWidth(), i, and x.
Referenced by buildCalibWidths().
|
inline |
Definition at line 55 of file HcalDbService.h.
References mCalibSet, and mPedestals.
|
inline |
Definition at line 56 of file HcalDbService.h.
References mCalibWidthSet, and mPedestalWidths.
|
inline |
Definition at line 57 of file HcalDbService.h.
References mCalibSet, and mGains.
|
inline |
Definition at line 58 of file HcalDbService.h.
References mCalibWidthSet, and mGainWidths.
|
inline |
Definition at line 59 of file HcalDbService.h.
References mCalibSet, mCalibWidthSet, and mQIEData.
|
inline |
Definition at line 60 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 61 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
Definition at line 62 of file HcalDbService.h.
References mCalibSet, and mRespCorrs.
|
inline |
Definition at line 63 of file HcalDbService.h.
References mCalibSet, and mTimeCorrs.
|
inline |
|
inline |
Definition at line 65 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
Definition at line 66 of file HcalDbService.h.
References mCalibSet, and mLUTCorrs.
|
inline |
|
inline |
|
mutableprivate |
Definition at line 92 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalCalibrations(), and setData().
|
mutableprivate |
Definition at line 93 of file HcalDbService.h.
Referenced by buildCalibWidths(), getHcalCalibrationWidths(), and setData().
|
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 79 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 80 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 77 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 78 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().
|
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().
|
private |
Definition at line 85 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().