]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/Hcommon.h
Bringing CMakeLists under svn maintenance
[u/mrichter/AliRoot.git] / THijing / Hcommon.h
index a077a6caec94ef9d647604a9ffb9f0e5480bc4fb..9797685bcf4561214fbcaa5e0b6468a89bc85c9f 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef ROOT_HCommon
 #define ROOT_HCommon
 
@@ -353,7 +352,7 @@ COMMON_BLOCK_DEF(Himain1Common,HIMAIN1);
 typedef struct {
    Int_t    katt[4][200000];
    Float_t  patt[4][200000];
-   Float_t  vatt[4][200000];
+   Float_t  vatt[4][200000];    
 } Himain2Common;
 
 #define HIMAIN2 COMMON_BLOCK(HIMAIN2,himain2)
@@ -512,6 +511,33 @@ typedef struct {
 
 #define HISTRNG COMMON_BLOCK(HISTRNG,histrng)
 COMMON_BLOCK_DEF(HistrngCommon,HISTRNG);
+
+
+/*************************************************************************/
+/*           D E S C R I P T I O N :                                     */
+/*-----------------------------------------------------------------------*/
+/*    The following common block is added to record the number of elastic*/
+/*    (NELT, NELP) and inelastic (NINT, NINP) participants               */
+/*                                                                       */
+/*=======================================================================*/
+/*     COMMON/HIJGLBR/NELT,NINT,NELP,NINP                                */
+/*     SAVE  /HIJGLBR/                                                   */
+/*=======================================================================*/
+typedef struct {
+    Int_t    nelt;
+    Int_t    nint;
+    Int_t    nelp;
+    Int_t    ninp;
+    Int_t    npspecp;
+    Int_t    nnspecp;
+    Int_t    npspect;
+    Int_t    nnspect;
+} HijglbrCommon;
+
+#define HIJGLBR COMMON_BLOCK(HIJGLBR,hijglbr)
+COMMON_BLOCK_DEF(HijglbrCommon,HIJGLBR);    
+
+    
 /*************************************************************************/
 /*           D E S C R I P T I O N :                                     */
 /*-----------------------------------------------------------------------*/
@@ -568,6 +594,29 @@ COMMON_BLOCK_DEF(HistrngCommon,HISTRNG);
 /*        the projectile nucleons.                                      */
 /*                                                                      */
 /*=======================================================================*/
+
+//    COMMON/LUDAT1_HIJING/MSTU(200),PARU(200),MSTJ(200),PARJ(200) 
+//     SAVE /LUDAT1_HIJING/
+    typedef struct {
+       Int_t    mstu[200];
+       Float_t  paru[200];
+       Int_t    mstj[200];
+       Float_t  parj[200];
+} Ludat1_HijingCommon;
+
+#define LUDAT1_HIJING COMMON_BLOCK(LUDAT1_HIJING,ludat1_hijing)
+COMMON_BLOCK_DEF(Ludat1_HijingCommon,LUDAT1_HIJING);
 }
 
+//COMMON/LUDAT3_HIJING/MDCY(500, 3),MDME(2000, 2),BRAT(2000),KFDP(2000, 5)
+    typedef struct {
+      Int_t    mdcy[3][500];
+      Int_t    mdme[2][2000];
+      Float_t  brat[2000];
+      Float_t  kfdp[5][2000];
+} Ludat3_HijingCommon;
+
+#define LUDAT3_HIJING COMMON_BLOCK(LUDAT3_HIJING,ludat3_hijing)
+COMMON_BLOCK_DEF(Ludat3_HijingCommon,LUDAT3_HIJING);
+
 #endif