]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/UA1Common.h
Method ReadNext moved to public (C.Cheshkov)
[u/mrichter/AliRoot.git] / JETAN / UA1Common.h
1 #ifndef ROOT_UA1Common
2 #define ROOT_UA1Common
3
4 #ifndef __CFORTRAN_LOADED
5 #include "cfortran.h"
6 #endif
7
8 extern "C" {
9 // COMMON /UA1JETS/ 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     } UA1JetsCommon;
18
19 #define UA1JETS COMMON_BLOCK(UA1JETS,ua1jets)
20 COMMON_BLOCK_DEF(UA1JetsCommon,UA1JETS);
21
22 // COMMON /UA1CELL/ etaCellSize, phiCellSize
23
24     typedef struct {
25         Float_t etaCellSize;
26         Float_t phiCellSize;
27     } UA1CellCommon;
28
29 #define UA1CELL COMMON_BLOCK(UA1CELL,ua1cell)
30 COMMON_BLOCK_DEF(UA1CellCommon,UA1CELL);
31
32 // COMMON /UA1PARA/ 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     } UA1ParaCommon;
39
40 #define UA1PARA COMMON_BLOCK(UA1PARA,ua1para)
41 COMMON_BLOCK_DEF(UA1ParaCommon,UA1PARA);
42     
43 }
44 #endif
45
46
47