295 {
296
297 TString opt = option;
298 opt.ToUpper();
299
302
303 if (fCrystalXY) {
304 fCrystalXY->SetLineColor(lcCrystal);
305 fCrystalXY->SetLineWidth(lwCrystal);
306 fCrystalXY->SetFillColor(fcCrystal);
307 fCrystalXY->SetFillStyle(fsCrystal);
308 }
309
311 if (fCrystalXY) {
312 fCrystalXY->SetFillStyle(fsCrystalTrans);
313 }
314 if (fCrystalXYFired) {
315 fCrystalXYFired->SetLineColor(lcCrystalFired);
316 fCrystalXYFired->SetLineWidth(lwCrystalFired);
317 fCrystalXYFired->SetFillColor(fcCrystalFired);
318 fCrystalXYFired->SetFillStyle(fsCrystalFired);
319 }
320 }
321
323 if (fCrystalXY) {
324 fCrystalXY->SetLineColor(lcCrystalHL);
325 fCrystalXY->SetLineWidth(lwCrystalHL);
326 fCrystalXY->SetFillColor(fcCrystalHL);
327 fCrystalXY->SetFillStyle(fsCrystalHL);
328 }
329 if (fCrystalXYFired) {
330 fCrystalXYFired->SetLineColor(lcCrystalFiredHL);
331 fCrystalXYFired->SetLineWidth(lwCrystalFiredHL);
332 fCrystalXYFired->SetFillColor(fcCrystalFiredHL);
333 fCrystalXYFired->SetFillStyle(fsCrystalFiredHL);
334 }
335 }
336
343 if (fCrystalXYFired) {
345
346
348 fCrystalXYFired->
SetSize(fCharge/fChargeMax);
349 fCrystalXYFired->
Paint();
350 }
351 }
352 }
353 }
354
358 if (fCrystalZRFired) {
359 fCrystalZRFired->SetLineColor(lcCrystalFired);
360 fCrystalZRFired->SetLineWidth(lwCrystalFired);
361 fCrystalZRFired->SetFillColor(fcCrystalFired);
362 fCrystalZRFired->SetFillStyle(fsCrystalFired);
363 }
364 }
365
366 if (fCrystalZR) {
367 fCrystalZR->SetLineColor(lcCrystal);
368 fCrystalZR->SetLineWidth(lwCrystal);
369 fCrystalZR->SetFillColor(fcCrystal);
370 fCrystalZR->SetFillStyle(fsCrystal);
371 }
372
374 if (fCrystalZR) {
375 fCrystalZR->SetLineColor(lcCrystalHL);
376 fCrystalZR->SetLineWidth(lwCrystalHL);
377 fCrystalZR->SetFillColor(fcCrystalHL);
378 fCrystalZR->SetFillStyle(fsCrystalHL);
379 }
380 if (fCrystalZRFired) {
381 fCrystalZRFired->SetLineColor(lcCrystalFiredHL);
382 fCrystalZRFired->SetLineWidth(lwCrystalFiredHL);
383 fCrystalZRFired->SetFillColor(fcCrystalFiredHL);
384 fCrystalZRFired->SetFillStyle(fsCrystalFiredHL);
385 }
386 }
387
388 if ( fCrystalZR ) fCrystalZR->
Paint();
394 if (fCrystalZRFired) {
395
397 fCrystalZRFired->
SetSize(fCharge/fChargeMax);
398 fCrystalZRFired->
Paint();
399 }
400 }
401 }
402 }
403
404
406 if (fCrystalSideFired) {
407 fCrystalSideFired->SetLineColor(lcCrystalFired);
408 fCrystalSideFired->SetLineWidth(lwCrystalFired);
409 fCrystalSideFired->SetFillColor(fcCrystalFired);
410 fCrystalSideFired->SetFillStyle(fsCrystalFired);
411 }
412 }
413
414 if (fCrystalSide) {
415 fCrystalSide->SetLineColor(lcCrystal);
416 fCrystalSide->SetLineWidth(lwCrystal);
417 fCrystalSide->SetFillColor(fcCrystal);
418 fCrystalSide->SetFillStyle(fsCrystal);
419 }
420
422 if (fCrystalSide) {
423 fCrystalSide->SetLineColor(lcCrystalHL);
424 fCrystalSide->SetLineWidth(lwCrystalHL);
425 fCrystalSide->SetFillColor(fcCrystalHL);
426 fCrystalSide->SetFillStyle(fsCrystalHL);
427 }
428 if (fCrystalSideFired) {
429 fCrystalSideFired->SetLineColor(lcCrystalFiredHL);
430 fCrystalSideFired->SetLineWidth(lwCrystalFiredHL);
431 fCrystalSideFired->SetFillColor(fcCrystalFiredHL);
432 fCrystalSideFired->SetFillStyle(fsCrystalFiredHL);
433 }
434 }
435
440 if (fCrystalSideFired) {
441
443 fCrystalSideFired->
SetSize(fCharge/fChargeMax);
444 fCrystalSideFired->
Paint();
445 }
446 }
447 }
448 }
449 }
450}
virtual void SetSize(Double_t size)
virtual void Paint(Option_t *option="")
Bool_t GetVisEmcHitsBarrel()
Bool_t GetVisEmcHitsGlobal()
Bool_t GetVisEmcHitsWest()
Bool_t GetVisEmcHitsEast()