]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/THijing.h
include kT interp exception for narrower pT intervals
[u/mrichter/AliRoot.git] / THijing / THijing.h
index af93f1c6fcc79c6eec9b1c4f937e2da9aa672b03..721101cadcfc6f0a42875562817a848a08b34c09 100644 (file)
@@ -1,7 +1,6 @@
-#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:
    
@@ -45,8 +31,7 @@ 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:
@@ -97,6 +82,8 @@ public:
    
    virtual Int_t       GetNATT() const;
 
+   virtual Int_t       GetNPART() const;
+
    virtual Float_t     GetEATT() const;
 
    virtual Int_t       GetJATT() const;
@@ -113,8 +100,7 @@ public:
 
    virtual Int_t       GetN11() const;
 
-   virtual Float_t     GetBB() const;
-
+   virtual Float_t     GetBB()     const;
 
    // common HIMAIN2 access routines - read-only common:
 
@@ -187,7 +173,14 @@ public:
    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 void        SetMDME(Int_t key1, Int_t key2, Int_t   parm);   
+   virtual void        SetBRAT(Int_t key, Float_t   parm);   
+   virtual Int_t       GetMDCY(Int_t key1, Int_t key2);   
    // access to HIJING routines:
 
    virtual void         Hijset(float efrm, const char* frame, const char*
@@ -202,8 +195,21 @@ public:
 
    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);
+   virtual void         Luupda(Int_t mupda, Int_t lfn);
+   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