-#ifndef ROOT_THijing
-#define ROOT_THijing
+#ifndef THIJING_H
+#define THIJING_H
-//+SEQ,CopyRight,T=NOINCLUDE.
//////////////////////////////////////////////////////////////////////////
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGenerator
-//*KEEP,TGenerator.
#include "TGenerator.h"
-//*KEND.
#endif
+class TObjArray;
class THijing : public TGenerator {
-protected:
-
- Float_t fEfrm;
- TString fFrame;
- TString fProj;
- TString fTarg;
- Int_t fIap;
- Int_t fIzp;
- Int_t fIat;
- Int_t fIzt;
- Float_t fBmin;
- Float_t fBmax;
public:
virtual void GenerateEvent();
virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option="");
-
-// virtual void SetupTest();
+ virtual TObjArray* ImportParticles(Option_t *option="");
//Parameters for the generation:
virtual Int_t GetNFT(Int_t key1, Int_t key2) const;
virtual Float_t GetPT(Int_t key1, Int_t key2) const;
+
+ // common LUDAT1_HIJING common:
+ virtual void SetPARJ(Int_t key, Float_t parm);
+ virtual void SetMSTJ(Int_t key, Int_t parm);
+ virtual void SetMDCY(Int_t key1, Int_t key2, Int_t parm);
+ virtual Int_t GetMDCY(Int_t key1, Int_t key2);
// access to HIJING routines:
virtual void Rluget(Int_t lfn, Int_t move=0);
virtual void Rluset(Int_t lfn, Int_t move=0);
-
- ClassDef(THijing,1) //Interface to Hijing Event Generator
+ virtual void Pylist(Int_t flag);
+ protected:
+
+ Float_t fEfrm; // Energy in the centre of mass (CMS) or lab-frame (LAB)
+ TString fFrame; // Reference frame CMS or LAB
+ TString fProj; // Projectile name
+ TString fTarg; // Target name
+ Int_t fIap; // Atomic number of projectile
+ Int_t fIzp; // Charge number of projectile
+ Int_t fIat; // Atomic number of target
+ Int_t fIzt; // Charge number of target
+ Float_t fBmin; // Minimum impact parameter
+ Float_t fBmax; // Maximum impact parameter
+ ClassDef(THijing,1) //Interface to Hijing Event Generator
};
#endif