#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 23 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, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mEffectivePedestals, mGains, mLUTCorrs, mPedestals, mQIEData, mQIETypes, mRespCorrs, mTimeCorrs, and convertSQLiteXML::ok.
Referenced by getHcalCalibrations(), and getHcalCalibrationsSet().
|
private |
Definition at line 118 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mEffectivePedestalWidths, mGainWidths, mPedestalWidths, mQIEData, and convertSQLiteXML::ok.
Referenced by getHcalCalibrationWidths(), and getHcalCalibrationWidthsSet().
|
private |
Definition at line 150 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), mps_fire::i, createfilelist::int, EcalCondDBWriter_cfi::pedestal, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by makeHcalCalibration().
|
private |
Definition at line 206 of file HcalDbService.cc.
References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestalWidth::getWidth(), mps_fire::i, EcalCondDBWriter_cfi::pedestal, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, y, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by makeHcalCalibrationWidth().
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(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), 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 HcalAmplifier::addPedestals(), HcalFeatureHFEMBit::getE(), and HcalDigisValidation::reco().
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().
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.
const HcalQIECoder * HcalDbService::getHcalCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 319 of file HcalDbService.cc.
References HcalQIEData::getCoder(), and mQIEData.
Referenced by HcalCoderFactory::coder(), convertPedestals(), convertPedestalWidths(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), HcalFeatureHFEMBit::getE(), HcalDigisValidation::reco(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
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.
const HcalLUTCorr * HcalDbService::getHcalLUTCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 366 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.
Referenced by CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), and makeHcalCalibration().
const HcalLutMetadata * HcalDbService::getHcalLutMetadata | ( | ) | const |
const HcalElectronicsMap * HcalDbService::getHcalMapping | ( | ) | const |
Definition at line 343 of file HcalDbService.cc.
References mElectronicsMap.
Referenced by HcalLuttoDB::analyze(), hcaldqm::DQHarvester::beginRun(), hcaldqm::DQClient::beginRun(), NoCQTask::bookHistograms(), FCDTask::bookHistograms(), PedestalTask::bookHistograms(), TPTask::bookHistograms(), HcalGPUComparisonTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), UMNioTask::bookHistograms(), RawTask::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::DQTask::bookHistograms(), CMTRawAnalyzer::fillMAP(), HcalDigiToRaw::produce(), HcalHistogramRawToDigi::produce(), and HcalTrigPrimDigiProducer::produce().
const HcalMCParam * HcalDbService::getHcalMCParam | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 399 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.
const HcalRecoParam * HcalDbService::getHcalRecoParam | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 406 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mRecoParams.
Referenced by HcalPulseShapes::shapeForReco().
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(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), 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 HcalCoderFactory::coder(), convertPedestals(), convertPedestalWidths(), HcalFeatureHFEMBit::getE(), getHcalShape(), HcalDigisValidation::reco(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
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.
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(), HcalSimParameters::sipmCrossTalk(), HcalSimParameters::sipmDarkCurrentuA(), and HcalSimParameters::sipmNonlinearity().
const HcalTimeCorr * HcalDbService::getHcalTimeCorr | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 359 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.
Referenced by CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), and makeHcalCalibration().
const HcalTPChannelParameter * HcalDbService::getHcalTPChannelParameter | ( | const HcalGenericDetId & | fId, |
bool | throwOnFail = true |
||
) | const |
Definition at line 391 of file HcalDbService.cc.
References HcalCondObjectContainer< Item >::getValues(), and mTPChannelParameters.
Referenced by HcalTriggerPrimitiveAlgo::validChannel().
const HcalTPParameters * HcalDbService::getHcalTPParameters | ( | ) | const |
Definition at line 413 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(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), 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 CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), 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(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), and EcalCondDBWriter_cfi::pedestal.
Referenced by buildCalibrations().
|
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().
|
inline |
Definition at line 62 of file HcalDbService.h.
References mCalibSet, mEffectivePedestals, and mPedestals.
|
inline |
Definition at line 69 of file HcalDbService.h.
References mCalibWidthSet, mEffectivePedestalWidths, and mPedestalWidths.
|
inline |
Definition at line 76 of file HcalDbService.h.
References mCalibSet, and mGains.
|
inline |
Definition at line 80 of file HcalDbService.h.
References mCalibWidthSet, and mGainWidths.
|
inline |
Definition at line 84 of file HcalDbService.h.
References mCalibSet, mCalibWidthSet, and mQIEData.
|
inline |
Definition at line 89 of file HcalDbService.h.
References mCalibSet, and mQIETypes.
|
inline |
Definition at line 93 of file HcalDbService.h.
References mChannelQuality.
|
inline |
Definition at line 94 of file HcalDbService.h.
References mElectronicsMap.
|
inline |
|
inline |
Definition at line 96 of file HcalDbService.h.
References mCalibSet, and mRespCorrs.
|
inline |
Definition at line 100 of file HcalDbService.h.
References mCalibSet, and mTimeCorrs.
|
inline |
|
inline |
Definition at line 105 of file HcalDbService.h.
References mL1TriggerObjects.
|
inline |
Definition at line 106 of file HcalDbService.h.
References mCalibSet, and mLUTCorrs.
|
inline |
|
inline |
|
inline |
Definition at line 112 of file HcalDbService.h.
References mCalibSet, and mSiPMParameters.
|
inline |
Definition at line 116 of file HcalDbService.h.
References mSiPMCharacteristics.
|
inline |
Definition at line 117 of file HcalDbService.h.
References mCalibSet, and mTPChannelParameters.
|
inline |
|
inline |
|
inline |
|
mutableprivate |
Definition at line 167 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalCalibrations(), getHcalCalibrationsSet(), setData(), and ~HcalDbService().
|
mutableprivate |
Definition at line 168 of file HcalDbService.h.
Referenced by buildCalibWidths(), getHcalCalibrationWidths(), getHcalCalibrationWidthsSet(), setData(), and ~HcalDbService().
|
private |
Definition at line 150 of file HcalDbService.h.
Referenced by getHcalChannelStatus(), and setData().
|
private |
Definition at line 144 of file HcalDbService.h.
Referenced by buildCalibrations(), getEffectivePedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 145 of file HcalDbService.h.
Referenced by buildCalibWidths(), getEffectivePedestalWidth(), and setData().
|
private |
Definition at line 151 of file HcalDbService.h.
Referenced by getHcalMapping(), and setData().
|
private |
Definition at line 152 of file HcalDbService.h.
Referenced by getHcalFrontEndMapping(), and setData().
|
private |
Definition at line 146 of file HcalDbService.h.
Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().
|
private |
Definition at line 147 of file HcalDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 155 of file HcalDbService.h.
Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().
|
private |
Definition at line 157 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().
|
private |
Definition at line 159 of file HcalDbService.h.
Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().
|
private |
Definition at line 164 of file HcalDbService.h.
Referenced by getHcalMCParam(), and setData().
|
private |
Definition at line 142 of file HcalDbService.h.
Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().
|
private |
Definition at line 143 of file HcalDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 158 of file HcalDbService.h.
Referenced by getHcalPFCorr(), and setData().
|
private |
Definition at line 148 of file HcalDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getHcalCoder(), getHcalShape(), and setData().
|
private |
Definition at line 149 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalQIEType(), getHcalShape(), getTopologyUsed(), and setData().
|
private |
Definition at line 165 of file HcalDbService.h.
Referenced by getHcalRecoParam(), and setData().
|
private |
Definition at line 153 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().
|
private |
Definition at line 161 of file HcalDbService.h.
Referenced by getHcalSiPMCharacteristics(), and setData().
|
private |
Definition at line 160 of file HcalDbService.h.
Referenced by getHcalSiPMParameter(), and setData().
|
private |
Definition at line 156 of file HcalDbService.h.
Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().
|
private |
Definition at line 162 of file HcalDbService.h.
Referenced by getHcalTPChannelParameter(), and setData().
|
private |
Definition at line 163 of file HcalDbService.h.
Referenced by getHcalTPParameters(), and setData().
|
private |
Definition at line 154 of file HcalDbService.h.
Referenced by getHcalZSThreshold(), and setData().