Logo ROOT   6.16/01
Reference Guide
MyPdfV3.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * *
4 * This code was autogenerated by RooClassFactory *
5 *****************************************************************************/
6
7#ifndef MYPDFV3
8#define MYPDFV3
9
10#include "RooAbsPdf.h"
11#include "RooRealProxy.h"
12#include "RooCategoryProxy.h"
13#include "RooAbsReal.h"
14#include "RooAbsCategory.h"
15
16class MyPdfV3 : public RooAbsPdf {
17public:
18 MyPdfV3() {} ;
19 MyPdfV3(const char *name, const char *title,
20 RooAbsReal& _x,
21 RooAbsReal& _A,
22 RooAbsReal& _B);
23 MyPdfV3(const MyPdfV3& other, const char* name=0) ;
24 virtual TObject* clone(const char* newname) const { return new MyPdfV3(*this,newname); }
25 inline virtual ~MyPdfV3() { }
26
27 Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
28 Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
29
30protected:
31
35
36 Double_t evaluate() const ;
37
38private:
39
40 ClassDef(MyPdfV3,1) // Your description goes here...
41};
42
43#endif
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:324
RooRealProxy x
Definition: MyPdfV3.h:32
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition: MyPdfV3.cxx:41
virtual ~MyPdfV3()
Definition: MyPdfV3.h:25
MyPdfV3()
Definition: MyPdfV3.h:18
RooRealProxy B
Definition: MyPdfV3.h:34
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
Definition: MyPdfV3.cxx:63
virtual TObject * clone(const char *newname) const
Definition: MyPdfV3.h:24
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
Definition: MyPdfV3.cxx:49
RooRealProxy A
Definition: MyPdfV3.h:33
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
Mother of all ROOT objects.
Definition: TObject.h:37