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

Contents of /rawreader/inc/descript.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 1 10:56:22 2006 UTC (18 years, 4 months ago) by cafagna
Branch: MAIN
CVS Tags: v1r11
File MIME type: text/plain
First release in the PAMELA environment, some cleanup in the include
files, module function and Makefile added

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

  ViewVC Help
Powered by ViewVC 1.1.23