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

EfficiencyFunctional.hh

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id:
00003 //-------------------------------------------------------------//
00004 //                                                             //
00005 // This functional returns the Likelihood of a functoin        //
00006 // given some data                                             //
00007 //                                                             //
00008 //-------------------------------------------------------------//
00009 #ifndef _EfficiencyFunctional_h_
00010 #define _EfficiencyFunctional_h_
00011 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
00012 #include "CLHEP/GenericFunctions/ArgumentList.hh"
00013 
00014 namespace Genfun {
00015 
00020   class EfficiencyFunctional:public AbsFunctional {
00021 
00022   public:
00023   
00024     // Constructor:
00025     EfficiencyFunctional(const ArgumentList & aList);
00026 
00027     // Destructor:
00028     ~EfficiencyFunctional();
00029 
00030     // Evaluate ChiSquared of a function w.r.t the data.
00031     virtual double operator [] (const AbsFunction & function) const;
00032 
00033   private:
00034 
00035     const ArgumentList _aList;
00036 
00037   };
00038 } // namespace Genfun
00039 #endif

Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7