CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

GenericFunctions/EfficiencyFunctional.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id:
3 //-------------------------------------------------------------//
4 // //
5 // This functional returns the Likelihood of a functoin //
6 // given some data //
7 // //
8 //-------------------------------------------------------------//
9 #ifndef _EfficiencyFunctional_h_
10 #define _EfficiencyFunctional_h_
13 
14 namespace Genfun {
15 
20  class EfficiencyFunctional:public AbsFunctional {
21 
22  public:
23 
24  // Constructor:
25  EfficiencyFunctional(const ArgumentList & aList);
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
EfficiencyFunctional(const ArgumentList &aList)
virtual double operator[](const AbsFunction &function) const
std::vector< Argument > ArgumentList