00001 // @(#)root/foam:$Id: TFoamIntegrand.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: S. Jadach <mailto:Stanislaw.jadach@ifj.edu.pl>, P.Sawicki <mailto:Pawel.Sawicki@ifj.edu.pl> 00003 00004 #ifndef ROOT_TFoamIntegrand 00005 #define ROOT_TFoamIntegrand 00006 00007 //_________________________________________ 00008 // Class TFoamIntegrand 00009 // ===================== 00010 // Abstract class representing n-dimensional real positive integrand function 00011 00012 #ifndef ROOT_TObject 00013 #include "TObject.h" 00014 #endif 00015 00016 class TFoamIntegrand : public TObject { 00017 public: 00018 TFoamIntegrand() { }; 00019 virtual ~TFoamIntegrand() { }; 00020 virtual Double_t Density(Int_t ndim, Double_t *) = 0; 00021 00022 ClassDef(TFoamIntegrand,1); //n-dimensional real positive integrand of FOAM 00023 }; 00024 00025 #endif