CMS 3D CMS Logo

Functions
UnbinnedLikelihoodFit.cc File Reference
#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)
 

Function Documentation

◆ UnbinnedLL()

void UnbinnedLL ( Int_t &  ,
Double_t *  ,
Double_t &  val,
Double_t *  par,
Int_t   
)

Definition at line 22 of file UnbinnedLikelihoodFit.cc.

22  {
23  // retrieve the data object (it's also the fitter)
24  // - sign to have a minimum
25  // factor 2 to have the right errors (see for example the pdg)
26  val = -2 * ((dynamic_cast<const UnbinnedLikelihoodFit*>((TVirtualFitter::GetFitter())->GetObjectFit()))->logL(par));
27 }

References heppy_batch::val.

heppy_batch.val
val
Definition: heppy_batch.py:351