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

Annotation of /rawreader/inc/flag.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Dec 10 12:52:36 2006 UTC (17 years, 11 months ago) by cafagna
Branch: MAIN
CVS Tags: v1r14, v1r13
Changes since 1.2: +3 -0 lines
File MIME type: text/plain
*** empty log message ***

1 cafagna 1.2 #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 cafagna 1.1 #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 cafagna 1.3
21     #define CLN2_FLAG 1 //Flag to create Cln2 structure
22     #define CLN1_MEPHI 0 //Flag to put Cln1 file in special directory

  ViewVC Help
Powered by ViewVC 1.1.23