00001 //----------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: EvtPto3PAmpFactory.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $ 00004 // 00005 // Environment: 00006 // This software is part of the EvtGen package developed jointly 00007 // for the BaBar and CLEO collaborations. If you use all or part 00008 // of it, please give an appropriate acknowledgement. 00009 // 00010 // Copyright Information: 00011 // Copyright (C) 1998 Caltech, UCSB 00012 // 00013 // Module creator: 00014 // Alexei Dvoretskii, Caltech, 2001-2002. 00015 //----------------------------------------------------------------------- 00016 00017 #ifndef EVT_PTO3P_AMP_FACTORY_HH 00018 #define EVT_PTO3P_AMP_FACTORY_HH 00019 00020 #include <vector> 00021 #include <string> 00022 #include "EvtGenBase/EvtComplex.hh" 00023 #include "EvtGenBase/EvtAmpFactory.hh" 00024 #include "EvtGenBase/EvtDalitzPlot.hh" 00025 #include "EvtGenBase/EvtDalitzPoint.hh" 00026 00027 class EvtPto3PAmpFactory : public EvtAmpFactory<EvtDalitzPoint> { 00028 00029 public: 00030 00031 EvtPto3PAmpFactory(const EvtDalitzPlot& dp) 00032 : EvtAmpFactory<EvtDalitzPoint>(), _dp(dp) 00033 {} 00034 EvtPto3PAmpFactory(const EvtPto3PAmpFactory& other) 00035 : EvtAmpFactory<EvtDalitzPoint>(other), _dp(other._dp) 00036 {} 00037 virtual ~EvtPto3PAmpFactory() 00038 {} 00039 00040 virtual EvtAmpFactory<EvtDalitzPoint>* clone() const 00041 { 00042 return new EvtPto3PAmpFactory(*this); 00043 } 00044 00045 virtual void processAmp(EvtComplex c, std::vector<std::string> vv, bool conj); 00046 00047 private: 00048 00049 EvtDalitzPlot _dp; 00050 00051 }; 00052 00053 #endif 00054 00055 00056 00057 00058