BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPropBreitWigner.cc
Go to the documentation of this file.
1#include "EvtGenBase/EvtPatches.hh"
2/*******************************************************************************
3 * Project: BaBar detector at the SLAC PEP-II B-factory
4 * Package: EvtGenBase
5 * File: $Id: EvtPropBreitWigner.cc,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
6 * Author: Alexei Dvoretskii, [email protected], 2001-2002
7 *
8 * Copyright (C) 2002 Caltech
9 *******************************************************************************/
10
11#include <math.h>
12#include "EvtGenBase/EvtConst.hh"
13#include "EvtGenBase/EvtPropBreitWigner.hh"
14
15
17 : EvtPropagator(m0,g0)
18{}
19
20
22 : EvtPropagator(other)
23{}
24
25
27{}
28
29
31{
32 return new EvtPropBreitWigner(*this);
33}
34
35
37{
38 double m = x.value();
39 EvtComplex value = sqrt(_g0/EvtConst::twoPi)/(m-_m0-EvtComplex(0.0,_g0/2.));
40 return value;
41}
Double_t x[10]