BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtBreitWignerPdf.hh
Go to the documentation of this file.
1/*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
4 * File: $Id: EvtBreitWignerPdf.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5 * Author: Alexei Dvoretskii, [email protected], 2001-2002
6 *
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
9
10// Breit-Wigner PDF
11
12#ifndef EVT_BREIT_WIGNER_PDF_HH
13#define EVT_BREIT_WIGNER_PDF_HH
14
16
18
19public:
20
21 EvtBreitWignerPdf(double min, double max, double m0, double g0);
23 virtual ~EvtBreitWignerPdf();
24
25 double pdf(const EvtPoint1D& x) const;
27 {
28 return new EvtBreitWignerPdf(*this);
29 }
30
31 double pdfIntegral(double m) const;
32 double pdfIntegralInverse(double x) const;
33
34 // accessors
35
36 inline double m0() const { return _m0; }
37 inline double g0() const { return _g0; }
38
39private:
40
41 double _m0;
42 double _g0;
43
44};
45
46
47#endif
48
Double_t x[10]
double pdf(const EvtPoint1D &x) const
double pdfIntegral(double m) const
double pdfIntegralInverse(double x) const
virtual ~EvtBreitWignerPdf()
EvtPdf< EvtPoint1D > * clone() const
Definition: EvtPdf.hh:57