Restoring the functionallity of the PAR files: partial fix
[u/mrichter/AliRoot.git] / JETAN / UA1Common.h
CommitLineData
99e5fe42 1#ifndef ROOT_UA1Common
2#define ROOT_UA1Common
3
4#ifndef __CFORTRAN_LOADED
5#include "cfortran.h"
6#endif
7
8extern "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];
83a444b1 17 Float_t etavg;
99e5fe42 18 } UA1JetsCommon;
19
20#define UA1JETS COMMON_BLOCK(UA1JETS,ua1jets)
21COMMON_BLOCK_DEF(UA1JetsCommon,UA1JETS);
22
23// COMMON /UA1CELL/ etaCellSize, phiCellSize
24
25 typedef struct {
26 Float_t etaCellSize;
27 Float_t phiCellSize;
28 } UA1CellCommon;
29
30#define UA1CELL COMMON_BLOCK(UA1CELL,ua1cell)
31COMMON_BLOCK_DEF(UA1CellCommon,UA1CELL);
32
33// COMMON /UA1PARA/ cone_rad, et_seed, ej_min, et_min
34 typedef struct {
35 Float_t coneRad;
36 Float_t etSeed;
37 Float_t ejMin;
38 Float_t etMin;
39 } UA1ParaCommon;
40
41#define UA1PARA COMMON_BLOCK(UA1PARA,ua1para)
42COMMON_BLOCK_DEF(UA1ParaCommon,UA1PARA);
43
44}
45#endif
46
47
48