Hi Constantin, I have upgraded the TPythia6 class interface from Pythia6.1 to Pythia6.2. The only difference is the size of /pydat3/ In TPythia6Calls.h, the new definition of the corresponding C struct is: struct Pydat3_t { int MDCY[3][500]; int MDME[2][KNDCAY]; double BRAT[KNDCAY]; int KFDP[5][KNDCAY]; }; where KNDCAY=8000. If you want to run with Pythia6.1, you must change KNDCAY to 4000. The change is now in CVS Rene Brun On Sat, 16 Nov 2002, Constantin Loizides wrote: > Hi, > to use the 6.2x version of Pythia with the > TPythia6 wrapper, I had to do adjust the table > size for the decays in TPythia6Calls.h > > < #ifdef CLPYTHIA61 > < #define N_DECAY 4000 > < #else > < #define N_DECAY 8000 > < #endif > < > < > < int MDME[2][N_DECAY]; > < double BRAT[N_DECAY]; > < int KFDP[5][N_DECAY]; > > instead of > > > int MDME[2][4000]; > > double BRAT[4000]; > > int KFDP[5][4000]; > > I am not 100% sure, whether the #define > is really needed or whether we rather > could enlarge the tables for all pythia versions > e.g. have > int MDME[2][8000]; > double BRAT[8000]; > int KFDP[5][8000]; > > always. > > > Best regards, > Constantin > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET