00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CLEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/COPYRIGHT 00009 // Copyright (C) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtGen/EvtVVpipi.hh 00012 // 00013 // Description: For decays of a vector to a vector and 2 pions, 00014 // the decay is assumed to be dominated by S-wave. 00015 // 00016 // Modification history: 00017 // 00018 // Jim Hunt June 4, 2008 Module Created 00019 // 00020 //------------------------------------------------------------------------ 00021 00022 #ifndef EVTVVPIPI_WEIGHTED_HH 00023 #define EVTVVPIPI_WEIGHTED_HH 00024 00025 #include "EvtGenBase/EvtDecayAmp.hh" 00026 #include <string> 00027 00028 class EvtParticle; 00029 00030 class EvtVVPIPI_WEIGHTED:public EvtDecayAmp { 00031 00032 public: 00033 00034 EvtVVPIPI_WEIGHTED() {} 00035 virtual ~EvtVVPIPI_WEIGHTED(); 00036 00037 void getName(std::string& name); 00038 EvtDecayBase* clone(); 00039 00040 void decay(EvtParticle *p); 00041 void init(); 00042 void initProbMax(); 00043 00044 }; 00045 00046 #endif