-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAngles_contour.cxx
46 lines (36 loc) · 1.21 KB
/
Angles_contour.cxx
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
40
41
42
43
44
45
46
/*****************************************************************************
* Project: RooFit *
* *
* This code was autogenerated by RooClassFactory *
*****************************************************************************/
// Your description goes here...
#include "Riostream.h"
#include "Angles_contour.h"
#include "RooAbsReal.h"
#include "RooAbsCategory.h"
#include <math.h>
#include "TMath.h"
ClassImp(Angles_contour)
Angles_contour::Angles_contour(const char *name, const char *title,
RooAbsReal& _cosMuMu,
RooAbsReal& _phi
) :
RooAbsPdf(name,title),
cosMuMu("cosMuMu","cosMuMu",this,_cosMuMu),
phi("phi","phi",this,_phi)
{
}
Angles_contour::Angles_contour(const Angles_contour& other, const char* name) :
RooAbsPdf(other,name),
cosMuMu("cosMuMu",this,other.cosMuMu),
phi("phi",this,other.phi)
{
}
Double_t Angles_contour::evaluate() const
{
// ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
if (fabs(cosMuMu) > 1 || fabs(phi) > TMath::Pi())
return 0;
else
return 1;
}