#include <CastorDbService.h>
Private Member Functions | |
void | buildCalibrations () |
void | buildCalibWidths () |
bool | makeCastorCalibration (const HcalGenericDetId &fId, CastorCalibrations *fObject, bool pedestalInADC) const |
bool | makeCastorCalibrationWidth (const HcalGenericDetId &fId, CastorCalibrationWidths *fObject, bool pedestalInADC) const |
Private Attributes | |
CastorCalibrationsSet | mCalibSet |
CastorCalibrationWidthsSet | mCalibWidthSet |
const CastorChannelQuality * | mChannelQuality |
const CastorElectronicsMap * | mElectronicsMap |
const CastorGains * | mGains |
const CastorGainWidths * | mGainWidths |
const CastorPedestals * | mPedestals |
const CastorPedestalWidths * | mPedestalWidths |
const CastorQIEData * | mQIEData |
reco::castor::QieShape * | mQieShapeCache |
Definition at line 28 of file CastorDbService.h.
CastorDbService::CastorDbService | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 17 of file CastorDbService.cc.
|
private |
Definition at line 60 of file CastorDbService.cc.
References CastorCalibrationsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, CastorPedestals::isADC(), makeCastorCalibration(), mCalibSet, mGains, mPedestals, mQIEData, convertSQLiteXML::ok, CastorCalibrationsSet::setCalibrations(), and CastorCalibrationsSet::sort().
Referenced by setData().
|
private |
Definition at line 81 of file CastorDbService.cc.
References CastorCalibrationWidthsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, CastorPedestalWidths::isADC(), makeCastorCalibrationWidth(), mCalibWidthSet, mGainWidths, mPedestalWidths, mQIEData, convertSQLiteXML::ok, CastorCalibrationWidthsSet::setCalibrationWidths(), and CastorCalibrationWidthsSet::sort().
Referenced by setData().
|
inline |
Definition at line 32 of file CastorDbService.h.
References CastorCalibrationsSet::getCalibrations(), and mCalibSet.
Referenced by CastorPSMonitor::processEvent().
|
inline |
Definition at line 34 of file CastorDbService.h.
References CastorCalibrationWidthsSet::getCalibrationWidths(), and mCalibWidthSet.
const CastorChannelStatus * CastorDbService::getCastorChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 183 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mChannelQuality.
const CastorQIECoder * CastorDbService::getCastorCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 165 of file CastorDbService.cc.
References CastorQIEData::getCoder(), and mQIEData.
Referenced by CastorCoderFactory::coder(), CastorLedAnalysis::LedCastorHists(), makeCastorCalibration(), makeCastorCalibrationWidth(), CastorPedestalAnalysis::per2CapsHists(), CastorPSMonitor::processEvent(), and CastorPedestalAnalysis::processEvent().
const CastorElectronicsMap * CastorDbService::getCastorMapping | ( | ) | const |
Definition at line 179 of file CastorDbService.cc.
References mElectronicsMap.
const CastorQIEShape * CastorDbService::getCastorShape | ( | ) | const |
Definition at line 172 of file CastorDbService.cc.
References CastorQIEData::getShape(), and mQIEData.
Referenced by CastorCoderFactory::coder(), CastorLedAnalysis::LedCastorHists(), makeCastorCalibration(), makeCastorCalibrationWidth(), CastorPedestalAnalysis::per2CapsHists(), CastorPSMonitor::processEvent(), and CastorPedestalAnalysis::processEvent().
const CastorGain * CastorDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 151 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mGains.
Referenced by CastorSimParameters::fCtoGeV(), and makeCastorCalibration().
const CastorGainWidth * CastorDbService::getGainWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 158 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mGainWidths.
Referenced by CastorSimParameters::fCtoGeV(), and makeCastorCalibrationWidth().
const CastorPedestal * CastorDbService::getPedestal | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 137 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by CastorAmplifier::amplify(), CastorLedAnalysis::LedCastorHists(), and makeCastorCalibration().
const CastorPedestalWidth * CastorDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 144 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by CastorAmplifier::amplify(), and makeCastorCalibrationWidth().
|
private |
Definition at line 28 of file CastorDbService.cc.
References CastorQIECoder::charge(), getCastorCoder(), getCastorShape(), getGain(), getPedestal(), CastorGain::getValues(), CastorPedestal::getValues(), i, and x.
Referenced by buildCalibrations().
|
private |
Definition at line 103 of file CastorDbService.cc.
References CastorQIECoder::charge(), getCastorCoder(), getCastorShape(), getGainWidth(), getPedestalWidth(), CastorGainWidth::getValues(), CastorPedestalWidth::getWidth(), i, and x.
Referenced by buildCalibWidths().
|
inline |
|
inline |
Definition at line 47 of file CastorDbService.h.
References buildCalibWidths(), and mPedestalWidths.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 51 of file CastorDbService.h.
References mChannelQuality.
|
inline |
Definition at line 52 of file CastorDbService.h.
References mElectronicsMap.
|
private |
Definition at line 69 of file CastorDbService.h.
Referenced by buildCalibrations(), and getCastorCalibrations().
|
private |
Definition at line 70 of file CastorDbService.h.
Referenced by buildCalibWidths(), and getCastorCalibrationWidths().
|
private |
Definition at line 67 of file CastorDbService.h.
Referenced by getCastorChannelStatus(), and setData().
|
private |
Definition at line 68 of file CastorDbService.h.
Referenced by getCastorMapping(), and setData().
|
private |
Definition at line 64 of file CastorDbService.h.
Referenced by buildCalibrations(), getGain(), and setData().
|
private |
Definition at line 65 of file CastorDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 62 of file CastorDbService.h.
Referenced by buildCalibrations(), getPedestal(), and setData().
|
private |
Definition at line 63 of file CastorDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 66 of file CastorDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getCastorCoder(), getCastorShape(), and setData().
|
mutableprivate |
Definition at line 61 of file CastorDbService.h.