//----------------------------------------------------------------------- // File and Version Information: // $Id: EvtPto3PAmpFactory.hh,v 1.10 2006/01/31 18:08:46 ddujmic Exp $ // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Information: // Copyright (C) 1998 Caltech, UCSB // // Module creator: // Alexei Dvoretskii, Caltech, 2001-2002. //----------------------------------------------------------------------- #ifndef EVT_PTO3P_AMP_FACTORY_HH #define EVT_PTO3P_AMP_FACTORY_HH #include #include #include "EvtGenBase/EvtComplex.hh" #include "EvtGenBase/EvtAmpFactory.hh" #include "EvtGenBase/EvtDalitzPlot.hh" #include "EvtGenBase/EvtDalitzPoint.hh" #include "EvtGenBase/EvtCyclic3.hh" class EvtPto3PAmpFactory : public EvtAmpFactory { public: EvtPto3PAmpFactory(const EvtDalitzPlot& dp) : EvtAmpFactory(), _dp(dp) {} EvtPto3PAmpFactory(const EvtPto3PAmpFactory& other) : EvtAmpFactory(other), _dp(other._dp) {} virtual ~EvtPto3PAmpFactory() {} virtual EvtAmpFactory* clone() const { return new EvtPto3PAmpFactory(*this); } virtual void processAmp(EvtComplex c, std::vector vv, bool conj); private: double matchIsobarCoef(EvtAmplitude* amp, EvtPdf* pdf, EvtCyclic3::Pair i); EvtDalitzPlot _dp; }; #endif