ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
roofit
roofit
inc
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
=0) ;
29
virtual
TObject
*
clone
(
const
char
* newname)
const
{
return
new
RooUniform
(*
this
,newname); }
30
inline
virtual
~RooUniform
() { }
31
32
Int_t
getAnalyticalIntegral
(
RooArgSet
& allVars,
RooArgSet
& analVars,
const
char
* rangeName=0)
const
;
33
Double_t
analyticalIntegral
(
Int_t
code,
const
char
* rangeName=0)
const
;
34
35
Int_t
getGenerator
(
const
RooArgSet
& directVars,
RooArgSet
&generateVars,
Bool_t
staticInitOK=
kTRUE
)
const
;
36
void
generateEvent
(
Int_t
code);
37
38
protected
:
39
40
RooListProxy
x
;
41
42
Double_t
evaluate
()
const
;
43
44
private
:
45
46
ClassDef
(
RooUniform
,1)
// Flat PDF in N dimensions
47
};
48
49
#endif
RooUniform::generateEvent
void generateEvent(Int_t code)
Implement internal generator.
Definition:
RooUniform.cxx:142
RooArgSet
Definition:
RooArgSet.h:26
RooUniform::clone
virtual TObject * clone(const char *newname) const
Definition:
RooUniform.h:29
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
RooListProxy.h
RooUniform::~RooUniform
virtual ~RooUniform()
Definition:
RooUniform.h:30
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
RooUniform::analyticalIntegral
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implement analytical integral.
Definition:
RooUniform.cxx:98
RooUniform::RooUniform
RooUniform()
Definition:
RooUniform.h:26
RooUniform::getAnalyticalIntegral
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Advertise analytical integral.
Definition:
RooUniform.cxx:73
RooAbsPdf.h
RooUniform::getGenerator
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
Advertise internal generator.
Definition:
RooUniform.cxx:116
RooRealVar
Definition:
RooRealVar.h:37
RooUniform::x
RooListProxy x
Definition:
RooUniform.h:40
RooUniform
Definition:
RooUniform.h:24
RooListProxy
Definition:
RooListProxy.h:26
Double_t
double Double_t
Definition:
RtypesCore.h:55
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TObject
Mother of all ROOT objects.
Definition:
TObject.h:58
RooAbsPdf
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition:
RooAbsPdf.h:41
RooUniform::evaluate
Double_t evaluate() const
Definition:
RooUniform.cxx:63
kTRUE
const Bool_t kTRUE
Definition:
Rtypes.h:91