ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/EdgeModules/RooSUSYBkgPdf.cxx
Revision: 1.1
Committed: Mon Jul 16 02:26:17 2012 UTC (12 years, 9 months ago) by buchmann
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
Added edge analytical functions

File Contents

# Content
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 "RooSUSYBkgPdf.h"
12 #include "RooAbsReal.h"
13 #include "RooAbsCategory.h"
14 #include "TMath.h"
15
16 //ClassImp(RooSUSYBkgPdf)
17
18 RooSUSYBkgPdf::RooSUSYBkgPdf(const char *name, const char *title,
19 RooAbsReal& _inv,
20 RooAbsReal& _a1,
21 RooAbsReal& _a2,
22 RooAbsReal& _b1,
23 RooAbsReal& _b2) :
24 RooAbsPdf(name,title),
25 inv("inv","inv",this,_inv),
26 a1("a1","a1",this,_a1),
27 a2("a2","a2",this,_a2),
28 b1("b1","b1",this,_b1),
29 b2("b2","b2",this,_b2)
30 {
31 }
32
33
34 RooSUSYBkgPdf::RooSUSYBkgPdf(const RooSUSYBkgPdf& other, const char* name) :
35 RooAbsPdf(other,name),
36 inv("inv",this,other.inv),
37 a1("a1",this,other.a1),
38 a2("a2",this,other.a2),
39 b1("b1",this,other.b1),
40 b2("b2",this,other.b2)
41 {
42 }
43
44
45
46 Double_t RooSUSYBkgPdf::evaluate() const
47 {
48 // ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
49 return TMath::Power(inv,a1)*TMath::Exp(-b1*inv);//+TMath::Power(inv,a2)*TMath::Exp(-b2*inv);
50 }
51
52
53