-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEtaPdf.cc
42 lines (29 loc) · 1.04 KB
/
EtaPdf.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*****************************************************************************
* Project: RooFit *
* *
* This code was autogenerated by RooClassFactory *
*****************************************************************************/
// Your description goes here...
#include "Riostream.h"
#include "EtaPdf.h"
#include "include/RooAbsReal.h"
#include "include/RooAbsCategory.h"
#include <math.h>
#include "TMath.h"
ClassImp(EtaPdf)
EtaPdf::EtaPdf(const char *name, const char *title,
RooAbsReal& _theta) :
RooAbsPdf(name,title),
theta("theta","theta",this,_theta)
{
}
EtaPdf::EtaPdf(const EtaPdf& other, const char* name) :
RooAbsPdf(other,name),
theta("theta",this,other.theta)
{
}
Double_t EtaPdf::evaluate() const
{
// ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
return 1/(2*3.1415926535*sin(theta)) ;
}