Logo ROOT   6.16/01
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
18public:
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
24protected:
25
26 virtual void fillCacheObject(FuncCacheElem& cacheFunc) const ;
27
28private:
29
30 ClassDef(RooNumCdf,1) // Numeric calculator for CDF for a given PDF
31
32};
33
34#endif
#define ClassDef(name, id)
Definition: Rtypes.h:324
friend class FuncCacheElem
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
Class RooNumCdf is an implementation of RooNumRunningInt specialized to calculate cumulative distribu...
Definition: RooNumCdf.h:17
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
virtual ~RooNumCdf()
Destructor.
Definition: RooNumCdf.cxx:69
virtual TObject * clone(const char *newname) const
Definition: RooNumCdf.h:21
virtual void fillCacheObject(FuncCacheElem &cacheFunc) const
Fill cache using running integral cache elements calculate() method with specification of cdf-specifi...
Definition: RooNumCdf.cxx:79
Class RooNumRunningInt is an implementation of RooAbsCachedReal that represents a running integral.
virtual const char * binningName() const
RooRealVar represents a fundamental (non-derived) real valued object.
Definition: RooRealVar.h:36
Mother of all ROOT objects.
Definition: TObject.h:37