ROOT logo
/*****************************************************************************
 * Project: RooFit                                                           *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/

#ifndef ROOABSSELFCACHEDPDF
#define ROOABSSELFCACHEDPDF

#include "RooAbsCachedPdf.h"
#include "RooRealProxy.h"
#include "RooAbsReal.h"
#include "RooHistPdf.h"
#include <list>
 
class RooAbsSelfCachedPdf : public RooAbsCachedPdf {
public:

  RooAbsSelfCachedPdf() {} ;
  RooAbsSelfCachedPdf(const char *name, const char *title, Int_t ipOrder=0);
  RooAbsSelfCachedPdf(const RooAbsSelfCachedPdf& other, const char* name=0) ;
  virtual ~RooAbsSelfCachedPdf() ;

protected:

  virtual const char* inputBaseName() const { 
    // Use own name as base name for caches
    return GetName() ; 
  }
  virtual RooArgSet* actualObservables(const RooArgSet& nset) const ;
  virtual RooArgSet* actualParameters(const RooArgSet& nset) const ;
  virtual void fillCacheObject(PdfCacheElem& cache) const ;  

private:

  ClassDef(RooAbsSelfCachedPdf,0) // Abstract base class for self-caching p.d.f.s
};
 
#endif
 RooAbsSelfCachedPdf.h:1
 RooAbsSelfCachedPdf.h:2
 RooAbsSelfCachedPdf.h:3
 RooAbsSelfCachedPdf.h:4
 RooAbsSelfCachedPdf.h:5
 RooAbsSelfCachedPdf.h:6
 RooAbsSelfCachedPdf.h:7
 RooAbsSelfCachedPdf.h:8
 RooAbsSelfCachedPdf.h:9
 RooAbsSelfCachedPdf.h:10
 RooAbsSelfCachedPdf.h:11
 RooAbsSelfCachedPdf.h:12
 RooAbsSelfCachedPdf.h:13
 RooAbsSelfCachedPdf.h:14
 RooAbsSelfCachedPdf.h:15
 RooAbsSelfCachedPdf.h:16
 RooAbsSelfCachedPdf.h:17
 RooAbsSelfCachedPdf.h:18
 RooAbsSelfCachedPdf.h:19
 RooAbsSelfCachedPdf.h:20
 RooAbsSelfCachedPdf.h:21
 RooAbsSelfCachedPdf.h:22
 RooAbsSelfCachedPdf.h:23
 RooAbsSelfCachedPdf.h:24
 RooAbsSelfCachedPdf.h:25
 RooAbsSelfCachedPdf.h:26
 RooAbsSelfCachedPdf.h:27
 RooAbsSelfCachedPdf.h:28
 RooAbsSelfCachedPdf.h:29
 RooAbsSelfCachedPdf.h:30
 RooAbsSelfCachedPdf.h:31
 RooAbsSelfCachedPdf.h:32
 RooAbsSelfCachedPdf.h:33
 RooAbsSelfCachedPdf.h:34
 RooAbsSelfCachedPdf.h:35
 RooAbsSelfCachedPdf.h:36
 RooAbsSelfCachedPdf.h:37
 RooAbsSelfCachedPdf.h:38
 RooAbsSelfCachedPdf.h:39
 RooAbsSelfCachedPdf.h:40
 RooAbsSelfCachedPdf.h:41
 RooAbsSelfCachedPdf.h:42
 RooAbsSelfCachedPdf.h:43
 RooAbsSelfCachedPdf.h:44