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/EvtLambdac2pKpi.hh 00012 // 00013 // Description: 00014 //Class to handle generic phase space decays not done 00015 //in other decay models. 00016 // 00017 // Modification history: 00018 // 00019 // DJL/RYD August 11, 1998 Module created 00020 // 00021 //------------------------------------------------------------------------ 00022 00023 #ifndef EVTLAMBDAC2PKPI_HH 00024 #define EVTLAMBDAC2PKPI_HH 00025 00026 #include "EvtGenBase/EvtDecayIncoherent.hh" 00027 #include "EvtGenBase/EvtVector4R.hh" 00028 #include <vector> 00029 #include <iostream> 00030 #include <fstream> 00031 00032 using namespace std; 00033 00034 class EvtParticle; 00035 00036 class EvtLambdac2pKpi:public EvtDecayIncoherent { 00037 00038 public: 00039 00040 EvtLambdac2pKpi() {} 00041 virtual ~EvtLambdac2pKpi(); 00042 00043 void getName(std::string& name); 00044 00045 EvtDecayBase* clone(); 00046 00047 void initProbMax(); 00048 00049 void init(); 00050 00051 void decay(EvtParticle *p); 00052 00053 private: 00054 std::string m_inputFileName; 00055 ifstream m_inputFile; 00056 int nParticles; 00057 int idParticles[100]; 00058 double pxParticle; 00059 double pyParticle; 00060 double pzParticle; 00061 double eParticle; 00062 static std::vector<std::vector<EvtVector4R> >Evt; 00063 int Ntot; 00064 }; 00065 00066 #endif 00067