MINT2
RooHILLdini.h
Go to the documentation of this file.
1 
2 /*-----------------------------------------------------------------------------------
3 Author: Paolo Gandini
4 Email: paolo.gandini@cern.ch
5 
6 Hill 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 
17 #ifndef ROO_ROOHILLDINI
18 #define ROO_ROOHILLDINI
19 
20 #include "RooAbsPdf.h"
21 #include "RooRealProxy.h"
22 #include "Rtypes.h"
23 
24 
25 class RooRealVar;
26 
27 class RooHILLdini : public RooAbsPdf {
28 
29 
30 public:
31  RooHILLdini(const char *name, const char *title,
32  RooAbsReal& _m, RooAbsReal& _a, RooAbsReal& _b, RooAbsReal& _csi, RooAbsReal& _shift, RooAbsReal& _sigma, RooAbsReal& _ratio_sigma, RooAbsReal& _fraction_sigma);
33  RooHILLdini(const RooHILLdini& other, const char* name = 0);
34  virtual TObject* clone(const char* newname) const { return new RooHILLdini(*this,newname); }
35  inline virtual ~ RooHILLdini() {}
36 
37 
38 protected:
39  RooRealProxy m;
40  RooRealProxy a;
41  RooRealProxy b;
42  RooRealProxy csi;
43  RooRealProxy shift;
44  RooRealProxy sigma;
45  RooRealProxy ratio_sigma;
46  RooRealProxy fraction_sigma;
47  Double_t evaluate() const;
48 
49 
50 private:
51 // ClassDef( RooHILLdini,2) // RooHILLdini function PDF
52 };
53 
54 #endif
virtual ~ RooHILLdini()
Definition: RooHILLdini.h:35
RooRealProxy ratio_sigma
Definition: RooHILLdini.h:45
RooRealProxy csi
Definition: RooHILLdini.h:42
RooRealProxy sigma
Definition: RooHILLdini.h:44
RooRealProxy shift
Definition: RooHILLdini.h:43
RooRealProxy b
Definition: RooHILLdini.h:41
virtual TObject * clone(const char *newname) const
Definition: RooHILLdini.h:34
RooHILLdini(const char *name, const char *title, RooAbsReal &_m, RooAbsReal &_a, RooAbsReal &_b, RooAbsReal &_csi, RooAbsReal &_shift, RooAbsReal &_sigma, RooAbsReal &_ratio_sigma, RooAbsReal &_fraction_sigma)
Definition: RooHILLdini.cpp:12
RooRealProxy m
Definition: RooHILLdini.h:39
RooRealProxy a
Definition: RooHILLdini.h:40
RooRealProxy fraction_sigma
Definition: RooHILLdini.h:46
Double_t evaluate() const
Definition: RooHILLdini.cpp:38