BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtFlatAmp.hh
Go to the documentation of this file.
1
/*******************************************************************************
2
* Project: BaBar detector at the SLAC PEP-II B-factory
3
* Package: EvtGenBase
4
* File: $Id: EvtFlatAmp.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg 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 "
EvtAmplitude.hh
"
16
17
template
<
class
T>
class
EvtFlatAmp
:
public
EvtAmplitude
<T> {
18
public
:
19
EvtFlatAmp
() {}
20
EvtFlatAmp
(
const
EvtFlatAmp<T>
& other ) :
EvtAmplitude
<T>( other ) {}
21
virtual
~EvtFlatAmp
() {}
22
23
virtual
EvtAmplitude<T>
*
clone
()
const
{
return
new
EvtFlatAmp<T>
( *
this
); }
24
virtual
EvtComplex
amplitude
(
const
T& p )
const
{
return
EvtComplex
( 1., 0. ); }
25
};
26
27
#endif
EvtAmplitude.hh
EvtAmplitude::EvtAmplitude
EvtAmplitude()
Definition
EvtAmplitude.hh:19
EvtComplex
Definition
EvtComplex.hh:28
EvtFlatAmp::amplitude
virtual EvtComplex amplitude(const T &p) const
Definition
EvtFlatAmp.hh:24
EvtFlatAmp::clone
virtual EvtAmplitude< T > * clone() const
Definition
EvtFlatAmp.hh:23
EvtFlatAmp::EvtFlatAmp
EvtFlatAmp(const EvtFlatAmp< T > &other)
Definition
EvtFlatAmp.hh:20
EvtFlatAmp::EvtFlatAmp
EvtFlatAmp()
Definition
EvtFlatAmp.hh:19
EvtFlatAmp::~EvtFlatAmp
virtual ~EvtFlatAmp()
Definition
EvtFlatAmp.hh:21
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtFlatAmp.hh
Generated by
1.16.1