#include <CastorDbService.h>
Private Member Functions | |
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 25 of file CastorDbService.h.
CastorDbService::CastorDbService | ( | ) |
Definition at line 16 of file CastorDbService.cc.
void CastorDbService::buildCalibrations | ( | ) |
Definition at line 59 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().
void CastorDbService::buildCalibWidths | ( | ) |
Definition at line 82 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().
|
inline |
Definition at line 29 of file CastorDbService.h.
References CastorCalibrationsSet::getCalibrations(), and mCalibSet.
|
inline |
Definition at line 32 of file CastorDbService.h.
References CastorCalibrationWidthsSet::getCalibrationWidths(), and mCalibWidthSet.
const CastorChannelStatus * CastorDbService::getCastorChannelStatus | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 185 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mChannelQuality.
const CastorQIECoder * CastorDbService::getCastorCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 169 of file CastorDbService.cc.
References CastorQIEData::getCoder(), and mQIEData.
Referenced by CastorCoderFactory::coder(), makeCastorCalibration(), and makeCastorCalibrationWidth().
const CastorElectronicsMap * CastorDbService::getCastorMapping | ( | ) | const |
Definition at line 183 of file CastorDbService.cc.
References mElectronicsMap.
Referenced by CastorDigiToRaw::produce(), and CastorRawToDigi::produce().
const CastorQIEShape * CastorDbService::getCastorShape | ( | ) | const |
Definition at line 176 of file CastorDbService.cc.
References CastorQIEData::getShape(), and mQIEData.
Referenced by CastorCoderFactory::coder(), makeCastorCalibration(), and makeCastorCalibrationWidth().
const CastorGain * CastorDbService::getGain | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 155 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 162 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 141 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestals.
Referenced by CastorAmplifier::amplify(), and makeCastorCalibration().
const CastorPedestalWidth * CastorDbService::getPedestalWidth | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 148 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by CastorAmplifier::amplify(), and makeCastorCalibrationWidth().
|
private |
Definition at line 25 of file CastorDbService.cc.
References CastorQIECoder::charge(), PedestalClient_cfi::gain, getCastorCoder(), getCastorShape(), getGain(), getPedestal(), mps_fire::i, createfilelist::int, EcalCondDBWriter_cfi::pedestal, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by buildCalibrations().
|
private |
Definition at line 106 of file CastorDbService.cc.
References CastorQIECoder::charge(), getCastorCoder(), getCastorShape(), getGainWidth(), getPedestalWidth(), CastorGainWidth::getValues(), CastorPedestalWidth::getWidth(), mps_fire::i, x, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by buildCalibWidths().
|
inline |
|
inline |
Definition at line 46 of file CastorDbService.h.
References mPedestalWidths.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 50 of file CastorDbService.h.
References mChannelQuality.
|
inline |
Definition at line 51 of file CastorDbService.h.
References 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().