MINT2
RooHORNSdini.h
Go to the documentation of this file.
1 
2 /*-----------------------------------------------------------------------------------
3 Author: Paolo Gandini
4 Email: paolo.gandini@cern.ch
5 
6 Double horn distribution convoluted with a Gaussian resolution function
7 
8 -- v3 --
9 SHIFT included
10 EFFICIENCY CORRECTION included
11 
12 -- v8 --
13 EFFICIENCY is a double GAUSSIAN: two extra parameters: ratio_sigma, fraction_sigma
14 -----------------------------------------------------------------------------------*/
15 
16 #ifndef ROO_ROOHORNSDINI
17 #define ROO_ROOHORNSDINI
18 
19 #include "RooAbsPdf.h"
20 #include "RooRealProxy.h"
21 #include "Rtypes.h"
22 
23 
24 class RooRealVar;
25 
26 class RooHORNSdini : public RooAbsPdf {
27 
28 
29 public:
30  RooHORNSdini(const char *name, const char *title,
31  RooAbsReal& _m, RooAbsReal& _a, RooAbsReal& _b, RooAbsReal& _csi, RooAbsReal& _shift, RooAbsReal& _sigma, RooAbsReal& _ratio_sigma, RooAbsReal& _fraction_sigma);
32  RooHORNSdini(const RooHORNSdini& other, const char* name = 0);
33  virtual TObject* clone(const char* newname) const { return new RooHORNSdini(*this,newname); }
34  inline virtual ~ RooHORNSdini() {}
35 
36 
37 protected:
38  RooRealProxy m;
39  RooRealProxy a;
40  RooRealProxy b;
41  RooRealProxy csi;
42  RooRealProxy shift;
43  RooRealProxy sigma;
44  RooRealProxy ratio_sigma;
45  RooRealProxy fraction_sigma;
46  Double_t evaluate() const;
47 
48 
49 private:
50 // ClassDef( RooHORNSdini,2) // RooHORNSdini function PDF
51 };
52 
53 #endif
virtual TObject * clone(const char *newname) const
Definition: RooHORNSdini.h:33
RooRealProxy sigma
Definition: RooHORNSdini.h:43
RooRealProxy fraction_sigma
Definition: RooHORNSdini.h:45
RooHORNSdini(const char *name, const char *title, RooAbsReal &_m, RooAbsReal &_a, RooAbsReal &_b, RooAbsReal &_csi, RooAbsReal &_shift, RooAbsReal &_sigma, RooAbsReal &_ratio_sigma, RooAbsReal &_fraction_sigma)
RooRealProxy b
Definition: RooHORNSdini.h:40
Double_t evaluate() const
RooRealProxy a
Definition: RooHORNSdini.h:39
RooRealProxy csi
Definition: RooHORNSdini.h:41
RooRealProxy m
Definition: RooHORNSdini.h:38
virtual ~ RooHORNSdini()
Definition: RooHORNSdini.h:34
RooRealProxy shift
Definition: RooHORNSdini.h:42
RooRealProxy ratio_sigma
Definition: RooHORNSdini.h:44