]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/Ecommon.h
Added new plots
[u/mrichter/AliRoot.git] / EMCAL / Ecommon.h
CommitLineData
3c8fa63c 1#ifndef ROOT_ECommon
2#define ROOT_ECommon
3
4#ifndef __CFORTRAN_LOADED
5#include "cfortran.h"
6#endif
7
8extern "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)
20COMMON_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)
30COMMON_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)
41COMMON_BLOCK_DEF(EmcalJetParamCommon,EMCALJETPARAM);
42
43}
44#endif
45
46
47