class TParticle;
class AliGenPythiaEventHeader;
class AliStack;
+class AliRunLoader;
+
class AliGenPythia : public AliGenMC
{
public:
}
// Set quenching mode 0 = no, 1 = AM, 2 = IL
virtual void SetQuench(Int_t flag = 0) {fQuench = flag;}
-
+ virtual void SetHadronisation(Int_t flag = 1) {fHadronisation = flag;}
+ virtual void SetReadFromFile(const Text_t *filname) {fFileName = filname; fReadFromFile = 1;}
// get cross section of process
virtual Float_t GetXsection() const {return fXsection;}
Float_t thresh = 0., Float_t etseed = 4.,
Float_t minet = 10., Float_t r = 1.);
- void LoadEvent(AliStack* stack, Int_t flag = 0);
+ void LoadEvent(AliStack* stack, Int_t flag = 0, Int_t reHadr = 0);
// Getters
virtual Process_t GetProcess() {return fProcess;}
virtual StrucFunc_t GetStrucFunc() {return fStrucFunc;}
Float_t fYHardMax; //higher y-hard cut
Int_t fGinit; //initial state gluon radiation
Int_t fGfinal; //final state gluon radiation
+ Int_t fHadronisation; //hadronisation
+ Int_t fNpartons; //Number of partons before hadronisation
+ Int_t fReadFromFile; //read partons from file
Int_t fQuench; //Flag for quenching
Float_t fPtKick; //Transverse momentum kick
Bool_t fFullEvent; //!Write Full event if true
Bool_t fSetNuclei; // Flag indicating that SetNuclei has been called
//
- CountMode_t fCountMode; // Options for counting when the event will be finished.
- AliGenPythiaEventHeader* fHeader; //! Event header
+ CountMode_t fCountMode; // Options for counting when the event will be finished.
+ AliGenPythiaEventHeader* fHeader; //! Event header
+ AliRunLoader* fRL; //! Run Loader
+ const Text_t* fFileName; //Name of file to read from
// fCountMode = kCountAll --> All particles that end up in the
// stack are counted