Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:34

0001 // -*- C++ -*-
0002 // $Id:
0003 //-------------------------------------------------------------//
0004 //                                                             //
0005 // This functional returns the Likelihood of a functoin        //
0006 // given some data                                             //
0007 //                                                             //
0008 //-------------------------------------------------------------//
0009 #ifndef _EfficiencyFunctional_h_
0010 #define _EfficiencyFunctional_h_
0011 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
0012 #include "CLHEP/GenericFunctions/ArgumentList.hh"
0013 
0014 namespace Genfun {
0015 
0016   /**
0017    * @author
0018    * @ingroup genfun
0019    */
0020   class EfficiencyFunctional:public AbsFunctional {
0021 
0022   public:
0023   
0024     // Constructor:
0025     EfficiencyFunctional(const ArgumentList & aList);
0026 
0027     // Destructor:
0028     ~EfficiencyFunctional();
0029 
0030     // Evaluate ChiSquared of a function w.r.t the data.
0031     virtual double operator [] (const AbsFunction & function) const;
0032 
0033   private:
0034 
0035     const ArgumentList _aList;
0036 
0037   };
0038 } // namespace Genfun
0039 #endif