ROOT
6.16/01
Reference Guide
documentation
doxygen
RooGenPdfPdf.cxx
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* *
4
* This code was autogenerated by RooClassFactory *
5
*****************************************************************************/
6
7
// Your description goes here...
8
9
#include "
Riostream.h
"
10
11
#include "
RooGenPdfPdf.h
"
12
#include "
RooAbsReal.h
"
13
#include "
RooAbsCategory.h
"
14
#include <math.h>
15
#include "
TMath.h
"
16
17
ClassImp
(
RooGenPdfPdf
);
18
19
RooGenPdfPdf::RooGenPdfPdf
(
const
char
*
name
,
const
char
*title,
20
RooAbsReal
& _x,
21
RooAbsReal
& _alpha) :
22
RooAbsPdf
(
name
,title),
23
x
(
"x"
,
"x"
,this,_x),
24
alpha(
"alpha"
,
"alpha"
,this,_alpha)
25
{
26
}
27
28
29
RooGenPdfPdf::RooGenPdfPdf
(
const
RooGenPdfPdf
& other,
const
char
*
name
) :
30
RooAbsPdf
(other,
name
),
31
x
(
"x"
,this,other.
x
),
32
alpha(
"alpha"
,this,other.alpha)
33
{
34
}
35
36
37
38
Double_t
RooGenPdfPdf::evaluate
()
const
39
{
40
// ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
41
return
(1+0.1*
fabs
(
x
)+
sin
(
sqrt
(
fabs
(
x
*
alpha
+0.1)))) ;
42
}
43
44
45
Riostream.h
RooAbsCategory.h
RooAbsReal.h
RooGenPdfPdf.h
Double_t
double Double_t
Definition:
RtypesCore.h:55
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:363
TMath.h
sqrt
double sqrt(double)
sin
double sin(double)
RooAbsPdf
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition:
RooAbsPdf.h:41
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition:
RooAbsReal.h:53
RooGenPdfPdf
Definition:
RooGenPdfPdf.h:16
RooGenPdfPdf::evaluate
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition:
RooGenPdfPdf.cxx:38
RooGenPdfPdf::RooGenPdfPdf
RooGenPdfPdf()
Definition:
RooGenPdfPdf.h:18
RooGenPdfPdf::x
RooRealProxy x
Definition:
RooGenPdfPdf.h:28
RooGenPdfPdf::alpha
RooRealProxy alpha
Definition:
RooGenPdfPdf.h:29
x
Double_t x[n]
Definition:
legend1.C:17
ROOT::Math::fabs
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)
Definition:
UnaryOperators.h:131
RegressionKeras.name
name
Definition:
RegressionKeras.py:29