11#include <framework/database/DBObjPtr.h>
12#include <reconstruction/dbobjects/CDCDedxMeanPars.h>
36 B2WARNING(
"No dE/dx mean parameters!");
37 std::vector<double> meanpar;
38 for (
int i = 0; i < 15; ++i)
39 meanpar.push_back(1.0);
53 double meanCurve(
double* x,
double* par,
int version)
const;
Class to hold the prediction of mean as a function of beta-gamma (bg)
std::vector< double > getMeanVector() const
Return the mean vector from payload.
double meanCurve(double *x, double *par, int version) const
beta-gamma (bg) curve function
const DBObjPtr< CDCDedxMeanPars > m_DBMeanPars
db object for dE/dx mean parameters
std::vector< double > m_meanpars
dE/dx mean parameters
double getMean(double bg)
Return the predicted mean value as a function of beta-gamma (bg)
Class for accessing objects in the database.
Abstract base class for different kinds of events.