10#ifndef EVT_AMP_AMP_PDF_HH
11#define EVT_AMP_AMP_PDF_HH
37 virtual double pdf(
const T& p )
const {
42 if ( _type ==
POSRE )
return real( pr ) > 0 ?
real( pr ) : 0.;
43 if ( _type ==
NEGRE )
return real( pr ) < 0 ? -
real( pr ) : 0.;
44 if ( _type ==
POSIM )
return imag( pr ) > 0 ?
imag( pr ) : 0.;
45 if ( _type ==
NEGIM )
return imag( pr ) < 0 ? -
imag( pr ) : 0.;
Evt3Rank3C conj(const Evt3Rank3C &t2)
double imag(const EvtComplex &c)
EvtAmpAmpPdf(int type, const EvtAmplitude< T > &1, const EvtAmplitude< T > &2)
virtual EvtAmpAmpPdf< T > * clone() const
virtual double pdf(const T &p) const
EvtAmpAmpPdf(const EvtAmpAmpPdf< T > &other)