/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtPropBreitWignerRel.cc

Go to the documentation of this file.
00001 #include "EvtGenBase/EvtPatches.hh"
00002 /*******************************************************************************
00003  * Project: BaBar detector at the SLAC PEP-II B-factory
00004  * Package: EvtGenBase
00005  *    File: $Id: EvtPropBreitWignerRel.cc,v 1.3 2013/05/02 14:52:23 pingrg Exp $
00006  *  Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
00007  *
00008  * Copyright (C) 2002 Caltech
00009  *******************************************************************************/
00010 
00011 #include <math.h>
00012 #include "EvtGenBase/EvtPropBreitWignerRel.hh"
00013 
00014 
00015 EvtPropBreitWignerRel::EvtPropBreitWignerRel(double m0, double g0) 
00016   : EvtPropagator(m0,g0) 
00017 {}
00018 
00019 
00020 EvtPropBreitWignerRel::EvtPropBreitWignerRel(const EvtPropBreitWignerRel& other) 
00021   : EvtPropagator(other)
00022 {}
00023 
00024 
00025 EvtPropBreitWignerRel::~EvtPropBreitWignerRel() 
00026 {}
00027   
00028 
00029 EvtAmplitude<EvtPoint1D>* EvtPropBreitWignerRel::clone() const
00030 { 
00031   return new EvtPropBreitWignerRel(*this); 
00032 }
00033 
00034 
00035 EvtComplex EvtPropBreitWignerRel::amplitude(const EvtPoint1D& x) const
00036 {
00037   double m = x.value();
00038   return 1./(_m0*_m0-m*m-EvtComplex(0.,_m0*_g0));   
00039 }

Generated on Tue Nov 29 23:12:14 2016 for BOSS_7.0.2 by  doxygen 1.4.7