#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 16 of file CastorDbService.cc.
|
private |
Definition at line 59 of file CastorDbService.cc.
References CastorCalibrationsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), CastorPedestals::isADC(), makeCastorCalibration(), mCalibSet, mGains, mPedestals, mQIEData, convertSQLiteXML::ok, CastorCalibrationsSet::setCalibrations(), and CastorCalibrationsSet::sort().
Referenced by setData().
|
private |
Definition at line 80 of file CastorDbService.cc.
References CastorCalibrationWidthsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), 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 182 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mChannelQuality.
const CastorQIECoder * CastorDbService::getCastorCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 164 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 178 of file CastorDbService.cc.
References mElectronicsMap.
const CastorQIEShape * CastorDbService::getCastorShape | ( | ) | const |
Definition at line 171 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 150 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 157 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 136 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 143 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by CastorAmplifier::amplify(), and makeCastorCalibrationWidth().
|
private |
Definition at line 27 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 102 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.