MaCh3 2.2.1
Reference Guide
Loading...
Searching...
No Matches
LikelihoodFit.h
Go to the documentation of this file.
1#pragma once
2
4
6class LikelihoodFit : public FitterBase {
7 public:
11 virtual ~LikelihoodFit();
12
14 virtual double CalcChi2(const double* x);
16 inline int GetNPars(){return NPars;};
17
19 virtual void RunMCMC() = 0;
20
22 virtual inline std::string GetName()const {return "LikelihoodFit";};
23 protected:
25 void PrepareFit();
26
28 int NPars;
33};
34
Base class for implementing fitting algorithms.
Definition: FitterBase.h:23
manager * fitMan
The manager.
Definition: FitterBase.h:92
Implementation of base Likelihood Fit class, it is mostly responsible for likelihood calculation whil...
Definition: LikelihoodFit.h:6
int NParsPCA
Number of all parameters from all covariances in PCA base.
Definition: LikelihoodFit.h:30
int GetNPars()
Get total number of params, this sums over all covariance objects.
Definition: LikelihoodFit.h:16
virtual ~LikelihoodFit()
Destructor.
int NPars
Number of all parameters from all covariances.
Definition: LikelihoodFit.h:28
void PrepareFit()
prepare output and perform sanity checks
bool fMirroring
Flag telling if mirroring is used or not.
Definition: LikelihoodFit.h:32
virtual double CalcChi2(const double *x)
Chi2 calculation over all included samples and syst objects.
virtual void RunMCMC()=0
Implementation of fitting algorithm.
virtual std::string GetName() const
Get name of class.
Definition: LikelihoodFit.h:22
The manager class is responsible for managing configurations and settings.
Definition: Manager.h:16