First commit
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jan 2002 17:29:19 +0000 (17:29 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jan 2002 17:29:19 +0000 (17:29 +0000)
EMCAL/Ecommon.h [new file with mode: 0644]

diff --git a/EMCAL/Ecommon.h b/EMCAL/Ecommon.h
new file mode 100644 (file)
index 0000000..1108153
--- /dev/null
@@ -0,0 +1,47 @@
+#ifndef ROOT_ECommon
+#define ROOT_ECommon
+
+#ifndef __CFORTRAN_LOADED
+#include "cfortran.h"
+#endif
+
+extern "C" {
+// COMMON /EMCALJETS/ NJET, ETJ(100), ETAJ(100,2), PHIJ(100,2), NCELLJ(100)
+
+    typedef struct {
+       Int_t   njet;
+       Float_t etj[100];
+       Float_t etaj[2][100];
+       Float_t phij[2][100];
+       Int_t   ncellj[100];
+    } EmcalJetsCommon;
+
+#define EMCALJETS COMMON_BLOCK(EMCALJETS,emcaljets)
+COMMON_BLOCK_DEF(EmcalJetsCommon,EMCALJETS);
+
+// COMMON /EMCALGEO/ etaCellSize, phiCellSize
+
+    typedef struct {
+       Float_t etaCellSize;
+       Float_t phiCellSize;
+    } EmcalCellGeoCommon;
+
+#define EMCALCELLGEO COMMON_BLOCK(EMCALCELLGEO,emcalcellgeo)
+COMMON_BLOCK_DEF(EmcalCellGeoCommon,EMCALCELLGEO);
+
+// COMMON /EMCALJETPARAM/ cone_rad, et_seed, ej_min, et_min
+    typedef struct {
+       Float_t coneRad;
+       Float_t etSeed;
+       Float_t ejMin;
+       Float_t etMin;
+    } EmcalJetParamCommon;
+
+#define EMCALJETPARAM COMMON_BLOCK(EMCALJETPARAM,emcaljetparam)
+COMMON_BLOCK_DEF(EmcalJetParamCommon,EMCALJETPARAM);
+    
+}
+#endif
+
+
+