Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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=nullptr) : RooNumRunningInt{other, name} {}
21 TObject* clone(const char* newname) const override { return new RooNumCdf(*this,newname); }
22
23protected:
24
25 void fillCacheObject(FuncCacheElem& cacheFunc) const override ;
26
27private:
28
29 ClassDefOverride(RooNumCdf,1) // Numeric calculator for CDF for a given PDF
30
31};
32
33#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
Implementation of RooNumRunningInt that calculates cumulative distribution functions from p....
Definition RooNumCdf.h:17
void fillCacheObject(FuncCacheElem &cacheFunc) const override
Fill cache using running integral cache elements calculate() method with specification of cdf-specifi...
Definition RooNumCdf.cxx:53
TObject * clone(const char *newname) const override
Definition RooNumCdf.h:21
RooNumCdf(const RooNumCdf &other, const char *name=nullptr)
Definition RooNumCdf.h:20
Implementation of RooAbsCachedReal that represents a running integral.
const char * binningName() const override
Variable that can be changed from the outside.
Definition RooRealVar.h:37
Mother of all ROOT objects.
Definition TObject.h:41