]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/icepack/iceconvert/amanda.h
21-jun-2005 NvE Install scripts for gcc corrected to also include the rdmc stuff
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / amanda.h
CommitLineData
f67e2651 1#ifndef _RDMC_AMANDA_H
2#define _RDMC_AMANDA_H
3
4#define _USE_MATH_DEFINES
5#include <math.h>
6
7#include <malloc.h>
8
9#define PID180 (M_PI/180.)
10
11#define SEC_PER_DAY 86400
12
13
14
15int rdmc_amanda_V(const char *s, mcfile *fp);
16
17int rdmc_rhd_amanda(mcfile *fp); /* reads the format info from the file */
18int rdmc_rarr_amanda(mcfile *fp, array *ar); /* (amanda/f2000 ascii file) */
19
20int rdmc_warr_amanda(const mcfile *fp, const array *ar); /* (amanda) */
21int rdmc_wrend_amanda(const mcfile *fp); /* write end of file (F2000 format) */
22
23#if 0
24/* writes the arry of coment lines essentially as they are */
25int rdmc_wrcomment_amanda(const mcfile *fp, const char *s); /* (amanda) */
26/* writes an array of lines but puts prefix (e.g. "HI ") before each line */
27int rdmc_wrhist_amanda(const mcfile *fp, const char *s, const char *prefix);
28#endif
29
30int rdmc_skipevt_amanda(mcfile *fp); /* (amanda) */
31int rdmc_revt_amanda(mcfile *fp, mevt *ev, array *ar);/* (amanda/f2000 ascii) */
32int rdmc_wevt_amanda(const mcfile *fp, const mevt *ev, const array *ar);/* amanda */
33
34
35#endif
36
37