source: fact/tools/FAD/fadtoraw/fadtoraw.h@ 13408

Last change on this file since 13408 was 9904, checked in by neise, 14 years ago
FAD dat-file to M0-fileformat (raw) converter initial commit
File size: 564 bytes
Line 
1#ifndef FADTORAW_H_
2#define FADTORAW_H_
3#include <sys/time.h>
4#include <ctime>
5#include "../format_headers/formatfad.h"
6#include "../format_headers/formatraw.h"
7#include <stdio.h>
8#include <stdlib.h>
9#include <netinet/in.h>
10#include <string.h>
11
12
13#include <iostream>
14#include <fstream>
15
16
17#ifndef PATH_MAX
18#define PATH_MAX 1000
19#endif //PATH_MAX
20
21// converts FAD -> .RAW
22int fadtoraw(char *inputfilename, timeval starttime, timeval endtime, int runnum);
23int write_RAWheader (BoardStructure *rawBoard, RunHeader &RawRunHeader, FILE *RAWfile) ;
24
25#endif // FADTORAW_H_
Note: See TracBrowser for help on using the repository browser.