00001 //-------------------------------------------------------------------------- 00002 // 00003 // 00004 // Module: EvtGen/EvtSinglePoint.hh 00005 // 00006 // Description: 00007 //This is a special decay model to generate single particles with fixed momentum. 00008 // 00009 // Modification history: 00010 // 00011 // DJL/RYD August 11, 1998 Module created 00012 // 00013 //------------------------------------------------------------------------ 00014 00015 00016 #ifndef EVTSINGLEPOINT_HH 00017 #define EVTSINGLEPOINT_HH 00018 00019 #include "EvtGenBase/EvtDecayIncoherent.hh" 00020 class EvtParticle; 00021 00022 class EvtSinglePoint:public EvtDecayIncoherent { 00023 00024 public: 00025 00026 EvtSinglePoint() {} 00027 virtual ~EvtSinglePoint(); 00028 00029 void getName(std::string& name); 00030 00031 EvtDecayBase* clone(); 00032 00033 void decay(EvtParticle *p); 00034 00035 void init(); 00036 00037 private: 00038 00039 double px,py,pz; 00040 00041 00042 }; 00043 00044 #endif 00045