113{
114
115
116
117
118
119
120
121
122
124
126 run->
SetComment(
"I will not say that women have no character; \n\t\t rather, they have a new one every day. \n \t\t\t\t -- Heine ");
127
128 float width = 150, height = 150;
129 int colomns = 512, rows = 512;
130
132
133 int plateID=111;
134 float up=100, base=200, down=100;
135 float shrU=2, shrD=2;
136
138
139 float z1 = 0, z2=100, z3=300, z4=400;
140
141
142
144
147
150
151 for( int iac=0; iac<nareas; iac++) {
152 printf("Process area: %d (%d)\n", iac, nareas );
153
154 for( int ivc=0; ivc<nviews; ivc++) {
155
156 Int_t iv = ivc;
157 Int_t ia = iac;
158 Float_t xf = 0;
159 Float_t yf = 0;
160 Int_t nft = 16;
161 Int_t nfb = 16;
162
169
170
171
172 float x0=0, y0=0,
z0=0;
173 float ax=0, ay=0;
174
175 for( int itr=0; itr<350; itr++ ) {
176 x0 = gRandom->Rndm()*512;
177 y0 = gRandom->Rndm()*512;
178 z0 = gRandom->Rndm()*400;
179 ax = gRandom->Gaus( 0, 0.1 );
180 ay = gRandom->Gaus( 0, 0.1 );
181 x0 = x0 - ax*(
z0-z1);
182 y0 = y0 - ay*(
z0-z1);
183
184 seg->
Set( x0,y0, z1, ax, ay, 40, 1, 16, itr );
187 }
188
191
192 }
193 }
194
196
197
198}
brick z0
Definition: RecDispMC.C:106
void SetTitle(const char *tit)
Definition: EdbRun.h:133
void SetComment(const char *com)
Definition: EdbRun.h:132
segment of the track
Definition: EdbSegment.h:63
void Set(float x, float y, float z, float tx, float ty, float dz=0, int side=0, int puls=0, int id=0)
Definition: EdbSegment.cxx:93
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
void Clear()
Definition: EdbView.cxx:79
void GenerateClustersSegment(EdbSegment *segment, int n0=25, float sigma=.1)
Definition: EdbView.cxx:567