#include <HcalCalibrations.h>
Public Member Functions | |
HcalCalibrations () | |
HcalCalibrations (const float fGain[4], const float fPedestal[4], const float fRespCorr, const float fTimeCorr, const float fLUTCorr) | |
double | LUTrespcorrgain (int fCapId) const |
get LUT corrected and response corrected gain for capid=0..3 More... | |
double | pedestal (int fCapId) const |
get pedestal for capid=0..3 More... | |
double | rawgain (int fCapId) const |
get raw gain for capid=0..3 More... | |
double | respcorr () const |
get response correction factor More... | |
double | respcorrgain (int fCapId) const |
get response corrected gain for capid=0..3 More... | |
double | timecorr () const |
get time correction factor More... | |
Private Attributes | |
double | mLUTCorr |
double | mPedestal [4] |
double | mRespCorr |
double | mRespCorrGain [4] |
double | mTimeCorr |
Container for retrieved calibration constants for HCAL $Author: ratnikov
Definition at line 9 of file HcalCalibrations.h.
|
inline |
Definition at line 11 of file HcalCalibrations.h.
HcalCalibrations::HcalCalibrations | ( | const float | fGain[4], |
const float | fPedestal[4], | ||
const float | fRespCorr, | ||
const float | fTimeCorr, | ||
const float | fLUTCorr | ||
) |
Definition at line 10 of file HcalCalibrations.cc.
References mLUTCorr, mPedestal, mRespCorr, mRespCorrGain, and mTimeCorr.
|
inline |
get LUT corrected and response corrected gain for capid=0..3
Definition at line 14 of file HcalCalibrations.h.
References mLUTCorr, and mRespCorrGain.
Referenced by WriteL1TriggerObjectsTxt::analyze(), and HcaluLUTTPGCoder::update().
|
inline |
get pedestal for capid=0..3
Definition at line 20 of file HcalCalibrations.h.
References mPedestal.
Referenced by hcaldqm::utilities::adc2fCDBMinusPedestal(), HcalAmplifier::addPedestals(), WriteL1TriggerObjectsTxt::analyze(), HGCalDigiValidation::analyze(), HcalDeterministicFit::apply(), PulseShapeFitOOTPileupCorrection::apply(), HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HcalTDC::getThreshold(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), PFHBHERecHitCreatorMaxSample::importRecHits(), HBHEPhase1Reconstructor::processData(), HcalDigiTester::reco(), HcalDigisValidation::reco(), ZdcSimpleRecAlgoImpl::reco1(), HFPreRecAlgo::reconstruct(), HcalSimpleRecAlgoImpl::removePileup(), HBHENegativeFlagSetter::setPulseShapeFlags(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), and HcaluLUTTPGCoder::update().
|
inline |
get raw gain for capid=0..3
Definition at line 18 of file HcalCalibrations.h.
References mRespCorr, and mRespCorrGain.
|
inline |
get response correction factor
Definition at line 22 of file HcalCalibrations.h.
References mRespCorr.
|
inline |
get response corrected gain for capid=0..3
Definition at line 16 of file HcalCalibrations.h.
References mRespCorrGain.
Referenced by HcalDeterministicFit::apply(), PulseShapeFitOOTPileupCorrection::apply(), HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), PFHBHERecHitCreatorMaxSample::importRecHits(), HBHEPhase1Reconstructor::processData(), ZdcSimpleRecAlgoImpl::reco1(), ZdcSimpleRecAlgoImpl::reco2(), HFPreRecAlgo::reconstruct(), and HcalSimpleRecAlgoImpl::removePileup().
|
inline |
get time correction factor
Definition at line 24 of file HcalCalibrations.h.
References mTimeCorr.
Referenced by SimpleHBHEPhase1Algo::m0Time(), HcalSimpleRecAlgoImpl::reco(), HcalSimpleRecAlgoImpl::recoHBHE(), HcalSimpleRecAlgo::reconstruct(), and HcalSimpleRecAlgo::reconstructQIE10().
|
private |
Definition at line 30 of file HcalCalibrations.h.
Referenced by HcalCalibrations(), and LUTrespcorrgain().
|
private |
Definition at line 27 of file HcalCalibrations.h.
Referenced by HcalCalibrations(), and pedestal().
|
private |
Definition at line 28 of file HcalCalibrations.h.
Referenced by HcalCalibrations(), rawgain(), and respcorr().
|
private |
Definition at line 26 of file HcalCalibrations.h.
Referenced by HcalCalibrations(), LUTrespcorrgain(), rawgain(), and respcorrgain().
|
private |
Definition at line 29 of file HcalCalibrations.h.
Referenced by HcalCalibrations(), and timecorr().