Logo ROOT   6.08/07
Reference Guide
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 // ClassImp(NuMuToNuE_Oscillation)
18 
19  NuMuToNuE_Oscillation::NuMuToNuE_Oscillation(const char *name, const char *title,
20  RooAbsReal& _L,
21  RooAbsReal& _E,
22  RooAbsReal& _deltaMSq) :
23  RooAbsPdf(name,title),
24  L("L","L",this,_L),
25  E("E","E",this,_E),
26  deltaMSq("deltaMSq","deltaMSq",this,_deltaMSq)
27  {
28  }
29 
30 
32  RooAbsPdf(other,name),
33  L("L",this,other.L),
34  E("E",this,other.E),
35  deltaMSq("deltaMSq",this,other.deltaMSq)
36  {
37  }
38 
39 
40 
42  {
43  // ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
44  return pow(sin(1.27*deltaMSq*L/E),2) ;
45  }
46 
RooArgList L(const RooAbsArg &v1)
double pow(double, double)
double sin(double)
Double_t E()
Definition: TMath.h:54
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
char name[80]
Definition: TGX11.cxx:109