#include <Fit.h>
Public Member Functions | |
Fit () | |
~Fit () | |
Static Public Member Functions | |
static void | calculateSimulatedMeasurementsWithOriginalValues () |
static void | dumpEntryAfterFit (ALIFileOut &fileout, const Entry *entry, double entryvalue, ALIbool printErrors=1, ALIbool printOrig=1) |
static void | dumpEntryCorrelations (ALIFileOut &file) |
static void | dumpFittedValues (ALIFileOut &fileout, ALIbool printErrors=1, ALIbool printOrig=1) |
static void | dumpFittedValuesInAllAncestorFrames (ALIFileOut &fileout, ALIbool printErrors=1, ALIbool printOrig=1) |
static void | dumpMatrices () |
static ALIint | findEntryFitPosition (const ALIstring &opto_name, const ALIstring &entry_name) |
static ALIbool | fitNextEvent (ALIuint &nEvent) |
static ALIMatrix * | GetAtWAMatrix () |
static Fit & | getInstance () |
static ALIint | noFitIterations () |
static void | printCentreInOptOFrame (const OpticalObject *opto, const OpticalObject *optoAncestor, ALIFileOut &fileout, ALIbool printErrors=1, ALIbool printOrig=1) |
static void | PrintChi2 (ALIdouble fit_quality, ALIbool isFirst) |
static void | printRotationAnglesInOptOFrame (const OpticalObject *opto, const OpticalObject *optoAncestor, ALIFileOut &fileout, ALIbool printErrors=1, ALIbool printOrig=1) |
static void | setFittableEntries () |
static void | startFit () |
Static Public Attributes | |
static ALIuint | nEvent = 1 |
Static Private Member Functions | |
static void | addDaMatrixToEntries () |
static void | CheckIfFitPossible () |
static int | CheckIfMeasIsProportionalToAnother (ALIuint measNo) |
static void | CreateMatrices () |
static void | deleteMatrices () |
static void | evaluateFitQuality (const FitQuality fq, const double daFactor) |
static void | FillMatricesWithCalibratedParameters () |
static void | FillMatricesWithMeasurements () |
static FitQuality | fitParameters (const double daFactor) |
static double | getEntryValue (const Entry *entry) |
static FitQuality | getFitQuality (const ALIbool canBeGood=TRUE) |
static std::string | GetMeasurementName (int meas) |
static ALIdouble | GetSChi2 (ALIbool useDa) |
static void | multiplyMatrices () |
static void | PropagateErrors () |
static void | redoMatrices () |
static void | setCorrelationFromParamFitted (const pss &entry1, const pss &entry2, ALIdouble correl) |
static void | setCorrelationFromParamFitted (const ALIint fit_pos1, const ALIint fit_pos2, ALIdouble correl) |
static void | setCorrelationsInWMatrix () |
static void | substractLastDisplacementToEntries (const ALIdouble factor) |
static void | WriteVisualisationFiles () |
Static Private Attributes | |
static ALIint | _NoColumnsA |
static ALIint | _NoLinesA |
static ALIMatrix * | AMatrix |
static ALIMatrix * | AtMatrix |
static ALIMatrix * | AtWAMatrix |
static ALIMatrix * | DaMatrix |
static Fit * | instance = 0 |
static ALIint | MaxNoFitIterations = -1 |
static ALIdouble | theFitQualityCut = -1 |
static ALIdouble | theMinDaFactor = 1.e-8 |
static ALIint | theMinimumEntryQuality |
static ALIint | theNoFitIterations |
static ALIdouble | thePreviousIterationFitQuality = DBL_MAX |
static ALIdouble | theRelativeFitQualityCut = -1 |
static ALIMatrix * | WMatrix |
static ALIMatrix * | yfMatrix |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
staticprivate |
|
staticprivate |