1 #include "EvtGenBase/EvtPatches.hh"
2 /*******************************************************************************
3 * Project: BaBar detector at the SLAC PEP-II B-factory
5 * File: $Id: EvtPropBreitWignerRel.cc,v 1.5 2004/12/21 19:58:47 ryd Exp $
6 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
8 * Copyright (C) 2002 Caltech
9 *******************************************************************************/
12 #include "EvtGenBase/EvtPropBreitWignerRel.hh"
15 EvtPropBreitWignerRel::EvtPropBreitWignerRel(double m0, double g0)
16 : EvtPropagator(m0,g0)
20 EvtPropBreitWignerRel::EvtPropBreitWignerRel(const EvtPropBreitWignerRel& other)
21 : EvtPropagator(other)
25 EvtPropBreitWignerRel::~EvtPropBreitWignerRel()
29 EvtAmplitude<EvtPoint1D>* EvtPropBreitWignerRel::clone() const
31 return new EvtPropBreitWignerRel(*this);
35 EvtComplex EvtPropBreitWignerRel::amplitude(const EvtPoint1D& x) const
38 return 1./(_m0*_m0-m*m-EvtComplex(0.,_m0*_g0));