30 #ifndef _PFITTERFCN_H_ 31 #define _PFITTERFCN_H_ 35 #include "Minuit2/FCNBase.h" 48 Double_t
Up()
const {
return fUp; }
49 Double_t
operator()(
const std::vector<Double_t> &par)
const;
53 void CalcExpectedChiSquare(
const std::vector<Double_t> &par, Double_t &totalExpectedChisq, std::vector<Double_t> &expectedChisqPerRun);
61 #endif // _PFITTERFCN_H_
virtual UInt_t GetNoOfBinsFitted(const UInt_t idx) const
UInt_t GetNoOfFittedBins(const UInt_t idx)
PFitterFcn(PRunListCollection *runList, Bool_t useChi2)
virtual UInt_t GetTotalNoOfBinsFitted() const
Double_t operator()(const std::vector< Double_t > &par) const
void CalcExpectedChiSquare(const std::vector< Double_t > &par, Double_t &totalExpectedChisq, std::vector< Double_t > &expectedChisqPerRun)
UInt_t GetTotalNoOfFittedBins()
Bool_t fUseChi2
true = chisq fit, false = log max-likelihood fit
PRunListCollection * fRunListCollection
pre-processed data to be fitted
Double_t fUp
for chisq == 1.0, i.e. errors are 1 std. deviation errors. for log max-likelihood == 0...