StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StarPythia6.h
1 #ifndef __StarPythia6_h__
2 #define __StarPythia6_h__
3 
43 #include "StarGenerator/BASE/StarGenerator.h"
44 #include "Pythia6.h"
45 #include <map>
46 using namespace std;
47 
48 class StarPythia6 : public StarGenerator
49 {
50  public:
51  StarPythia6( const Char_t *name="Pythia6" );
52  ~StarPythia6(){ /* nada */ };
53 
54  Int_t Init();
55  Int_t Generate();
56  StarGenStats Stats();
57 
59  PyJets_t &pyjets(){ return *address_of_pyjets(); }
61  PySubs_t &pysubs(){ return *address_of_pysubs(); }
63  PyDat1_t &pydat1(){ return *address_of_pydat1(); }
65  PyDat3_t &pydat3(){ return *address_of_pydat3(); }
67  PyPars_t &pypars(){ return *address_of_pypars(); }
69  PyInt5_t &pyint5(){ return *address_of_pyint5(); }
70 
72  void PyTune( Int_t tune );
74  void PyStat( Int_t stat );
76  void PyList( Int_t list );
77 
78 
79  private:
80  protected:
81  ClassDef(StarPythia6,1);
82 
83  void FillPP( StarGenEvent *event );
84  void FillEP( StarGenEvent *event );
85 
86  map<Int_t,Int_t> mStatusCode;
87 
88 };
89 
90 #endif
PyDat3_t & pydat3()
Returns a reference to the /PYDAT3/ common block.
Definition: StarPythia6.h:65
ABC for defining event generator interfaces.
Definition: StarGenerator.h:34
PyInt5_t & pyint5()
Returns a reference to the /PYINT5/ common block.
Definition: StarPythia6.h:69
PyDat1_t & pydat1()
Returns a reference to the /PYDAT1/ common block.
Definition: StarPythia6.h:63
PySubs_t & pysubs()
Returns a reference to the /PYSUBS/ common block.
Definition: StarPythia6.h:61
End of run statistics for event generators.
Definition: StarGenStats.h:21
PyJets_t & pyjets()
Returns a reference to the /PYJETS/ common block.
Definition: StarPythia6.h:59
Base class for event records.
Definition: StarGenEvent.h:81
Interface to pythia 6.
Definition: StarPythia6.h:48
PyPars_t & pypars()
Returns a reference to the /PYPARS/ common block.
Definition: StarPythia6.h:67