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

          Line data    Source code
       1             : /*******************************************************************************
       2             :  * Project: BaBar detector at the SLAC PEP-II B-factory
       3             :  * Package: EvtGenBase
       4             :  *    File: $Id: EvtFlatAmp.hh,v 1.2 2009-03-16 16:42:03 robbep Exp $
       5             :  *  Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
       6             :  *
       7             :  * Copyright (C) 2002 Caltech
       8             :  *******************************************************************************/
       9             : 
      10             : // Flat amplitude
      11             : 
      12             : #ifndef EVT_FLAT_AMP_HH
      13             : #define EVT_FLAT_AMP_HH
      14             : 
      15             : #include "EvtGenBase/EvtAmplitude.hh"
      16             : 
      17             : template <class T>
      18             : class EvtFlatAmp : public EvtAmplitude<T> {  
      19             : public:
      20             : 
      21           0 :   EvtFlatAmp() {}
      22           0 :   EvtFlatAmp(const EvtFlatAmp<T>& other) : EvtAmplitude<T>(other) {}
      23           0 :   virtual ~EvtFlatAmp() {}
      24             : 
      25           0 :   virtual EvtAmplitude<T>* clone() const { return new EvtFlatAmp<T>(*this); }
      26           0 :   virtual EvtComplex amplitude(const T& ) const { return EvtComplex(1.,0.); }
      27             : }; 
      28             : 
      29             : #endif

Generated by: LCOV version 1.11