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
14
namespace
Genfun
{
15
16
/**
17
* @author
18
* @ingroup genfun
19
*/
20
class
LikelihoodFunctional
:
public
AbsFunctional
{
21
22
public
:
23
24
// Constructor:
25
LikelihoodFunctional
(
const
ArgumentList
& aList);
26
27
// Destructor:
28
~LikelihoodFunctional
();
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
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::AbsFunctional
Definition:
AbsFunctional.hh:16
Genfun::LikelihoodFunctional
Definition:
LikelihoodFunctional.hh:20
Genfun::LikelihoodFunctional::~LikelihoodFunctional
~LikelihoodFunctional()
Definition:
LikelihoodFunctional.cc:17
Genfun::LikelihoodFunctional::operator[]
virtual double operator[](const AbsFunction &function) const
Definition:
LikelihoodFunctional.cc:20
Genfun
Definition:
Abs.hh:14
Genfun::ArgumentList
std::vector< Argument > ArgumentList
Definition:
ArgumentList.hh:7
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
LikelihoodFunctional.hh
Generated by
1.9.6