#include "Riostream.h"
#include "RooAbsPdf.h"
#include "RooCachedPdf.h"
#include "RooAbsReal.h"
#include "RooMsgService.h"
#include "RooDataHist.h"
#include "RooHistPdf.h"
ClassImp(RooCachedPdf)
;
RooCachedPdf::RooCachedPdf(const char *name, const char *title, RooAbsPdf& _pdf) :
RooAbsCachedPdf(name,title),
pdf("pdf","pdf",this,_pdf)
{
}
RooCachedPdf::RooCachedPdf(const RooCachedPdf& other, const char* name) :
RooAbsCachedPdf(other,name),
pdf("pdf",this,other.pdf)
{
}
RooCachedPdf::~RooCachedPdf()
{
}
void RooCachedPdf::fillCacheObject(RooAbsCachedPdf::CacheElem& cache) const
{
cache._pdf->fillDataHist(cache._hist,1.0) ;
}
Int_t RooCachedPdf::getAnalyticalIntegral(RooArgSet& , RooArgSet& , const char* ) const
{
return 0 ;
}
Double_t RooCachedPdf::analyticalIntegral(Int_t , const char* ) const
{
return 0 ;
}
Int_t RooCachedPdf::getGenerator(const RooArgSet& , RooArgSet &, Bool_t ) const
{
return 0 ;
}
void RooCachedPdf::generateEvent(Int_t )
{
return;
}
Last update: Thu Jan 17 08:44:09 2008
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.