ROOT
Version master
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
▼
roofit
►
batchcompute
►
codegen
►
doc
►
histfactory
►
hs3
►
jsoninterface
►
multiprocess
▼
roofit
doc
▼
inc
Roo2DKeysPdf.h
RooArgusBG.h
RooBCPEffDecay.h
RooBCPGenDecay.h
RooBDecay.h
RooBernstein.h
RooBifurGauss.h
RooBlindTools.h
RooBMixDecay.h
RooBreitWigner.h
RooBukinPdf.h
RooCBShape.h
►
RooCFunction1Binding.h
►
RooCFunction2Binding.h
►
RooCFunction3Binding.h
►
RooCFunction4Binding.h
RooChebychev.h
RooChi2MCSModule.h
RooChiSquarePdf.h
RooCrystalBall.h
RooDecay.h
RooDstD0BG.h
RooExponential.h
►
RooFunctor1DBinding.h
►
RooFunctorBinding.h
RooGamma.h
RooGaussian.h
RooGaussModel.h
RooGExpModel.h
RooHistConstraint.h
►
RooIntegralMorph.h
►
RooJeffreysPrior.h
RooJohnson.h
RooKeysPdf.h
►
RooLagrangianMorphFunc.h
RooLandau.h
RooLegacyExpPoly.h
RooLognormal.h
RooMathCoreReg.h
►
RooMomentMorph.h
►
RooMomentMorphFunc.h
►
RooMomentMorphFuncND.h
RooMultiBinomial.h
►
RooNDKeysPdf.h
RooNonCPEigenDecay.h
RooNovosibirsk.h
RooParametricStepFunction.h
RooParamHistFunc.h
RooPoisson.h
RooPolynomial.h
RooPowerSum.h
►
RooPyBind.h
RooSpline.h
RooStepFunction.h
►
RooTFnBinding.h
►
RooTFnPdfBinding.h
RooTMathReg.h
RooUnblindCPAsymVar.h
RooUnblindOffset.h
RooUnblindPrecision.h
RooUnblindUniform.h
RooUniform.h
RooVoigtian.h
►
src
►
roofitcore
►
roofitmore
►
roofitZMQ
►
roostats
►
xroofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
RooUniform.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitModels *
4
* File: $Id$
5
* Authors: *
6
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8
* *
9
* Copyright (c) 2000-2005, Regents of the University of California *
10
* and Stanford University. All rights reserved. *
11
* *
12
* Redistribution and use in source and binary forms, *
13
* with or without modification, are permitted according to the terms *
14
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15
*****************************************************************************/
16
#ifndef ROO_UNIFORM
17
#define ROO_UNIFORM
18
19
#include "
RooAbsPdf.h
"
20
#include "
RooListProxy.h
"
21
22
class
RooRealVar
;
23
24
class
RooUniform
:
public
RooAbsPdf
{
25
public
:
26
RooUniform
() {} ;
27
RooUniform
(
const
char
*
name
,
const
char
*title,
const
RooArgSet
& _x);
28
RooUniform
(
const
RooUniform
&
other
,
const
char
*
name
=
nullptr
) ;
29
TObject
*
clone
(
const
char
*
newname
)
const override
{
return
new
RooUniform
(*
this
,
newname
); }
30
31
Int_t
getAnalyticalIntegral
(
RooArgSet
& allVars,
RooArgSet
&
analVars
,
const
char
* rangeName=
nullptr
)
const override
;
32
double
analyticalIntegral
(
Int_t
code,
const
char
* rangeName=
nullptr
)
const override
;
33
34
Int_t
getGenerator
(
const
RooArgSet
&
directVars
,
RooArgSet
&
generateVars
,
bool
staticInitOK
=
true
)
const override
;
35
void
generateEvent
(
Int_t
code)
override
;
36
37
protected
:
38
39
RooListProxy
x
;
40
41
double
evaluate
()
const override
;
42
43
44
private
:
45
46
ClassDefOverride
(
RooUniform
,1)
// Flat PDF in N dimensions
47
};
48
49
#endif
RooAbsPdf.h
RooListProxy.h
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
name
char name[80]
Definition
TGX11.cxx:110
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
RooAbsPdf
Abstract interface for all probability density functions.
Definition
RooAbsPdf.h:40
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition
RooArgSet.h:24
RooCollectionProxy< RooArgList >
RooRealVar
Variable that can be changed from the outside.
Definition
RooRealVar.h:37
RooUniform
Flat p.d.f.
Definition
RooUniform.h:24
RooUniform::getAnalyticalIntegral
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Advertise analytical integral.
Definition
RooUniform.cxx:55
RooUniform::evaluate
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition
RooUniform.cxx:47
RooUniform::analyticalIntegral
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implement analytical integral.
Definition
RooUniform.cxx:78
RooUniform::clone
TObject * clone(const char *newname) const override
Definition
RooUniform.h:29
RooUniform::RooUniform
RooUniform()
Definition
RooUniform.h:26
RooUniform::x
RooListProxy x
Definition
RooUniform.h:39
RooUniform::getGenerator
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const override
Advertise internal generator.
Definition
RooUniform.cxx:93
RooUniform::generateEvent
void generateEvent(Int_t code) override
Implement internal generator.
Definition
RooUniform.cxx:116
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
roofit
roofit
inc
RooUniform.h
ROOT master - Reference Guide Generated on Wed Feb 12 2025 04:28:07 (GVA Time) using Doxygen 1.10.0