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 ROONUMCDF 00013 #define ROONUMCDF 00014 00015 #include "RooNumRunningInt.h" 00016 00017 class RooNumCdf : public RooNumRunningInt { 00018 public: 00019 RooNumCdf(const char *name, const char *title, RooAbsPdf& _pdf, RooRealVar& _x, const char* binningName="cache"); 00020 RooNumCdf(const RooNumCdf& other, const char* name=0) ; 00021 virtual TObject* clone(const char* newname) const { return new RooNumCdf(*this,newname); } 00022 virtual ~RooNumCdf() ; 00023 00024 protected: 00025 00026 virtual void fillCacheObject(FuncCacheElem& cacheFunc) const ; 00027 00028 private: 00029 00030 ClassDef(RooNumCdf,1) // Numeric calculator for CDF for a given PDF 00031 00032 }; 00033 00034 #endif