New versions of GDC and CDH raw data headers. Some CDH getters are added
[u/mrichter/AliRoot.git] / EMCAL / jetfinder / Ecommon.h
1 #ifndef ROOT_ECommon
2 #define ROOT_ECommon
3
4 #ifndef __CFORTRAN_LOADED
5 #include "cfortran.h"
6 #endif
7
8 extern "C" {
9 // COMMON /EMCALJETS/ NJET, ETJ(100), ETAJ(100,2), PHIJ(100,2), NCELLJ(100)
10
11     typedef struct {
12         Int_t   njet;
13         Float_t etj[100];
14         Float_t etaj[2][100];
15         Float_t phij[2][100];
16         Int_t   ncellj[100];
17     } EmcalJetsCommon;
18
19 #define EMCALJETS COMMON_BLOCK(EMCALJETS,emcaljets)
20 COMMON_BLOCK_DEF(EmcalJetsCommon,EMCALJETS);
21
22 // COMMON /EMCALGEO/ etaCellSize, phiCellSize
23
24     typedef struct {
25         Float_t etaCellSize;
26         Float_t phiCellSize;
27     } EmcalCellGeoCommon;
28
29 #define EMCALCELLGEO COMMON_BLOCK(EMCALCELLGEO,emcalcellgeo)
30 COMMON_BLOCK_DEF(EmcalCellGeoCommon,EMCALCELLGEO);
31
32 // COMMON /EMCALJETPARAM/ cone_rad, et_seed, ej_min, et_min
33     typedef struct {
34         Float_t coneRad;
35         Float_t etSeed;
36         Float_t ejMin;
37         Float_t etMin;
38     } EmcalJetParamCommon;
39
40 #define EMCALJETPARAM COMMON_BLOCK(EMCALJETPARAM,emcaljetparam)
41 COMMON_BLOCK_DEF(EmcalJetParamCommon,EMCALJETPARAM);
42     
43 }
44 #endif
45
46
47