Logo ROOT   6.08/07
Reference Guide
RooBukinPdf.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooBukinPdf.h,v 1.5 2007/07/12 20:30:49 wouter Exp $
5  * Authors: *
6  * RW, Ruddick William UC Colorado wor@slac.stanford.edu *
7  * *
8  * Copyright (c) 2000-2005, Regents of the University of California *
9  * and Stanford University. All rights reserved. *
10  * *
11  * Redistribution and use in source and binary forms, *
12  * with or without modification, are permitted according to the terms *
13  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
14  *****************************************************************************/
15 
16 
17 // -- CLASS DESCRIPTION [PDF] --
18 // RooBukinPdf implements the NovosibirskA function
19 
20 // Original Fortran Header below
21 /*****************************************************************************
22  * Fitting function for asymmetric peaks with 6 free parameters: *
23  * Ap - peak value *
24  * Xp - peak position *
25  * sigp - FWHM divided by 2*sqrt(2*log(2))=2.35 *
26  * xi - peak asymmetry parameter *
27  * rho1 - parameter of the "left tail" *
28  * rho2 - parameter of the "right tail" *
29  * --------------------------------------------- *
30  * May 26, 2003 *
31  * A.Bukin, Budker INP, Novosibirsk *
32  * Documentation: *
33  * http://www.slac.stanford.edu/BFROOT/www/Organization/CollabMtgs/2003/detJuly2003/Tues3a/bukin.ps
34  * ------------------------------------------- *
35  *****************************************************************************/
36 #ifndef ROO_BUKINPDF
37 #define ROO_BUKINPDF
38 
39 #include "RooAbsPdf.h"
40 #include "RooRealProxy.h"
41 
42 class RooRealVar;
43 class RooAbsReal;
44 
45 class RooBukinPdf : public RooAbsPdf {
46 public:
47 
48  RooBukinPdf() {} ;
49  RooBukinPdf(const char *name, const char *title,
50  RooAbsReal& _x, RooAbsReal& _Xp,
51  RooAbsReal& _sigp, RooAbsReal& _xi,
52  RooAbsReal& _rho1, RooAbsReal& _rho2);
53 
54  RooBukinPdf(const RooBukinPdf& other,const char* name=0) ;
55 
56  virtual TObject* clone(const char* newname) const { return new RooBukinPdf(*this,newname); }
57  inline virtual ~RooBukinPdf() { }
58 
59 protected:
66  Double_t evaluate() const;
67 
68 private:
69 
70  ClassDef(RooBukinPdf,1) // Variation of Novosibirsk PDF
71  double consts;
72 };
73 
74 #endif
RooRealProxy rho2
Definition: RooBukinPdf.h:65
RooRealProxy rho1
Definition: RooBukinPdf.h:64
RooRealProxy x
Definition: RooBukinPdf.h:60
#define ClassDef(name, id)
Definition: Rtypes.h:254
RooRealProxy sigp
Definition: RooBukinPdf.h:62
RooRealProxy xi
Definition: RooBukinPdf.h:63
RooRealVar represents a fundamental (non-derived) real valued object.
Definition: RooRealVar.h:37
double consts
Definition: RooBukinPdf.h:71
virtual ~RooBukinPdf()
Definition: RooBukinPdf.h:57
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Mother of all ROOT objects.
Definition: TObject.h:37
RooRealProxy Xp
Definition: RooBukinPdf.h:61
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
Double_t evaluate() const
Implementation.
Definition: RooBukinPdf.cxx:99
RooBukinPdf implements the NovosibirskA function.
Definition: RooBukinPdf.h:45
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
virtual TObject * clone(const char *newname) const
Definition: RooBukinPdf.h:56
char name[80]
Definition: TGX11.cxx:109