/[PAMELA software]/rawreader/inc/flag.h
ViewVC logotype

Contents of /rawreader/inc/flag.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 10 12:21:13 2006 UTC (17 years, 11 months ago) by cafagna
Branch: MAIN
CVS Tags: v1r12
Changes since 1.1: +17 -1 lines
File MIME type: text/plain
*** empty log message ***

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

  ViewVC Help
Powered by ViewVC 1.1.23