]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/THijing.h
Coverity fixes
[u/mrichter/AliRoot.git] / THijing / THijing.h
index 9ccc00eabdd33adb04680853a942e16fa8513adf..58420aa04993b03d0ccc775559a6ec8e82ccedfa 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef ROOT_TGenerator
 #include "TGenerator.h"
 #endif
+class TObjArray;
 
 class THijing : public TGenerator {
 
@@ -30,6 +31,7 @@ public:
    virtual void        GenerateEvent();
 
    virtual Int_t       ImportParticles(TClonesArray *particles, Option_t *option="");
+   virtual TObjArray*  ImportParticles(Option_t *option="");
 
 
    //Parameters for the generation:
@@ -174,6 +176,8 @@ public:
    // 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:
 
@@ -189,21 +193,20 @@ public:
 
    virtual void         Rluget(Int_t lfn, Int_t move=0);
    virtual void         Rluset(Int_t lfn, Int_t move=0);   
-
+   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
+    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