ROOT
6.14/05
Reference Guide
tutorials
roostats
NuMuToNuE_Oscillation.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 "
NuMuToNuE_Oscillation.h
"
12
#include "
RooAbsReal.h
"
13
#include "
RooAbsCategory.h
"
14
#include <math.h>
15
#include "
TMath.h
"
16
17
NuMuToNuE_Oscillation::NuMuToNuE_Oscillation
(
const
char
*
name
,
const
char
*title,
18
RooAbsReal
& _L,
19
RooAbsReal
& _E,
20
RooAbsReal
& _deltaMSq) :
21
RooAbsPdf
(name,title),
22
L
(
"L"
,
"L"
,this,_L),
23
E
(
"E"
,
"E"
,this,_E),
24
deltaMSq(
"deltaMSq"
,
"deltaMSq"
,this,_deltaMSq)
25
{
26
}
27
28
29
NuMuToNuE_Oscillation::NuMuToNuE_Oscillation
(
const
NuMuToNuE_Oscillation
& other,
const
char
*
name
) :
30
RooAbsPdf
(other,name),
31
L
(
"L"
,this,other.
L
),
32
E
(
"E"
,this,other.
E
),
33
deltaMSq
(
"deltaMSq"
,this,other.
deltaMSq
)
34
{
35
}
36
37
38
39
Double_t
NuMuToNuE_Oscillation::evaluate
()
const
40
{
41
// ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
42
return
pow
(
sin
(1.27*
deltaMSq
*
L
/
E
),2) ;
43
}
44
NuMuToNuE_Oscillation::L
RooRealProxy L
Definition:
NuMuToNuE_Oscillation.h:30
NuMuToNuE_Oscillation::NuMuToNuE_Oscillation
NuMuToNuE_Oscillation()
Definition:
NuMuToNuE_Oscillation.h:18
pow
double pow(double, double)
TGeoUnit::L
static constexpr double L
Definition:
TGeoSystemOfUnits.h:117
NuMuToNuE_Oscillation::evaluate
Double_t evaluate() const
Definition:
NuMuToNuE_Oscillation.cxx:39
sin
double sin(double)
RooAbsCategory.h
NuMuToNuE_Oscillation.h
NuMuToNuE_Oscillation
Definition:
NuMuToNuE_Oscillation.h:16
NuMuToNuE_Oscillation::E
RooRealProxy E
Definition:
NuMuToNuE_Oscillation.h:31
NuMuToNuE_Oscillation::deltaMSq
RooRealProxy deltaMSq
Definition:
NuMuToNuE_Oscillation.h:32
TMath::E
constexpr Double_t E()
Base of natural log: .
Definition:
TMath.h:97
Riostream.h
RooAbsReal.h
Double_t
double Double_t
Definition:
RtypesCore.h:55
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition:
RooAbsReal.h:53
RooAbsPdf
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition:
RooAbsPdf.h:41
TMath.h
name
char name[80]
Definition:
TGX11.cxx:109