16 const IInterface* parent)
17 : base_class(
type, name, parent)
34 return StatusCode::SUCCESS;
42 return StatusCode::SUCCESS;
54 const EventContext& ctx)
const
64 calibOFC->getCalibDrawer(drawerIdx)->fillOfc(channel, adc, phase,
weights.w_a,
weights.w_b,
67 weights.n_samples = calibOFC->getCalibDrawer(drawerIdx)->getNSamples();
69 return StatusCode::SUCCESS;
78 float *
a,
float *b,
float *c,
float *g,
float *dg,
79 const EventContext& ctx) {
83 calibOFC->getCalibDrawer(drawerIdx)->fillOfc(channel, adc, phase,
a, b, c, g, dg);
85 return calibOFC->getCalibDrawer(drawerIdx)->getNSamples();
96 ,
const EventContext& ctx) {
100 NPhases = calibOFC->getCalibDrawer(drawerIdx)->getNPhases();
101 NFields = calibOFC->getCalibDrawer(drawerIdx)->getNFields();
102 Phamin = round(calibOFC->getCalibDrawer(drawerIdx)->getPhase(0, 0, 0) * (1 /
PHASE_PRECISION));
103 Phamax = round(calibOFC->getCalibDrawer(drawerIdx)->getPhase(0, 0, abs(NPhases) - 1) * (1 /
PHASE_PRECISION));
104 NSamples = calibOFC->getCalibDrawer(drawerIdx)->getNSamples();
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
#define PHASE_PRECISION
Class for storing Optimal Filtering Coefficients (OFCs) in a coral::Blob.