call to TG4StepManager::SetStep moved to the beginning of PreUserTrackingAction()
[u/mrichter/AliRoot.git] / EVGEN / AliPythia.h
CommitLineData
f87cfe57 1#ifndef ALIPYTHIA_H
2#define ALIPYTHIA_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
fe4da5cc 7
95b811fe 8#include <TPythia6.h>
fe4da5cc 9#include "GenTypeDefs.h"
10
95b811fe 11class AliPythia:public TPythia6
fe4da5cc 12{
fe4da5cc 13 public:
75c6d54e 14 virtual ~AliPythia(){;}
fe4da5cc 15 // convert to compressed code and print result (for debugging only)
f87cfe57 16 virtual Int_t CheckedLuComp(Int_t kf);
fe4da5cc 17 // Pythia initialisation for selected processes
18 virtual void ProcInit
19 (Process_t process, Float_t energy, StrucFunc_t strucfunc);
811826d8 20 // treat protons as inside nuclei
21 virtual void SetNuclei(Int_t a1, Int_t a2);
22 // return instance of the singleton
95b811fe 23 static AliPythia* Instance();
24
f87cfe57 25 protected:
95b811fe 26 Process_t fProcess; // Process type
27 Float_t fEcms; // Centre of mass energy
28 StrucFunc_t fStrucFunc; // Structure function
29 static AliPythia* fgAliPythia; // Pointer to single instance
30 private:
31 AliPythia();
f87cfe57 32
3be3dfc7 33 ClassDef(AliPythia,0) //ALICE UI to PYTHIA
fe4da5cc 34};
35
36#endif
37
38
39