#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 |
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 58 of file CastorDbService.cc.
References CastorCalibrationsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, CastorPedestals::isADC(), makeCastorCalibration(), mCalibSet, mGains, mPedestals, mQIEData, convertSQLiteXML::ok, CastorCalibrationsSet::setCalibrations(), and CastorCalibrationsSet::sort().
Referenced by setData().
|
private |
Definition at line 79 of file CastorDbService.cc.
References CastorCalibrationWidthsSet::clear(), CastorCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::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 CastorTTRecord::getEnergy_fC(), CastorSimpleReconstructor::produce(), and RecHitCorrector::produce().
|
inline |
Definition at line 34 of file CastorDbService.h.
References CastorCalibrationWidthsSet::getCalibrationWidths(), getCastorChannelStatus(), getCastorCoder(), getCastorMapping(), getCastorShape(), getGain(), getGainWidth(), getPedestal(), getPedestalWidth(), and mCalibWidthSet.
const CastorChannelStatus * CastorDbService::getCastorChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 181 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mChannelQuality.
Referenced by getCastorCalibrationWidths().
const CastorQIECoder * CastorDbService::getCastorCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 163 of file CastorDbService.cc.
References CastorQIEData::getCoder(), and mQIEData.
Referenced by CastorPedestalsAnalysis::analyze(), CastorCoderFactory::coder(), getCastorCalibrationWidths(), CastorTTRecord::getEnergy_fC(), CastorLedAnalysis::LedCastorHists(), makeCastorCalibration(), makeCastorCalibrationWidth(), CastorPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::processEvent(), and CastorSimpleReconstructor::produce().
const CastorElectronicsMap * CastorDbService::getCastorMapping | ( | ) | const |
Definition at line 177 of file CastorDbService.cc.
References mElectronicsMap.
Referenced by getCastorCalibrationWidths(), CastorDigiToRaw::produce(), and CastorRawToDigi::produce().
const CastorQIEShape * CastorDbService::getCastorShape | ( | ) | const |
Definition at line 170 of file CastorDbService.cc.
References CastorQIEData::getShape(), and mQIEData.
Referenced by CastorPedestalsAnalysis::analyze(), CastorCoderFactory::coder(), getCastorCalibrationWidths(), CastorTTRecord::getEnergy_fC(), CastorLedAnalysis::LedCastorHists(), makeCastorCalibration(), makeCastorCalibrationWidth(), CastorPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::processEvent(), and CastorSimpleReconstructor::produce().
const CastorGain * CastorDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 149 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mGains.
Referenced by CastorSimParameters::fCtoGeV(), getCastorCalibrationWidths(), and makeCastorCalibration().
const CastorGainWidth * CastorDbService::getGainWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 156 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mGainWidths.
Referenced by CastorSimParameters::fCtoGeV(), getCastorCalibrationWidths(), and makeCastorCalibrationWidth().
const CastorPedestal * CastorDbService::getPedestal | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 135 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by CastorAmplifier::amplify(), getCastorCalibrationWidths(), CastorLedAnalysis::LedCastorHists(), and makeCastorCalibration().
const CastorPedestalWidth * CastorDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 142 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by CastorAmplifier::amplify(), getCastorCalibrationWidths(), and makeCastorCalibrationWidth().
|
private |
Definition at line 26 of file CastorDbService.cc.
References CastorQIECoder::charge(), muonCSCDigis_cfi::gain, getCastorCoder(), getCastorShape(), getGain(), getPedestal(), CastorGain::getValues(), CastorPedestal::getValues(), mps_fire::i, createfilelist::int, muonCSCDigis_cfi::pedestal, x, globals_cff::x1, and globals_cff::x2.
Referenced by buildCalibrations(), and setData().
|
private |
Definition at line 101 of file CastorDbService.cc.
References CastorQIECoder::charge(), getCastorCoder(), getCastorShape(), getGainWidth(), getPedestalWidth(), CastorGainWidth::getValues(), CastorPedestalWidth::getWidth(), mps_fire::i, and x.
Referenced by buildCalibWidths(), and setData().
|
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 buildCalibrations(), buildCalibWidths(), makeCastorCalibration(), makeCastorCalibrationWidth(), and mElectronicsMap.
|
private |
Definition at line 68 of file CastorDbService.h.
Referenced by buildCalibrations(), and getCastorCalibrations().
|
private |
Definition at line 69 of file CastorDbService.h.
Referenced by buildCalibWidths(), and getCastorCalibrationWidths().
|
private |
Definition at line 66 of file CastorDbService.h.
Referenced by getCastorChannelStatus(), and setData().
|
private |
Definition at line 67 of file CastorDbService.h.
Referenced by getCastorMapping(), and setData().
|
private |
Definition at line 63 of file CastorDbService.h.
Referenced by buildCalibrations(), getGain(), and setData().
|
private |
Definition at line 64 of file CastorDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 61 of file CastorDbService.h.
Referenced by buildCalibrations(), getPedestal(), and setData().
|
private |
Definition at line 62 of file CastorDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 65 of file CastorDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getCastorCoder(), getCastorShape(), and setData().