24 declareInterface<ITileCondToolNoise>(
this);
25 declareInterface<TileCondToolNoiseSample>(
this);
46 return StatusCode::SUCCESS;
54 return StatusCode::SUCCESS;
63 float ped = sampleNoise->getPed(drawerIdx, channel, adc);
80 float hfn = sampleNoise->getHfn(drawerIdx, channel, adc);
97 float lfn = sampleNoise->getLfn(drawerIdx, channel, adc);
110 const EventContext &ctx)
const {
113 float hfn1 = sampleNoise->getHfn1(drawerIdx, channel, adc);
122 const EventContext &ctx)
const {
125 float hfn2 = sampleNoise->getHfn2(drawerIdx, channel, adc);
133 const EventContext &ctx)
const {
136 float hfnNorm = sampleNoise->getHfnNorm(drawerIdx, channel, adc);
144 const EventContext &ctx)
const {
146 float pedestalDifference(0.0);
152 float pedestal = sampleNoise->getPed(drawerIdx, channel, adc);
153 float onlinePedestal = onlineSampleNoise->getPed(drawerIdx, channel, adc);
156 pedestalDifference = emScale->calibrateOnlineChannel(drawerIdx, channel, adc, (onlinePedestal - pedestal), onlineUnit);
159 return pedestalDifference;
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.