Logo ROOT   master
Reference Guide
RooNumCdf.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * Copyright (c) 2000-2005, Regents of the University of California *
5  * and Stanford University. All rights reserved. *
6  * *
7  * Redistribution and use in source and binary forms, *
8  * with or without modification, are permitted according to the terms *
9  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
10  *****************************************************************************/
11 
12 #ifndef ROONUMCDF
13 #define ROONUMCDF
14 
15 #include "RooNumRunningInt.h"
16 
17 class RooNumCdf : public RooNumRunningInt {
18 public:
19  RooNumCdf(const char *name, const char *title, RooAbsPdf& _pdf, RooRealVar& _x, const char* binningName="cache");
20  RooNumCdf(const RooNumCdf& other, const char* name=0) ;
21  virtual TObject* clone(const char* newname) const { return new RooNumCdf(*this,newname); }
22  virtual ~RooNumCdf() ;
23 
24 protected:
25 
26  virtual void fillCacheObject(FuncCacheElem& cacheFunc) const ;
27 
28 private:
29 
30  ClassDef(RooNumCdf,1) // Numeric calculator for CDF for a given PDF
31 
32 };
33 
34 #endif
Class RooNumCdf is an implementation of RooNumRunningInt specialized to calculate cumulative distribu...
Definition: RooNumCdf.h:17
Class RooNumRunningInt is an implementation of RooAbsCachedReal that represents a running integral t...
virtual const char * binningName() const
virtual TObject * clone(const char *newname) const
Definition: RooNumCdf.h:21
#define ClassDef(name, id)
Definition: Rtypes.h:322
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:35
virtual ~RooNumCdf()
Destructor.
Definition: RooNumCdf.cxx:69
virtual void fillCacheObject(FuncCacheElem &cacheFunc) const
Fill cache using running integral cache elements calculate() method with specification of cdf-specifi...
Definition: RooNumCdf.cxx:79
Mother of all ROOT objects.
Definition: TObject.h:37
RooAbsPdf, the base class of all PDFs
Definition: RooAbsPdf.h:40
RooNumCdf(const char *name, const char *title, RooAbsPdf &_pdf, RooRealVar &_x, const char *binningName="cache")
Construct a cumulative distribution function from given input p.d.f over observable x...
Definition: RooNumCdf.cxx:49
char name[80]
Definition: TGX11.cxx:109