/[PAMELA software]/rawreader/source/descript.h
ViewVC logotype

Contents of /rawreader/source/descript.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 31 14:06:14 2006 UTC (18 years, 3 months ago) by pam-fi
Branch point for: rawreader, MAIN
File MIME type: text/plain
Initial revision

1 using namespace std;
2
3 #include <fstream>
4 #include <stdlib.h>
5 #include <iostream>
6 #include <sstream>
7 #include <stdio.h>
8 #include <math.h>
9 #include <string.h>
10 #include <time.h>
11
12 #include <bitset>
13 #include <new>
14 #include <TSQLServer.h>
15 #include <TSQLResult.h>
16 #include <TSQLRow.h>
17
18 #define CODE1 0xFF //VRL
19 #define CODE2 0x46 //kadr
20 #define CODE3 0xD5 //header
21
22 #define CODE_BYTE1 0xFA //PAMELA
23 #define CODE_BYTE2 0xFE //packet
24 #define CODE_BYTE3 0xDE //header
25
26 #define NumberPack (int)(53) //Number of PAMELA packets
27
28 #define copy(x) ((x)>0 ? "cp" : "copy")
29 #define dir(y) ((y)>0 ? "mkdir" : "md")
30
31 #define Nmax (int)(1.*powf(10.,8.))//maximum allowable size of buffer, in bytes
32
33 #define Limit (int)(1.*powf(10.,5.))//maximum size of PAMELA packet, in bytes

  ViewVC Help
Powered by ViewVC 1.1.23