46 for(
int i=0; i<100; i++) {
49 float x = 300*gRandom->Rndm()-150;
50 float y = 300*gRandom->Rndm()-150;
52 float tx = gRandom->Gaus(0,0.3);
53 float ty = gRandom->Gaus(0,0.3);
56 int puls = Min(gRandom->Poisson(10),16);
58 s.
Set( x, y, z, tx, ty,
dz, side, puls,
id);
brick dz
Definition: RecDispMC.C:107
void Set(int id, float x, float y, float tx, float ty, float w, int flag)
Definition: EdbSegP.h:86
Definition: EdbSegment.h:61
EdbSegment * AddSegment(float x, float y, float z, float tx, float ty, float dz=0, int side=0, int puls=0, int id=-1)
Definition: EdbView.h:231
EdbSegP * s
Definition: tlg2pattern.C:32