BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtAmplitude< T > Class Template Referenceabstract

#include <EvtAmplitude.hh>

+ Inheritance diagram for EvtAmplitude< T >:

Public Member Functions

 EvtAmplitude ()
 
 EvtAmplitude (const EvtAmplitude &)
 
virtual ~EvtAmplitude ()
 
virtual EvtAmplitude< T > * clone () const =0
 
EvtComplex evaluate (const T &p) const
 

Protected Member Functions

virtual EvtComplex amplitude (const T &) const =0
 

Detailed Description

template<class T>
class EvtAmplitude< T >

Definition at line 18 of file EvtAmplitude.hh.

Constructor & Destructor Documentation

◆ EvtAmplitude() [1/2]

template<class T >
EvtAmplitude< T >::EvtAmplitude ( )
inline

Definition at line 21 of file EvtAmplitude.hh.

21{}

◆ EvtAmplitude() [2/2]

template<class T >
EvtAmplitude< T >::EvtAmplitude ( const EvtAmplitude< T > & )
inline

Definition at line 22 of file EvtAmplitude.hh.

22{}

◆ ~EvtAmplitude()

template<class T >
virtual EvtAmplitude< T >::~EvtAmplitude ( )
inlinevirtual

Definition at line 23 of file EvtAmplitude.hh.

23{}

Member Function Documentation

◆ amplitude()

template<class T >
virtual EvtComplex EvtAmplitude< T >::amplitude ( const T & ) const
protectedpure virtual

◆ clone()

◆ evaluate()

template<class T >
EvtComplex EvtAmplitude< T >::evaluate ( const T & p) const
inline

Definition at line 26 of file EvtAmplitude.hh.

27 {
28 EvtComplex ret(0.,0.);
29 if(p.isValid()) ret = amplitude(p);
30 return ret;
31 }
virtual EvtComplex amplitude(const T &) const =0

Referenced by EvtMassAmp::amplitude(), EvtPto3PAmp::amplitude(), and EvtKstarstargamma::decay().


The documentation for this class was generated from the following file: