CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
LikelihoodFunctional.hh
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: LikelihoodFunctional.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3//-------------------------------------------------------------//
4// //
5// This functional returns the Likelihood of a functoin //
6// given some data //
7// //
8//-------------------------------------------------------------//
9#ifndef _LikelihoodFunctional_h_
10#define _LikelihoodFunctional_h_
11#include "CLHEP/GenericFunctions/AbsFunctional.hh"
12#include "CLHEP/GenericFunctions/ArgumentList.hh"
13
14namespace Genfun {
15
16 /**
17 * @author
18 * @ingroup genfun
19 */
21
22 public:
23
24 // Constructor:
26
27 // Destructor:
29
30 // Evaluate ChiSquared of a function w.r.t the data.
31 virtual double operator [] (const AbsFunction & function) const;
32
33 private:
34
35 const ArgumentList _aList;
36
37 };
38} // namespace Genfun
39#endif
virtual double operator[](const AbsFunction &function) const
Definition: Abs.hh:14
std::vector< Argument > ArgumentList
Definition: ArgumentList.hh:7