RooAbsSelfCachedReal.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  *                                                                           *
00004  * Copyright (c) 2000-2005, Regents of the University of California          *
00005  *                          and Stanford University. All rights reserved.    *
00006  *                                                                           *
00007  * Redistribution and use in source and binary forms,                        *
00008  * with or without modification, are permitted according to the terms        *
00009  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00010  *****************************************************************************/
00011 
00012 #ifndef ROOABSSELFCACHEDREAL
00013 #define ROOABSSELFCACHEDREAL
00014 
00015 #include "RooAbsCachedReal.h"
00016 #include "RooRealProxy.h"
00017 #include "RooAbsReal.h"
00018 #include "RooHistPdf.h"
00019 #include <list>
00020  
00021 class RooAbsSelfCachedReal : public RooAbsCachedReal {
00022 public:
00023 
00024   RooAbsSelfCachedReal() {} ;
00025   RooAbsSelfCachedReal(const char *name, const char *title, Int_t ipOrder=0);
00026   RooAbsSelfCachedReal(const RooAbsSelfCachedReal& other, const char* name=0) ;
00027   virtual ~RooAbsSelfCachedReal() ;
00028 
00029 protected:
00030 
00031   virtual const char* inputBaseName() const { 
00032     // Use own name as base name for caches
00033     return GetName() ; 
00034   }
00035   virtual RooArgSet* actualObservables(const RooArgSet& nset) const ;
00036   virtual RooArgSet* actualParameters(const RooArgSet& nset) const ;
00037   virtual void fillCacheObject(FuncCacheElem& cache) const ;  
00038 
00039 private:
00040 
00041   ClassDef(RooAbsSelfCachedReal,0) // Abstract base class for self-caching functions
00042 };
00043  
00044 #endif

Generated on Tue Jul 5 14:26:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1