1 |
#define CODE1 0xFF //VRL
|
2 |
#define CODE2 0x46 //kadr
|
3 |
#define CODE3 0xD5 //header
|
4 |
|
5 |
#define CODE_BYTE1 0xFA //PAMELA
|
6 |
#define CODE_BYTE2 0xFE //packet
|
7 |
#define CODE_BYTE3 0xDE //header
|
8 |
|
9 |
#define NumberPack (int)(53) //Number of PAMELA packets
|
10 |
|
11 |
#define copy(x) ((x)>0 ? "cp" : "copy")
|
12 |
#define dir(y) ((y)>0 ? "mkdir" : "md")
|
13 |
|
14 |
#define Nmax (int)(1.*powf(10.,8.))//maximum allowable size of buffer, in bytes
|
15 |
|
16 |
#define Limit (int)(1.*powf(10.,5.))//maximum size of PAMELA packet, in bytes
|
17 |
|
18 |
#define GLOBAL_LEN_ER 1 //Flag to account for length error in PAMELA packets
|
19 |
#define VRL_HEADER 1 //Flag to account for VRL headers
|
20 |
|
21 |
#define CLN2_FLAG 1 //Flag to create Cln2 structure - 1; to reject old data in cln2 - 2.
|
22 |
#define CLN1_MEPHI 0 //Flag to put Cln1 file in special directory
|