CMS 3D CMS Logo

Functions
ConstantStepOdeSolver.cc File Reference
#include <cassert>
#include "CalibCalorimetry/HcalAlgos/interface/ConstantStepOdeSolver.h"

Go to the source code of this file.

Functions

static double interpolateLinear (const double x, const double f0, const double f1)
 

Function Documentation

◆ interpolateLinear()

static double interpolateLinear ( const double  x,
const double  f0,
const double  f1 
)
inlinestatic

Definition at line 5 of file ConstantStepOdeSolver.cc.

5  {
6  return f0 * (1.0 - x) + f1 * x;
7 }

References DeadROC_duringRun::f1, and genVertex_cff::x.

Referenced by ConstantStepOdeSolver::interpolateCoordinate(), and ConstantStepOdeSolver::interpolateIntegrated().

genVertex_cff.x
x
Definition: genVertex_cff.py:12
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219