LCOV - code coverage report
Current view: top level - TEvtGen/EvtGen/EvtGenBase - EvtPropBreitWignerRel.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 10 0.0 %
Date: 2016-06-14 17:26:59 Functions: 0 9 0.0 %

          Line data    Source code
       1             : #include "EvtGenBase/EvtPatches.hh"
       2             : /*******************************************************************************
       3             :  * Project: BaBar detector at the SLAC PEP-II B-factory
       4             :  * Package: EvtGenBase
       5             :  *    File: $Id: EvtPropBreitWignerRel.cpp,v 1.3 2009-03-16 15:44:41 robbep Exp $
       6             :  *  Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
       7             :  *
       8             :  * Copyright (C) 2002 Caltech
       9             :  *******************************************************************************/
      10             : 
      11             : #include <math.h>
      12             : #include "EvtGenBase/EvtPropBreitWignerRel.hh"
      13             : 
      14             : 
      15             : EvtPropBreitWignerRel::EvtPropBreitWignerRel(double m0, double g0) 
      16           0 :   : EvtPropagator(m0,g0) 
      17           0 : {}
      18             : 
      19             : 
      20             : EvtPropBreitWignerRel::EvtPropBreitWignerRel(const EvtPropBreitWignerRel& other) 
      21           0 :   : EvtPropagator(other)
      22           0 : {}
      23             : 
      24             : 
      25             : EvtPropBreitWignerRel::~EvtPropBreitWignerRel() 
      26           0 : {}
      27             :   
      28             : 
      29             : EvtAmplitude<EvtPoint1D>* EvtPropBreitWignerRel::clone() const
      30             : { 
      31           0 :   return new EvtPropBreitWignerRel(*this); 
      32           0 : }
      33             : 
      34             : 
      35             : EvtComplex EvtPropBreitWignerRel::amplitude(const EvtPoint1D& x) const
      36             : {
      37           0 :   double m = x.value();
      38           0 :   return 1./(_m0*_m0-m*m-EvtComplex(0.,_m0*_g0));   
      39           0 : }

Generated by: LCOV version 1.11