Logo ROOT  
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 TObject* clone(const char* newname) const override { return new RooNumCdf(*this,newname); }
22 ~RooNumCdf() override ;
23
24protected:
25
26 void fillCacheObject(FuncCacheElem& cacheFunc) const override ;
27
28private:
29
30 ClassDefOverride(RooNumCdf,1) // Numeric calculator for CDF for a given PDF
31
32};
33
34#endif
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
char name[80]
Definition: TGX11.cxx:110
friend class FuncCacheElem
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
~RooNumCdf() override
Destructor.
Definition: RooNumCdf.cxx:69
void fillCacheObject(FuncCacheElem &cacheFunc) const override
Fill cache using running integral cache elements calculate() method with specification of cdf-specifi...
Definition: RooNumCdf.cxx:79
TObject * clone(const char *newname) const override
Definition: RooNumCdf.h:21
Class RooNumRunningInt is an implementation of RooAbsCachedReal that represents a running integral.
const char * binningName() const override
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:40
Mother of all ROOT objects.
Definition: TObject.h:37