#ifndef ROO_REAL_SUM_PDF
#define ROO_REAL_SUM_PDF
#include "RooAbsPdf.h"
#include "RooListProxy.h"
#include "RooAICRegistry.h"
class RooRealSumPdf : public RooAbsPdf {
public:
  RooRealSumPdf(const char *name, const char *title);
  RooRealSumPdf(const char *name, const char *title,
		   RooAbsReal& func1, RooAbsReal& func2, RooAbsReal& coef1) ;
  RooRealSumPdf(const char *name, const char *title, const RooArgList& funcList, const RooArgList& coefList) ;
  RooRealSumPdf(const RooRealSumPdf& other, const char* name=0) ;
  virtual TObject* clone(const char* newname) const { return new RooRealSumPdf(*this,newname) ; }
  virtual ~RooRealSumPdf() ;
  Double_t evaluate() const ;
  virtual Bool_t checkObservables(const RooArgSet* nset) const ;	
  virtual Bool_t forceAnalyticalInt(const RooAbsArg&) const { return kTRUE ; }
  Int_t getAnalyticalIntegralWN(RooArgSet& allVars, RooArgSet& numVars, const RooArgSet* normSet, const char* rangeName=0) const ;
  Double_t analyticalIntegralWN(Int_t code, const RooArgSet* normSet, const char* rangeName=0) const ;
  const RooArgList& funcList() const { return _funcList ; }
  const RooArgList& coefList() const { return _coefList ; }
protected:
  
  mutable RooAICRegistry _codeReg ;  
  void syncFuncIntList(const RooArgSet* intSet) const ;
  void syncFuncNormList(const RooArgSet* normSet) const ;
  mutable RooArgSet* _lastFuncIntSet ;
  mutable RooArgSet* _lastFuncNormSet ;
  mutable RooArgList* _funcIntList ;  
  mutable RooArgList* _funcNormList ; 
  Bool_t _haveLastCoef ;
  RooListProxy _funcList ;   
  RooListProxy _coefList ;  
  TIterator* _funcIter ;     
  TIterator* _coefIter ;    
  
private:
  ClassDef(RooRealSumPdf,1) 
};
#endif
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.