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

Diff of /rawreader/inc/descript.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by cafagna, Fri Sep 1 10:56:22 2006 UTC revision 1.2 by cafagna, Sun Dec 10 12:21:12 2006 UTC
# Line 1  Line 1 
1  using namespace std;  using namespace std;
2    
3  #include <fstream>  #include <fstream>
4  //  #include <stdlib.h>  #include <stdlib.h>
 #include <cstdlib>  
5  #include <iostream>  #include <iostream>
6  #include <sstream>  #include <sstream>
7  // #include <stdio.h>  #include <stdio.h>
8  #include <cstdio>  #include <math.h>
9  // #include <math.h>  #include <string.h>
10  // #include <string.h>  #include <time.h>
 // #include <time.h>  
 #include <cmath>  
 #include <string>  
 #include <ctime>  
11    
12  #include <bitset>  #include <bitset>
13  #include <new>  #include <new>
14  #include <TSQLServer.h>  #include <TSQLServer.h>
15  #include <TSQLResult.h>  #include <TSQLResult.h>
16  #include <TSQLRow.h>  #include <TSQLRow.h>
   
 #define CODE1 0xFF           //VRL  
 #define CODE2 0x46           //kadr  
 #define CODE3 0xD5           //header  
   
 #define CODE_BYTE1 0xFA      //PAMELA  
 #define CODE_BYTE2 0xFE      //packet  
 #define CODE_BYTE3 0xDE      //header  
   
 #define NumberPack (int)(53) //Number of PAMELA packets  
   
 #define copy(x) ((x)>0 ? "cp" : "copy")  
 #define dir(y) ((y)>0 ? "mkdir" : "md")  
   
 #define Nmax (int)(1.*powf(10.,8.))//maximum allowable size of buffer, in bytes  
   
 #define Limit (int)(1.*powf(10.,5.))//maximum size of PAMELA packet, in bytes                  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23