1 /*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
4 * File: $Id: EvtDalitzFlatPdf.hh,v 1.2 2009-03-16 16:43:40 robbep Exp $
5 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
11 * Uniform PDF defined on a Dalitz plot.
14 #ifndef EVT_DALITZ_FLAT_PDF_HH
15 #define EVT_DALITZ_FLAT_PDF_HH
18 #include "EvtGenBase/EvtPdf.hh"
19 #include "EvtGenBase/EvtDalitzPlot.hh"
20 #include "EvtGenBase/EvtDalitzPoint.hh"
22 class EvtDalitzFlatPdf : public EvtPdf<EvtDalitzPoint> {
25 EvtDalitzFlatPdf(const EvtDalitzPlot& dp);
26 EvtDalitzFlatPdf(const EvtDalitzFlatPdf& other);
27 virtual ~EvtDalitzFlatPdf();
28 virtual EvtPdf<EvtDalitzPoint>* clone() const;
30 virtual EvtValError compute_integral(int N) const;
31 virtual EvtDalitzPoint randomPoint();
35 virtual double pdf(const EvtDalitzPoint&) const;