#include "RecoTracker/DeDx/interface/UnbinnedLikelihoodFit.h"
#include <TMath.h>
Go to the source code of this file.
Functions | |
void | UnbinnedLL (Int_t &, Double_t *, Double_t &val, Double_t *par, Int_t) |
void UnbinnedLL | ( | Int_t & | , |
Double_t * | , | ||
Double_t & | val, | ||
Double_t * | par, | ||
Int_t | |||
) |
Definition at line 22 of file UnbinnedLikelihoodFit.cc.
{ // retrieve the data object (it's also the fitter) // - sign to have a minimum // factor 2 to have the right errors (see for example the pdg) val = -2*((dynamic_cast<const UnbinnedLikelihoodFit*>((TVirtualFitter::GetFitter())->GetObjectFit()))->logL(par)); }