161 {
162 unsigned int module, theta, phi;
164 RecEmcHitMap::const_iterator ci_HitMap;
166 int ie;
167
168 module = module_ew;
169 if ( module == EmcID::EmcID::getENDCAP_EAST() )
170 {
171
172 }
173 else if ( module == EmcID::EmcID::getENDCAP_WEST() )
174 {
175
176 }
177
178
180 theta-- )
181 {
182
185 {
187 ci_HitMap = aHitMap.find( id );
188 if ( ci_HitMap != aHitMap.end() )
189 {
190 e = ci_HitMap->second.getEnergy();
191 ie = (int)( e * 10 );
192 if ( ie > 9 ) { ie = 9; }
195 {
196
197 }
198
199 if ( ( theta == 0 || theta == 1 ) &&
201 {
202
203 }
204 }
205 else
206 {
209 {
210
211 }
212
213 if ( ( theta == 0 || theta == 1 ) &&
215 {
216
217 }
218 }
220 {
221
222 }
224 {
225
226 }
227 }
228
229 }
230
231
233 theta++ )
234 {
235
238 {
240 ci_HitMap = aHitMap.find( id );
241 if ( ci_HitMap != aHitMap.end() )
242 {
243 e = ci_HitMap->second.getEnergy();
244 ie = (int)( e * 10 );
245 if ( ie > 9 ) { ie = 9; }
246 if ( ( theta < 4 ) &&
248 {
249
250 }
251
252 if ( ( theta == 0 || theta == 1 ) &&
254 {
255
256 }
257 }
258 else
259 {
260 if ( ( theta < 4 ) &&
262 {
263
264 }
265
266 if ( ( theta == 0 || theta == 1 ) &&
268 {
269
270 }
271 }
273 {
274
275 }
277 {
278
279 }
280 }
281
282 }
283
284}
static unsigned int getTHETA_ENDCAP_MIN()
static unsigned int getTHETA_ENDCAP_MAX()
static unsigned int getPHI_ENDCAP_MAX(const unsigned int theta)
static unsigned int getPHI_ENDCAP_MIN()