/******************************************************************************* * Project: BaBar detector at the SLAC PEP-II B-factory * Package: EvtGenBase * Author: Denis Dujmic, ddujmic@slac.stanford.edu * * Copyright (C) 2005 SLAC *******************************************************************************/ #ifndef EVT_NONRESONANT_AMP_HH #define EVT_NONRESONANT_AMP_HH #include "EvtGenBase/EvtCyclic3.hh" #include "EvtGenBase/EvtDalitzPoint.hh" #include "EvtGenBase/EvtDalitzPlot.hh" #include "EvtGenBase/EvtPto3PAmp.hh" #include "EvtGenBase/EvtAmplitude.hh" #include "EvtGenBase/EvtSpinType.hh" class EvtComplex; class EvtNonresonantAmp : public EvtAmplitude { public: EvtNonresonantAmp( EvtDalitzPlot *dp, EvtPto3PAmp::NumType type, EvtCyclic3::Pair pair1, double par1=0, EvtCyclic3::Pair pair2=EvtCyclic3::AB, double par2=0, EvtSpinType::spintype spin=EvtSpinType::SCALAR); EvtNonresonantAmp(const EvtNonresonantAmp& other); ~EvtNonresonantAmp(); virtual EvtComplex amplitude(const EvtDalitzPoint& p) const; virtual EvtAmplitude* clone() const { return new EvtNonresonantAmp(*this); } private: EvtDalitzPlot *_dalitzSpace; EvtPto3PAmp::NumType _type; EvtCyclic3::Pair _pair1, _pair2; double _par1, _par2; EvtSpinType::spintype _spin; }; #endif