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 ROOABSSELFCACHEDREAL
#define ROOABSSELFCACHEDREAL

#include "RooAbsCachedReal.h"
#include "RooRealProxy.h"
#include "RooAbsReal.h"
#include "RooHistPdf.h"
#include <list>
 
class RooAbsSelfCachedReal : public RooAbsCachedReal {
public:

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

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(FuncCacheElem& cache) const ;  

private:

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