This repository has been archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
RooGausExp.h
50 lines (40 loc) · 1.49 KB
/
RooGausExp.h
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
47
48
49
50
/*****************************************************************************
* Project: RooFit *
* *
* This code was autogenerated by RooClassFactory *
*****************************************************************************/
#ifndef RooGausExp_hpp
#define RooGausExp_hpp
#include "RooAbsPdf.h"
#include "RooRealProxy.h"
#include "RooCategoryProxy.h"
#include "RooAbsReal.h"
#include "RooAbsCategory.h"
//#define _AN_INT_
class RooGausExp : public RooAbsPdf {
public:
RooGausExp() {} ;
RooGausExp(const char *name, const char *title,
RooAbsReal& _x,
RooAbsReal& _mu,
RooAbsReal& _sig,
RooAbsReal& _tau);
RooGausExp(const RooGausExp& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooGausExp(*this,newname); }
inline virtual ~RooGausExp() { }
#ifdef _AN_INT_
virtual Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* r=0) const;
virtual Double_t analyticalIntegral(Int_t code,const char* rangeName=0) const;
#endif
protected:
double IntExp(double x,double tau) const;
double IntGaus(double x) const;
RooRealProxy x ;
RooRealProxy mu ;
RooRealProxy sig ;
RooRealProxy tau ;
Double_t evaluate() const ;
private:
ClassDef(RooGausExp,1) // Your description goes here...
};
#endif /* RooDSCB_hpp */