#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 28 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().
Referenced by setData().
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().
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 35 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 185 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mChannelQuality.
Referenced by getCastorCalibrationWidths().
const CastorQIECoder * CastorDbService::getCastorCoder | ( | const HcalGenericDetId & | fId | ) | const |
Definition at line 169 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 183 of file CastorDbService.cc.
References mElectronicsMap.
Referenced by getCastorCalibrationWidths(), 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 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 155 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 162 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 141 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 148 of file CastorDbService.cc.
References CastorCondObjectContainer< Item >::getValues(), and mPedestalWidths.
Referenced by CastorAmplifier::amplify(), getCastorCalibrationWidths(), and makeCastorCalibrationWidth().
|
private |
Definition at line 25 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 106 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 |
Definition at line 48 of file CastorDbService.h.
References mPedestals.
Referenced by CastorDbProducer::setupChannelQuality(), CastorDbProducer::setupElectronicsMap(), CastorDbProducer::setupGains(), CastorDbProducer::setupGainWidths(), CastorDbProducer::setupPedestals(), CastorDbProducer::setupPedestalWidths(), and CastorDbProducer::setupQIEData().
|
inline |
Definition at line 49 of file CastorDbService.h.
References mPedestalWidths.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 53 of file CastorDbService.h.
References mChannelQuality.
|
inline |
Definition at line 54 of file CastorDbService.h.
References buildCalibrations(), buildCalibWidths(), makeCastorCalibration(), makeCastorCalibrationWidth(), and mElectronicsMap.
|
private |
Definition at line 71 of file CastorDbService.h.
Referenced by buildCalibrations(), and getCastorCalibrations().
|
private |
Definition at line 72 of file CastorDbService.h.
Referenced by buildCalibWidths(), and getCastorCalibrationWidths().
|
private |
Definition at line 69 of file CastorDbService.h.
Referenced by getCastorChannelStatus(), and setData().
|
private |
Definition at line 70 of file CastorDbService.h.
Referenced by getCastorMapping(), and setData().
|
private |
Definition at line 66 of file CastorDbService.h.
Referenced by buildCalibrations(), getGain(), and setData().
|
private |
Definition at line 67 of file CastorDbService.h.
Referenced by buildCalibWidths(), getGainWidth(), and setData().
|
private |
Definition at line 64 of file CastorDbService.h.
Referenced by buildCalibrations(), getPedestal(), and setData().
|
private |
Definition at line 65 of file CastorDbService.h.
Referenced by buildCalibWidths(), getPedestalWidth(), and setData().
|
private |
Definition at line 68 of file CastorDbService.h.
Referenced by buildCalibrations(), buildCalibWidths(), getCastorCoder(), getCastorShape(), and setData().