00001 //-------------------------------------------------------------------------- 00002 // pingrg-2014-10-16 00003 // Model REXC : used to decay vgam to the final state as in ConExc model 00004 // Name: REXC: R-scan exclusive decay model 00005 // Decay cards: 00006 // Decay vgam 00007 // 1 REXC; 00008 // Enddecay 00009 // particle vgam is mandatory 00010 //------------------------------------------------------------------------ 00011 00012 #ifndef EVTREXC_HH 00013 #define EVTREXC_HH 00014 00015 #include "EvtGenBase/EvtDecayIncoherent.hh" 00016 #include "EvtGenModels/EvtConExc.hh" 00017 class EvtParticle; 00018 00019 class EvtRexc:public EvtDecayIncoherent { 00020 00021 public: 00022 00023 EvtRexc() {} 00024 virtual ~EvtRexc(); 00025 00026 void getName(std::string& name); 00027 00028 EvtDecayBase* clone(); 00029 00030 void initProbMax(); 00031 00032 void init(); 00033 00034 void decay(EvtParticle *p); 00035 00036 double baryonAng(double mx); 00037 bool angularSampling(EvtParticle* par); 00038 private: 00039 EvtConExc *myconexc; 00040 double cosp,cosk; 00041 }; 00042 00043 #endif 00044