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/EvtDecayIncoherent.hh 00012 // 00013 // Description: 00014 // 00015 // Modification history: 00016 // 00017 // DJL/RYD August 11, 1998 Module created 00018 // 00019 //------------------------------------------------------------------------ 00020 00021 #ifndef EvtDecayIncoherent_HH 00022 #define EvtDecayIncoherent_HH 00023 00024 #include "EvtGenBase/EvtDecayBase.hh" 00025 #include "EvtGenBase/EvtParticle.hh" 00026 00027 00028 class EvtDecayIncoherent : public EvtDecayBase{ 00029 00030 public: 00031 00032 void makeDecay(EvtParticle* p); 00033 00034 virtual ~EvtDecayIncoherent() {} 00035 00036 void setDaughterSpinDensity(int daughter) 00037 { spinDensitySet[daughter]=1; return;} 00038 00039 int isDaughterSpinDensitySet(int daughter) 00040 {return spinDensitySet[daughter];} 00041 00042 private: 00043 00044 int spinDensitySet[MAX_DAUG]; 00045 00046 }; 00047 00048 00049 00050 00051 #endif 00052 00053 00054