5#ifndef CscBipolarStripFitter_H
6#define CscBipolarStripFitter_H
19#include "GaudiKernel/ToolHandle.h"
57 static double FindInitValues(
double *
x,
double *initValues,
int *maxsample) ;
59 static void InvertMatrix(
double matrix[][3],
const int dim,
const int *) ;
61 void Derivative(
double A[][3],
double fp[][1],
double p0[][1],
int imeas,
const int *meas)
const;
62 int TheFitter(
double *
x,
const double ex,
const double *initValues,
int imeas,
int *meas,
int ipar,
int *par,
double *
chi2,
CscBipolarStripFitter(const std::string &, const std::string &, const IInterface *)
~CscBipolarStripFitter()=default
Result fit(const ChargeList &charges, double samplingTime, Identifier &stripId) const
void Derivative(double A[][3], double fp[][1], double p0[][1], int imeas, const int *meas) const
double m_bipolarNormalization
static void InvertMatrix(double matrix[][3], const int dim, const int *)
double FindPow(double z) const
int TheFitter(double *x, const double ex, const double *initValues, int imeas, int *meas, int ipar, int *par, double *chi2, double *result) const
ToolHandle< ICscCalibTool > m_cscCalibTool
const CscIdHelper * m_phelper
StatusCode initialize() override
static void InvertSymmetric4x4(double W[][4])
static double FindInitValues(double *x, double *initValues, int *maxsample)
std::vector< float > ChargeList
virtual Result fit(const ChargeList &ChargeList, double samplingTime, bool samplingPhase, Identifier &sid) const
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
double chi2(TH1 *h0, TH1 *h1)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
hold the test vectors and ease the comparison