]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/icepack/iceconvert/baikal.h
Removing useless const to avoid warnings on alphacxx6
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / baikal.h
1
2 #ifndef _RDMC_BAIKAL_H
3 #define _RDMC_BAIKAL_H
4
5 int rdmc_rarr_baikal_mc(mcfile *fp,array *ar);         /* (baikal mc/data file) */
6
7 int rdmc_revt_baikal(mcfile *fp, mevt *ev, const array *ar);        /* (baikal) */
8 int rdmc_revt_baikal_mc(mcfile *fp, mevt *ev, const array *ar);  /* (baikal mc) */
9 int rdmc_revt_baikal_data(mcfile *fp, mevt *ev, const array *ar);/* (baikal data)*/
10 int rdmc_revt_baikal_zeu(mcfile *fp, mevt *ev, const array *ar);/* (zeuthen format) */
11 int rdmc_revt_baikal_mos(mcfile *fp, mevt *ev, const array *ar); /* (moscow format) */
12
13 int rdmc_skipevt_baikal_mc(mcfile *fp);                             /* (baikal mc/data) */
14
15 int rdmc_warr_baikal_mc(mcfile *fp, const array *ar);               /* (baikal mc/data) */
16
17 int rdmc_wevt_baikal_mc(mcfile *fp, const mevt *ev, const array *ar);   /* (baikal mc) */
18 int rdmc_wevt_baikal_data(mcfile *fp, const mevt *ev, const array *ar);  /* (baikal data) */
19 int rdmc_wevt_baikal_mos(mcfile *fp, const mevt *ev, const array *ar);  /* (moscow format) */
20
21 int rdmc_wrcomment_baikal_mc(const mcfile *fp, const char *s); /* (baikal, just a dummy) */
22
23 int rdmc_rhd_baikal_mc(mcfile *fp);  /* reads the format info from the file */
24
25
26 long rdmc_mcgeti(mcfile *fp);                            /* reads a int (4 byte) */
27 long rdmc_mcputi(long i, mcfile *fp);                   /* writes a int (4 byte) */
28 double rdmc_mcgetf(mcfile *fp);                /* reads a float (4 byte) from fp */
29 double rdmc_mcputf(double r, mcfile *fp);       /* writes a float (4 byte) to fp */
30 int rdmc_mcseek(mcfile *fp, long n);                /* seeks over n 4-byte-words */
31 long rdmc_swap(long i);                                       /* swaps the bytes */
32
33
34 #endif