00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _RunDescriptor_
00013 #define _RunDescriptor_
00014
00015
00016
00017
00018
00019
00020
00021
00022 struct RunDescriptor {
00023 int x, y, z;
00024 int position;
00025 int length;
00026 int inc;
00027 int nz;
00028 int mychar;
00029 RunDescriptor(int px, int py, int pz, int pposition, int plength, int pinc,int pnz,
00030 int inchar)
00031 : x(px), y (py), z (pz), position(pposition), length(plength),inc( pinc),
00032 nz(pnz), mychar(inchar){}
00033 RunDescriptor(int px, int py, int pz, int pposition, int plength, int pinc, int pnz)
00034 : x(px), y (py), z (pz), position(pposition), length(plength),inc(pinc), nz(pnz)
00035 {mychar=0;}
00036 RunDescriptor(){}
00037 RunDescriptor(int i){}
00038 RunDescriptor(const RunDescriptor &r) {x = r.x; y = r.y; z = r.z;
00039 position = r.position; length = r.length; inc = r.inc; nz=r.nz;
00040 mychar=r.mychar;}
00041 void operator=(const RunDescriptor &r) {x = r.x; y = r.y; z = r.z;
00042 position = r.position; length = r.length; inc = r.inc; nz=r.nz;
00043 mychar=r.mychar;
00044 }
00045 void pup(PUP::er &p) {
00046 p|x;
00047 p|y;
00048 p|z;
00049 p|position;
00050 p|length;
00051 p|inc;
00052 p|nz;
00053 p|mychar;
00054 }
00055 };
00056
00057
00058
00059 #endif
00060