1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 Revision 1.7 2000/06/09 20:34:50 morsch
19 All coding rule violations except RS3 corrected
21 Revision 1.6 1999/11/09 07:38:48 fca
22 Changes for compatibility with version 2.23 of ROOT
24 Revision 1.5 1999/11/03 17:43:20 fca
25 New version from G.Martinez & A.Morsch
27 Revision 1.4 1999/09/29 09:24:14 fca
28 Introduction of the Copyright and cvs Log
33 #include "AliPythia.h"
38 //_____________________________________________________________________________
40 AliPythia* AliPythia::fgAliPythia=NULL;
42 AliPythia::AliPythia()
44 // Default Constructor
47 void AliPythia::ProcInit(Process_t process, Float_t energy, StrucFunc_t strucfunc)
49 // Initialise the process to generate
52 fStrucFunc = strucfunc;
54 SetMDCY(Pycomp(111),1,0);
55 // select structure function
57 SetMSTP(51,strucfunc);
59 // Pythia initialisation for selected processes//
63 for (Int_t i=1; i<= 200; i++) {
66 // select charm production
110 case beauty_unforced:
120 // Minimum Bias pp-Collisions
122 // Tuning of parameters descibed in G. Ciapetti and A. Di Ciaccio
123 // Proc. of the LHC Workshop, Aachen 1990, Vol. II p. 155
125 // select Pythia min. bias model
131 // Multiple interactions switched on
134 // Low-pT cut-off for hard scattering
136 // model for subsequent non-hardest interaction
137 // 90% gg->gg 10% gg->qq
139 // 90% of gluon interactions have minimum string length
146 Initialize("CMS","p","p",fEcms);
149 Int_t AliPythia::CheckedLuComp(Int_t kf)
151 // Check Lund particle code (for debugging)
153 printf("\n Lucomp kf,kc %d %d",kf,kc);
157 AliPythia* AliPythia::Instance()
162 fgAliPythia = new AliPythia();
166 void AliPythia::Streamer(TBuffer &R__b) {}