ROOT
6.16/01
Reference Guide
documentation
doxygen
MyPdfV1.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 "
MyPdfV1.h
"
12
#include "
RooAbsReal.h
"
13
#include "
RooAbsCategory.h
"
14
#include <math.h>
15
#include "
TMath.h
"
16
17
ClassImp
(
MyPdfV1
);
18
19
MyPdfV1::MyPdfV1
(
const
char
*
name
,
const
char
*title,
20
RooAbsReal
& _x,
21
RooAbsReal
& _A,
22
RooAbsReal
& _B) :
23
RooAbsPdf
(
name
,title),
24
x
(
"x"
,
"x"
,this,_x),
25
A
(
"A"
,
"A"
,this,_A),
26
B
(
"B"
,
"B"
,this,_B)
27
{
28
}
29
30
31
MyPdfV1::MyPdfV1
(
const
MyPdfV1
& other,
const
char
*
name
) :
32
RooAbsPdf
(other,
name
),
33
x
(
"x"
,this,other.
x
),
34
A
(
"A"
,this,other.
A
),
35
B
(
"B"
,this,other.
B
)
36
{
37
}
38
39
40
41
Double_t
MyPdfV1::evaluate
()
const
42
{
43
// ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
44
return
1.0 ;
45
}
46
47
48
MyPdfV1.h
Riostream.h
RooAbsCategory.h
RooAbsReal.h
Double_t
double Double_t
Definition:
RtypesCore.h:55
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:363
TMath.h
MyPdfV1
Definition:
MyPdfV1.h:16
MyPdfV1::MyPdfV1
MyPdfV1()
Definition:
MyPdfV1.h:18
MyPdfV1::evaluate
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition:
MyPdfV1.cxx:41
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
x
Double_t x[n]
Definition:
legend1.C:17
ROOT::Math::Cephes::B
static double B[]
Definition:
SpecFuncCephes.cxx:178
ROOT::Math::Cephes::A
static double A[]
Definition:
SpecFuncCephes.cxx:170
RegressionKeras.name
name
Definition:
RegressionKeras.py:29