Skip to content
Snippets Groups Projects
Commit e16a846a authored by Rene Brun's avatar Rene Brun
Browse files

Replace interface to Pythia6.1 by 6.2. The main difference is the size

of the common block /pydat3/. The new definition is
struct Pydat3_t {
  int    MDCY[3][500];
  int    MDME[2][KNDCAY];
  double BRAT[KNDCAY];
  int    KFDP[5][KNDCAY];
};

instead of:
struct Pydat3_t {
  int    MDCY[3][500];
  int    MDME[2][4000];
  double BRAT[4000];
  int    KFDP[5][4000];
};

where KNDCAY=8000. To run with the previous version of Pythia5.1,
simply change KNDCAY from 8000 to 4000.


git-svn-id: http://root.cern.ch/svn/root/trunk@5603 27541ba8-7e3a-0410-8455-c3a389f83636
parent 4ff6a65e
No related branches found
No related tags found
No related merge requests found
// @(#)root/pythia6:$Name: $:$Id: TPythia6.h,v 1.1.1.1 2000/05/16 17:00:48 rdm Exp $ // @(#)root/pythia6:$Name: $:$Id: TPythia6.h,v 1.2 2001/02/01 15:06:59 brun Exp $
// Author: Rene Brun 19/10/99 // Author: Rene Brun 19/10/99
/************************************************************************* /*************************************************************************
...@@ -14,55 +14,61 @@ ...@@ -14,55 +14,61 @@
// // // //
// TPythia6 // // TPythia6 //
// // // //
// TPythia is an interface class to F77 version of Pythia 6.1 // // TPythia is an interface class to F77 version of Pythia 6.2 //
// CERNLIB event generators, written by T.Sjostrand. // // CERNLIB event generators, written by T.Sjostrand. //
// For the details about these generators look at Pythia/Jetset manual: // // For the details about these generators look at Pythia/Jetset manual: //
// // // //
//****************************************************************************** // ******************************************************************************
//** ** // ******************************************************************************
//** ** // ** **
//** PPP Y Y TTTTT H H III A JJJJ EEEE TTTTT SSS EEEE TTTTT ** // ** **
//** P P Y Y T H H I A A J E T S E T ** // ** *......* Welcome to the Lund Monte Carlo! **
//** PPP Y T HHHHH I AAAAA J EEE T SSS EEE T ** // ** *:::!!:::::::::::* **
//** P Y T H H I A A J J E T S E T ** // ** *::::::!!::::::::::::::* PPP Y Y TTTTT H H III A **
//** P Y T H H III A A JJ EEEE T SSS EEEE T ** // ** *::::::::!!::::::::::::::::* P P Y Y T H H I A A **
//** ** // ** *:::::::::!!:::::::::::::::::* PPP Y T HHHHH I AAAAA **
//** ** // ** *:::::::::!!:::::::::::::::::* P Y T H H I A A **
//** *......* Welcome to the Lund Monte Carlo! ** // ** *::::::::!!::::::::::::::::*! P Y T H H III A A **
//** *:::!!:::::::::::* ** // ** *::::::!!::::::::::::::* !! **
//** *::::::!!::::::::::::::* This is PYTHIA version 5.720 ** // ** !! *:::!!:::::::::::* !! This is PYTHIA version 6.205 **
//** *::::::::!!::::::::::::::::* Last date of change: 29 Nov 1995 ** // ** !! !* -><- * !! Last date of change: 1 Mar 2002 **
//** *:::::::::!!:::::::::::::::::* ** // ** !! !! !! **
//** *:::::::::!!:::::::::::::::::* This is JETSET version 7.408 ** // ** !! !! !! Now is 0 Jan 2000 at 0:00:00 **
//** *::::::::!!::::::::::::::::*! Last date of change: 23 Aug 1995 ** // ** !! !! **
//** *::::::!!::::::::::::::* !! ** // ** !! lh !! Disclaimer: this program comes **
//** !! *:::!!:::::::::::* !! Main author: ** // ** !! !! without any guarantees. Beware **
//** !! !* -><- * !! Torbjorn Sjostrand ** // ** !! hh !! of errors and use common sense **
//** !! !! !! Dept. of theoretical physics 2 ** // ** !! ll !! when interpreting results. **
//** !! !! !! University of Lund ** // ** !! !! **
//** !! !! Solvegatan 14A ** // ** !! Copyright T. Sjostrand (2001) **
//** !! ep !! S-223 62 Lund, Sweden ** // ** **
//** !! !! phone: +46 - 46 - 222 48 16 ** // ** An archive of program versions and documentation is found on the web: **
//** !! pp !! E-mail: torbjorn@thep.lu.se ** // ** http://www.thep.lu.se/~torbjorn/Pythia.html **
//** !! e+e- !! ** // ** **
//** !! !! Copyright Torbjorn Sjostrand ** // ** When you cite this program, currently the official reference is **
//** !! and CERN, Geneva 1993 ** // ** T. Sjostrand, P. Eden, C. Friberg, L. Lonnblad, G. Miu, S. Mrenna and **
//** ** // ** E. Norrbin, Computer Physics Commun. 135 (2001) 238. **
//** ** // ** The large manual is **
//** The latest program versions and documentation is found on WWW address ** // ** T. Sjostrand, L. Lonnblad and S. Mrenna, LU TP 01-21 [hep-ph/0108264]. **
//** http://thep.lu.se/tf2/staff/torbjorn/Welcome.html ** // ** Also remember that the program, to a large extent, represents original **
//** ** // ** physics research. Other publications of special relevance to your **
//** When you cite these programs, priority should always be given to the ** // ** studies may therefore deserve separate mention. **
//** latest published description. Currently this is ** // ** **
//** T. Sjostrand, Computer Physics Commun. 82 (1994) 74. ** // ** Main author: Torbjorn Sjostrand; Department of Theoretical Physics 2, **
//** The most recent long description (unpublished) is ** // ** Lund University, Solvegatan 14A, S-223 62 Lund, Sweden; **
//** T. Sjostrand, LU TP 95-20 and CERN-TH.7112/93 (revised August 1995). ** // ** phone: + 46 - 46 - 222 48 16; e-mail: torbjorn@thep.lu.se **
//** Also remember that the programs, to a large extent, represent original ** // ** Author: Leif Lonnblad; Department of Theoretical Physics 2, **
//** physics research. Other publications of special relevance to your ** // ** Lund University, Solvegatan 14A, S-223 62 Lund, Sweden; **
//** studies may therefore deserve separate mention. ** // ** phone: + 46 - 46 - 222 77 80; e-mail: leif@thep.lu.se **
//** ** // ** Author: Stephen Mrenna; Computing Division, Simulations Group, **
//** ** // ** Fermi National Accelerator Laboratory, MS 234, Batavia, IL 60510, USA; **
//****************************************************************************** // ** phone: + 1 - 630 - 840 - 2556; e-mail: mrenna@fnal.gov **
// ** Author: Peter Skands; Department of Theoretical Physics 2, **
// ** Lund University, Solvegatan 14A, S-223 62 Lund, Sweden; **
// ** phone: + 46 - 46 - 222 31 92; e-mail: zeiler@thep.lu.se **
// ** **
// ** **
// ******************************************************************************
//#ifdef __GNUG__ //#ifdef __GNUG__
//#pragma interface //#pragma interface
//#endif //#endif
......
/* @(#)root/pythia6:$Name: $:$Id: TPythia6Calls.h,v 1.1.1.1 2000/05/16 17:00:48 rdm Exp $ */ /* @(#)root/pythia6:$Name: $:$Id: TPythia6Calls.h,v 1.2 2002/11/13 17:40:59 brun Exp $ */
/************************************************************************* /*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
int const KSUSY1 = 1000000; int const KSUSY1 = 1000000;
int const KSUSY2 = 2000000; int const KSUSY2 = 2000000;
int const KEXCIT = 4000000; int const KEXCIT = 4000000;
int const KNDCAY = 8000; //should be 4000 for pythia61
struct Pyjets_t { struct Pyjets_t {
...@@ -78,9 +79,9 @@ struct Pydat2_t { ...@@ -78,9 +79,9 @@ struct Pydat2_t {
struct Pydat3_t { struct Pydat3_t {
int MDCY[3][500]; int MDCY[3][500];
int MDME[2][4000]; int MDME[2][KNDCAY];
double BRAT[4000]; double BRAT[KNDCAY];
int KFDP[5][4000]; int KFDP[5][KNDCAY];
}; };
struct Pydat4_t { struct Pydat4_t {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment