Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtPto3PAmpFactory.hh
Show All 27 Lines | |||||
#include "EvtGenBase/EvtDalitzPoint.hh" | #include "EvtGenBase/EvtDalitzPoint.hh" | ||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
class EvtPto3PAmpFactory final : public EvtAmpFactory<EvtDalitzPoint> { | class EvtPto3PAmpFactory final : public EvtAmpFactory<EvtDalitzPoint> { | ||||
public: | public: | ||||
EvtPto3PAmpFactory( const EvtDalitzPlot& dp ) : | EvtPto3PAmpFactory( const EvtDalitzPlot& dp ) : | ||||
EvtAmpFactory<EvtDalitzPoint>(), _dp( dp ) | EvtAmpFactory<EvtDalitzPoint>(), m_dp( dp ) | ||||
{ | { | ||||
} | } | ||||
EvtPto3PAmpFactory( EvtPto3PAmpFactory&& ) = default; | EvtPto3PAmpFactory( EvtPto3PAmpFactory&& ) = default; | ||||
EvtPto3PAmpFactory( const EvtPto3PAmpFactory& ) = default; | EvtPto3PAmpFactory( const EvtPto3PAmpFactory& ) = default; | ||||
EvtAmpFactory<EvtDalitzPoint>* clone() const override | EvtAmpFactory<EvtDalitzPoint>* clone() const override | ||||
{ | { | ||||
return new EvtPto3PAmpFactory( *this ); | return new EvtPto3PAmpFactory( *this ); | ||||
} | } | ||||
void processAmp( EvtComplex c, std::vector<std::string> vv, | void processAmp( EvtComplex c, std::vector<std::string> vv, | ||||
bool conj ) override; | bool conj ) override; | ||||
private: | private: | ||||
double matchIsobarCoef( EvtAmplitude<EvtDalitzPoint>& amp, | double matchIsobarCoef( EvtAmplitude<EvtDalitzPoint>& amp, | ||||
EvtPdf<EvtDalitzPoint>& pdf, EvtCyclic3::Pair i ); | EvtPdf<EvtDalitzPoint>& pdf, EvtCyclic3::Pair i ); | ||||
EvtDalitzPlot _dp; | EvtDalitzPlot m_dp; | ||||
}; | }; | ||||
#endif | #endif |