1 #include "EvtGenBase/EvtPatches.hh"
2 /*******************************************************************************
3 * Project: BaBar detector at the SLAC PEP-II B-factory
5 * File: $Id: EvtPropBreitWigner.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/EvtConst.hh"
13 #include "EvtGenBase/EvtPropBreitWigner.hh"
16 EvtPropBreitWigner::EvtPropBreitWigner(double m0, double g0)
17 : EvtPropagator(m0,g0)
21 EvtPropBreitWigner::EvtPropBreitWigner(const EvtPropBreitWigner& other)
22 : EvtPropagator(other)
26 EvtPropBreitWigner::~EvtPropBreitWigner()
30 EvtAmplitude<EvtPoint1D>* EvtPropBreitWigner::clone() const
32 return new EvtPropBreitWigner(*this);
36 EvtComplex EvtPropBreitWigner::amplitude(const EvtPoint1D& x) const
39 EvtComplex value = sqrt(_g0/EvtConst::twoPi)/(m-_m0-EvtComplex(0.0,_g0/2.));