]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtFlatAmp.hh
New plots for trending injector efficiencies (Melinda)
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtFlatAmp.hh
CommitLineData
da0e9ce3 1/*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
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
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
17template <class T>
18class EvtFlatAmp : public EvtAmplitude<T> {
19public:
20
21 EvtFlatAmp() {}
22 EvtFlatAmp(const EvtFlatAmp<T>& other) : EvtAmplitude<T>(other) {}
23 virtual ~EvtFlatAmp() {}
24
25 virtual EvtAmplitude<T>* clone() const { return new EvtFlatAmp<T>(*this); }
26 virtual EvtComplex amplitude(const T& ) const { return EvtComplex(1.,0.); }
27};
28
29#endif