1 /*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
4 * File: $Id: EvtFlatAmp.hh,v 1.4 2009/02/18 03:31:38 ryd Exp $
5 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
12 #ifndef EVT_FLAT_AMP_HH
13 #define EVT_FLAT_AMP_HH
15 #include "EvtGenBase/EvtAmplitude.hh"
18 class EvtFlatAmp : public EvtAmplitude<T> {
22 EvtFlatAmp(const EvtFlatAmp<T>& other) : EvtAmplitude<T>(other) {}
23 virtual ~EvtFlatAmp() {}
25 virtual EvtAmplitude<T>* clone() const { return new EvtFlatAmp<T>(*this); }
26 virtual EvtComplex amplitude(const T& ) const { return EvtComplex(1.,0.); }