49 Long_t i_this = (Long_t)
this;
62 Long_t iEcalNumbering = pObjectManager->
GetPointerValue(
"TEcnaNumbering");
63 if( iEcalNumbering == 0 )
147 if( pEcal ==
nullptr )
157 if( pEcalNumbering ==
nullptr )
222 if( HistoCode ==
"D_Adc_EvNb" || HistoCode ==
"D_NOE_ChNb" ||
223 HistoCode ==
"D_Ped_ChNb" || HistoCode ==
"D_LFN_ChNb" ||
224 HistoCode ==
"D_TNo_ChNb" || HistoCode ==
"D_HFN_ChNb" ||
225 HistoCode ==
"D_MCs_ChNb" || HistoCode ==
"D_SCs_ChNb" ||
226 HistoCode ==
"H_Ped_Date" || HistoCode ==
"H_TNo_Date" ||
227 HistoCode ==
"H_MCs_Date" || HistoCode ==
"H_LFN_Date" ||
228 HistoCode ==
"H_HFN_Date" || HistoCode ==
"H_SCs_Date" ||
229 (HistoCode ==
"D_MSp_SpNb" && opt_plot !=
"ONLYONE") ||
230 (HistoCode ==
"D_SSp_SpNb" && opt_plot !=
"ONLYONE") )
235 if( (HistoCode ==
"D_Adc_EvDs" || HistoCode ==
"D_NOE_ChDs" ||
236 HistoCode ==
"D_Ped_ChDs" || HistoCode ==
"D_LFN_ChDs" ||
237 HistoCode ==
"D_TNo_ChDs" || HistoCode ==
"D_HFN_ChDs" ||
238 HistoCode ==
"D_MCs_ChDs" || HistoCode ==
"D_SCs_ChDs" ||
239 HistoCode ==
"D_MSp_SpDs" || HistoCode ==
"D_SSp_SpDs" ||
240 HistoCode ==
"H_Ped_RuDs" || HistoCode ==
"H_TNo_RuDs" ||
241 HistoCode ==
"H_MCs_RuDs" || HistoCode ==
"H_LFN_RuDs" ||
242 HistoCode ==
"H_HFN_RuDs" || HistoCode ==
"H_SCs_RuDs") && opt_plot !=
"ONLYONE" )
256 if( HistoCode ==
"D_Adc_EvNb" || HistoCode ==
"D_NOE_ChNb" ||
257 HistoCode ==
"D_Ped_ChNb" || HistoCode ==
"D_LFN_ChNb" ||
258 HistoCode ==
"D_TNo_ChNb" || HistoCode ==
"D_HFN_ChNb" ||
259 HistoCode ==
"D_MCs_ChNb" || HistoCode ==
"D_SCs_ChNb" ||
260 HistoCode ==
"H_Ped_Date" || HistoCode ==
"H_TNo_Date" ||
261 HistoCode ==
"H_MCs_Date" || HistoCode ==
"H_LFN_Date" ||
262 HistoCode ==
"H_HFN_Date" || HistoCode ==
"H_SCs_Date" ||
263 (HistoCode ==
"D_MSp_SpNb" && opt_plot !=
"ONLYONE") ||
264 (HistoCode ==
"D_SSp_SpNb" && opt_plot !=
"ONLYONE") )
269 if( (HistoCode ==
"D_Adc_EvDs" || HistoCode ==
"D_NOE_ChDs" ||
270 HistoCode ==
"D_Ped_ChDs" || HistoCode ==
"D_LFN_ChDs" ||
271 HistoCode ==
"D_TNo_ChDs" || HistoCode ==
"D_HFN_ChDs" ||
272 HistoCode ==
"D_MCs_ChDs" || HistoCode ==
"D_SCs_ChDs" ||
273 HistoCode ==
"D_MSp_SpDs" || HistoCode ==
"D_SSp_SpDs" ||
274 HistoCode ==
"H_Ped_RuDs" || HistoCode ==
"H_TNo_RuDs" ||
275 HistoCode ==
"H_MCs_RuDs" || HistoCode ==
"H_LFN_RuDs" ||
276 HistoCode ==
"H_HFN_RuDs" || HistoCode ==
"H_SCs_RuDs") && opt_plot !=
"ONLYONE" )
290 if ( chformat ==
"petit" ){canv_w = 375;}
291 if ( chformat ==
"moyen" ){canv_w = 450;}
292 if ( chformat ==
"grand" ){canv_w = 572;}
294 if ( chformat ==
"etaphiSM" ){canv_w = 760;}
295 if ( chformat ==
"phietaEB" ){canv_w = 636;}
297 if ( chformat ==
"IXIYDee" ){canv_w = 320;}
298 if ( chformat ==
"IYIXEE" ){canv_w = 636;}
308 if ( chformat ==
"petit" ){canv_h = 530;}
309 if ( chformat ==
"moyen" ){canv_h = 636;}
310 if ( chformat ==
"grand" ){canv_h = 810;}
312 if ( chformat ==
"etaphiSM" ){canv_h = 306;}
313 if ( chformat ==
"phietaEB" ){canv_h = 450;}
315 if ( chformat ==
"IXIYDee" ){canv_h = 720;}
316 if ( chformat ==
"IYIXEE" ){canv_h = 450;}
329 Double_t
value = 0.4;
331 if ( chtype ==
"general_comment" ) {value = 0.015;}
333 if ( chtype ==
"top_left_box_SM" ) {value = 0.015;}
334 if ( chtype ==
"top_left_box_EB" ) {value = 0.015;}
335 if ( chtype ==
"top_mid_box_EB" ) {value = 0.350;}
336 if ( chtype ==
"top_right_box_EB" ) {value = 0.630;}
338 if ( chtype ==
"top_left_box_Dee" ) {value = 0.015;}
339 if ( chtype ==
"top_left_box_EE" ) {value = 0.015;}
340 if ( chtype ==
"top_mid_box_EE" ) {value = 0.240;}
341 if ( chtype ==
"top_right_box_EE" ) {value = 0.610;}
343 if ( chtype ==
"bottom_left_box" ) {value = 0.015;}
344 if ( chtype ==
"bottom_left_box_evol" ) {value = 0.015;}
345 if ( chtype ==
"bottom_mid_box" ) {value = 0.250;}
346 if ( chtype ==
"bottom_right_box" ) {value = 0.455;}
347 if ( chtype ==
"bottom_right_box_evol") {value = 0.540;}
348 if ( chtype ==
"bottom_right_box_evpr") {value = 0.540;}
350 if ( chtype ==
"several_plots_box" ) {value = 0.015;}
351 if ( chtype ==
"several_evol_box" ) {value = 0.015;}
352 if ( chtype ==
"several_evpr_box" ) {value = 0.015;}
361 Double_t
value = 0.6;
363 if ( chtype ==
"general_comment" ) {value = 0.680;}
365 if ( chtype ==
"top_left_box_SM" ) {value = 0.125;}
366 if ( chtype ==
"top_left_box_EB" ) {value = 0.349;}
367 if ( chtype ==
"top_mid_box_EB" ) {value = 0.629;}
368 if ( chtype ==
"top_right_box_EB" ) {value = 0.985;}
370 if ( chtype ==
"top_left_box_Dee" ) {value = 0.425;}
371 if ( chtype ==
"top_left_box_EE" ) {value = 0.260;}
372 if ( chtype ==
"top_mid_box_EE" ) {value = 0.609;}
373 if ( chtype ==
"top_right_box_EE" ) {value = 0.985;}
375 if ( chtype ==
"bottom_left_box" ) {value = 0.445;}
376 if ( chtype ==
"bottom_left_box_evol" ) {value = 0.450;}
377 if ( chtype ==
"bottom_mid_box" ) {value = 0.750;}
378 if ( chtype ==
"bottom_right_box" ) {value = 0.985;}
379 if ( chtype ==
"bottom_right_box_evol") {value = 0.985;}
380 if ( chtype ==
"bottom_right_box_evpr") {value = 0.985;}
382 if ( chtype ==
"several_plots_box" ) {value = 0.985;}
383 if ( chtype ==
"several_evol_box" ) {value = 0.635;}
384 if ( chtype ==
"several_evpr_box" ) {value = 0.635;}
393 Double_t
value = 0.8;
395 if ( chtype ==
"general_comment" ) {value = 0.960;}
397 if ( chtype ==
"top_left_box_SM" ) {value = 0.880;}
398 if ( chtype ==
"top_left_box_EB" ) {value = 0.880;}
399 if ( chtype ==
"top_mid_box_EB" ) {value = 0.880;}
400 if ( chtype ==
"top_right_box_EB" ) {value = 0.880;}
402 if ( chtype ==
"top_left_box_Dee" ) {value = 0.925;}
403 if ( chtype ==
"top_left_box_EE" ) {value = 0.880;}
404 if ( chtype ==
"top_mid_box_EE" ) {value = 0.880;}
405 if ( chtype ==
"top_right_box_EE" ) {value = 0.880;}
407 if ( chtype ==
"bottom_left_box" ) {value = 0.010;}
408 if ( chtype ==
"bottom_left_box_evol" ) {value = 0.010;}
409 if ( chtype ==
"bottom_right_box" ) {value = 0.010;}
410 if ( chtype ==
"bottom_right_box_evol") {value = 0.010;}
411 if ( chtype ==
"bottom_right_box_evpr") {value = 0.010;}
412 if ( chtype ==
"several_plots_box" ) {value = 0.010;}
413 if ( chtype ==
"several_evol_box" ) {value = 0.010;}
414 if ( chtype ==
"several_evpr_box" ) {value = 0.010;}
423 Double_t
value = 0.9;
425 if ( chtype ==
"general_comment" ) {value = 0.999;}
427 if ( chtype ==
"top_left_box_SM" ) {value = 0.955;}
428 if ( chtype ==
"top_left_box_EB" ) {value = 0.955;}
429 if ( chtype ==
"top_mid_box_EB" ) {value = 0.955;}
430 if ( chtype ==
"top_right_box_EB" ) {value = 0.955;}
432 if ( chtype ==
"top_left_box_Dee" ) {value = 0.969;}
433 if ( chtype ==
"top_left_box_EE" ) {value = 0.955;}
434 if ( chtype ==
"top_mid_box_EE" ) {value = 0.955;}
435 if ( chtype ==
"top_right_box_EE" ) {value = 0.955;}
437 if ( chtype ==
"bottom_left_box" ) {value = 0.120;}
438 if ( chtype ==
"bottom_left_box_evol" ) {value = 0.120;}
439 if ( chtype ==
"bottom_right_box" ) {value = 0.120;}
440 if ( chtype ==
"bottom_right_box_Dee" ) {value = 0.100;}
442 if ( chtype ==
"bottom_right_box_evol") {value = 0.120;}
443 if ( chtype ==
"bottom_right_box_evpr") {value = 0.120;}
444 if ( chtype ==
"several_plots_box" ) {value = 0.200;}
445 if ( chtype ==
"several_evol_box" ) {value = 0.200;}
446 if ( chtype ==
"several_evpr_box" ) {value = 0.200;}
463 if (!(user_color_palette ==
"Rainbow" || user_color_palette ==
"rainbow") ){
fMaxColorNumber = 5;}
464 if ( user_color_palette ==
"Rainbow" || user_color_palette ==
"rainbow" ){
fMaxColorNumber = 6;}
473 TColor* my_color =
new TColor();
483 if(user_color_number == 3){couleur = (Color_t)my_color->GetColor(
"#009900");}
485 if(user_color_number == 5){couleur = (Color_t)my_color->GetColor(
"#9900BB");}
491 if(user_color_number == 0){couleur = (Color_t)my_color->GetColor(
"#EE0000");}
492 if(user_color_number == 1){couleur = (Color_t)my_color->GetColor(
"#FF6611");}
493 if(user_color_number == 2){couleur = (Color_t)my_color->GetColor(
"#FFCC00");}
494 if(user_color_number == 3){couleur = (Color_t)my_color->GetColor(
"#009900");}
495 if(user_color_number == 4){couleur = (Color_t)my_color->GetColor(
"#0044EE");}
496 if(user_color_number == 5){couleur = (Color_t)my_color->GetColor(
"#6633BB");}
497 if(user_color_number == 6){couleur = (Color_t)my_color->GetColor(
"#9900BB");}
500 if( user_color_number < 0 || user_color_number >
fMaxColorNumber ){couleur = 0;}
514 if ( chcolor ==
"noir" ) {couleur = 1;}
515 if ( chcolor ==
"rouge" ) {couleur = 2;}
516 if ( chcolor ==
"vert_fonce" ) {couleur = 3;}
517 if ( chcolor ==
"bleu_fonce" ) {couleur = 4;}
518 if ( chcolor ==
"jaune" ) {couleur = 5;}
519 if ( chcolor ==
"rose" ) {couleur = 6;}
520 if ( chcolor ==
"bleu_clair" ) {couleur = 7;}
521 if ( chcolor ==
"vert" ) {couleur = 8;}
522 if ( chcolor ==
"bleu" ) {couleur = 9;}
523 if ( chcolor ==
"blanc" ) {couleur = 10;}
525 if ( chcolor ==
"marron23" ) {couleur = 23;}
526 if ( chcolor ==
"marron24" ) {couleur = 24;}
527 if ( chcolor ==
"marron25" ) {couleur = 24;}
528 if ( chcolor ==
"marron27" ) {couleur = 27;}
529 if ( chcolor ==
"marron28" ) {couleur = 28;}
531 if ( chcolor ==
"bleu33" ) {couleur = 33;}
532 if ( chcolor ==
"bleu36" ) {couleur = 36;}
533 if ( chcolor ==
"bleu38" ) {couleur = 38;}
534 if ( chcolor ==
"bleu39" ) {couleur = 39;}
536 if ( chcolor ==
"orange41" ) {couleur = 41;}
537 if ( chcolor ==
"orange42" ) {couleur = 42;}
539 if ( chcolor ==
"rouge44" ) {couleur = 44;}
540 if ( chcolor ==
"rouge46" ) {couleur = 46;}
541 if ( chcolor ==
"rouge47" ) {couleur = 47;}
542 if ( chcolor ==
"rouge48" ) {couleur = 48;}
543 if ( chcolor ==
"rouge49" ) {couleur = 49;}
544 if ( chcolor ==
"rouge50" ) {couleur = 50;}
546 if ( chcolor ==
"vert31" ) {couleur = 31;}
547 if ( chcolor ==
"vert32" ) {couleur = 32;}
548 if ( chcolor ==
"vert36" ) {couleur = 36;}
549 if ( chcolor ==
"vert37" ) {couleur = 37;}
551 if ( chcolor ==
"violet" ) {couleur = 49;}
553 if ( chcolor ==
"turquoise29") {couleur = 29;}
555 if ( chcolor ==
"gris12" ) {couleur = 12;}
556 if ( chcolor ==
"gris13" ) {couleur = 13;}
557 if ( chcolor ==
"gris14" ) {couleur = 14;}
558 if ( chcolor ==
"gris15" ) {couleur = 15;}
559 if ( chcolor ==
"gris16" ) {couleur = 16;}
560 if ( chcolor ==
"gris17" ) {couleur = 17;}
561 if ( chcolor ==
"gris18" ) {couleur = 18;}
584 gStyle->SetPalette(1,
nullptr);
587 gStyle->SetOptDate(0);
590 gStyle->SetTitleW(0.5); gStyle->SetTitleH(0.075);
592 if( HistoType ==
"colz" || HistoType ==
"lego" ||
593 HistoType ==
"surf" || HistoType ==
"Stin" )
594 {gStyle->SetTitleW(0.8); gStyle->SetTitleH(0.075);}
596 if( (HistoType ==
"H1Basic") || (HistoType ==
"Evol") )
597 {gStyle->SetTitleW(0.5); gStyle->SetTitleH(0.075);}
599 if( HistoType ==
"Stex2DEB" )
600 {gStyle->SetTitleW(0.2); gStyle->SetTitleH(0.095);}
602 if( HistoType ==
"Stex2DEE" )
603 {gStyle->SetTitleW(0.45); gStyle->SetTitleH(0.08);}
605 if( HistoType ==
"Stex2DEENb" )
606 {gStyle->SetTitleW(0.85); gStyle->SetTitleH(0.08);}
608 if( HistoType ==
"Stas2DEB" || HistoType ==
"Stas2DEE" )
609 {gStyle->SetTitleW(0.225); gStyle->SetTitleH(0.095);}
611 if(HistoType ==
"Global" || HistoType ==
"Proj" || HistoType ==
"SampProj" || HistoType ==
"EvolProj")
612 {gStyle->SetTitleW(0.5); gStyle->SetTitleH(0.08);}
615 gStyle->SetOptStat(1110);
618 if( HistoType ==
"colz" || HistoType ==
"lego" ||
619 HistoType ==
"surf" || HistoType ==
"Stin" )
621 gStyle->SetStatW(0.55); gStyle->SetStatH(0.2);
625 if( HistoType ==
"Global" )
627 gStyle->SetStatW(0.375); gStyle->SetStatH(0.180);
628 gStyle->SetStatY(0.9875);
630 if( HistoType ==
"Proj" || HistoType ==
"SampProj" || HistoType ==
"EvolProj" )
632 gStyle->SetStatW(0.375); gStyle->SetStatH(0.180);
633 gStyle->SetStatY(0.9875);
636 if( (HistoType ==
"H1Basic") || (HistoType ==
"Evol") )
638 gStyle->SetStatW(0.375); gStyle->SetStatH(0.180);
639 gStyle->SetStatY(0.9875);
644 gStyle->SetMarkerStyle(1);
645 if( HistoType ==
"Global" ){gStyle->SetMarkerStyle(20);}
656 gStyle->SetPadBottomMargin(0.125);
657 gStyle->SetPadTopMargin(0.125);
658 gStyle->SetPadLeftMargin(0.125);
659 gStyle->SetPadRightMargin(0.125);
661 if(HistoType ==
"colz" || HistoType ==
"lego" ||
662 HistoType ==
"surf" || HistoType ==
"Stin")
664 gStyle->SetPadBottomMargin(0.125);
665 gStyle->SetPadTopMargin(0.135);
666 gStyle->SetPadLeftMargin(0.135);
667 gStyle->SetPadRightMargin(0.135);
670 if( HistoType ==
"Stex2DEB" )
672 gStyle->SetPadBottomMargin(0.145);
673 gStyle->SetPadTopMargin(0.135);
674 gStyle->SetPadLeftMargin(0.125);
675 gStyle->SetPadRightMargin(0.125);
678 if( HistoType ==
"Stex2DEE" || HistoType ==
"Stex2DEENb")
680 gStyle->SetPadBottomMargin(0.120);
681 gStyle->SetPadTopMargin(0.110);
682 gStyle->SetPadLeftMargin(0.130);
683 gStyle->SetPadRightMargin(0.130);
685 if( HistoType ==
"Stas2DEB" )
687 gStyle->SetPadBottomMargin(0.145);
688 gStyle->SetPadTopMargin(0.135);
689 gStyle->SetPadLeftMargin(0.125);
690 gStyle->SetPadRightMargin(0.125);
693 if( HistoType ==
"Stas2DEE")
695 gStyle->SetPadBottomMargin(0.145);
696 gStyle->SetPadTopMargin(0.135);
697 gStyle->SetPadLeftMargin(0.105);
698 gStyle->SetPadRightMargin(0.115);
700 if(HistoType ==
"Global")
702 gStyle->SetPadBottomMargin((Float_t)0.125);
703 gStyle->SetPadTopMargin((Float_t)0.175);
704 gStyle->SetPadLeftMargin((Float_t)0.115);
705 gStyle->SetPadRightMargin((Float_t)0.05);
708 if(HistoType ==
"Proj" || HistoType ==
"SampProj")
710 gStyle->SetPadBottomMargin(0.115);
711 gStyle->SetPadTopMargin(0.155);
712 gStyle->SetPadLeftMargin(0.15);
713 gStyle->SetPadRightMargin(0.05);
716 if( HistoType ==
"H1Basic" )
718 gStyle->SetPadBottomMargin(0.1275);
719 gStyle->SetPadTopMargin(0.165);
720 gStyle->SetPadLeftMargin(0.15);
721 gStyle->SetPadRightMargin(0.05);
724 if( HistoType ==
"Evol" && opt_plot ==
"ONLYONE")
726 gStyle->SetPadBottomMargin(0.110);
727 gStyle->SetPadTopMargin(0.2);
728 gStyle->SetPadLeftMargin(0.115);
729 gStyle->SetPadRightMargin(0.035);
731 if( HistoType ==
"Evol" && opt_plot ==
"SAME")
733 gStyle->SetPadBottomMargin(0.110);
734 gStyle->SetPadTopMargin(0.185);
735 gStyle->SetPadLeftMargin(0.115);
736 gStyle->SetPadRightMargin(0.035);
738 if( HistoType ==
"Evol" && opt_plot ==
"SAME n")
740 gStyle->SetPadBottomMargin(0.110);
741 gStyle->SetPadTopMargin(0.1);
742 gStyle->SetPadLeftMargin(0.115);
743 gStyle->SetPadRightMargin(0.035);
746 if( HistoType ==
"EvolProj" && opt_plot ==
"ONLYONE")
748 gStyle->SetPadBottomMargin(0.1275);
749 gStyle->SetPadTopMargin(0.165);
750 gStyle->SetPadLeftMargin(0.15);
751 gStyle->SetPadRightMargin(0.05);
753 if( HistoType ==
"EvolProj" && opt_plot ==
"SAME")
755 gStyle->SetPadBottomMargin(0.110);
756 gStyle->SetPadTopMargin(0.185);
757 gStyle->SetPadLeftMargin(0.115);
758 gStyle->SetPadRightMargin(0.035);
760 if( HistoType ==
"EvolProj" && opt_plot ==
"SAME n")
762 gStyle->SetPadBottomMargin(0.110);
763 gStyle->SetPadTopMargin(0.1);
764 gStyle->SetPadLeftMargin(0.115);
765 gStyle->SetPadRightMargin(0.035);
782 Bool_t b_true = kTRUE;
783 Bool_t b_false = kFALSE;
785 histo->SetStats(b_false);
787 if(HistoType ==
"Global"){histo->SetStats(b_false);}
788 if(HistoType ==
"Proj" || HistoType ==
"SampProj" ){histo->SetStats(b_true);}
795 if(HistoType ==
"Global")
798 histo->GetXaxis()->SetTitleOffset((Float_t)1.05);
799 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
801 histo->GetXaxis()->SetLabelOffset((Float_t)0.006);
802 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
804 histo->GetXaxis()->SetTickLength((Float_t)0.03);
805 histo->GetXaxis()->SetNdivisions((Int_t)510);
808 histo->GetYaxis()->SetTitleOffset((Float_t)1.5);
809 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
811 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
812 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
814 histo->GetYaxis()->SetTickLength((Float_t)0.03);
815 histo->GetYaxis()->SetNdivisions((Int_t)510);
818 if(HistoType ==
"Proj" || HistoType ==
"SampGlobal" || HistoType ==
"SampProj" )
821 histo->GetXaxis()->SetTitleOffset((Float_t)1.05);
822 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
824 histo->GetXaxis()->SetLabelOffset((Float_t)0.006);
825 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
827 histo->GetXaxis()->SetTickLength((Float_t)0.03);
828 histo->GetXaxis()->SetNdivisions((Int_t)510);
831 histo->GetYaxis()->SetTitleOffset((Float_t)1.75);
832 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
834 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
835 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
837 histo->GetYaxis()->SetTickLength((Float_t)0.03);
838 histo->GetYaxis()->SetNdivisions((Int_t)510);
841 if( HistoType ==
"H1Basic" || HistoType ==
"Evol" ||
842 ( HistoType ==
"EvolProj" && !(opt_plot ==
"SAME" || opt_plot ==
"SAME n") ) )
845 histo->GetXaxis()->SetTitleOffset((Float_t)1.25);
846 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
848 histo->GetXaxis()->SetLabelOffset((Float_t)0.005);
849 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
851 histo->GetXaxis()->SetTickLength((Float_t)0.03);
852 histo->GetXaxis()->SetNdivisions((Int_t)510);
855 histo->GetYaxis()->SetTitleOffset((Float_t)1.75);
856 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
858 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
859 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
861 histo->GetYaxis()->SetTickLength((Float_t)0.03);
862 histo->GetYaxis()->SetNdivisions((Int_t)510);
865 if( HistoType ==
"EvolProj" && (opt_plot ==
"SAME" || opt_plot ==
"SAME n") )
868 histo->GetXaxis()->SetTitleOffset((Float_t)1.25);
869 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
871 histo->GetXaxis()->SetLabelOffset((Float_t)0.005);
872 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
874 histo->GetXaxis()->SetTickLength((Float_t)0.03);
875 histo->GetXaxis()->SetNdivisions((Int_t)510);
878 histo->GetYaxis()->SetTitleOffset((Float_t)1.25);
879 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
881 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
882 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
884 histo->GetYaxis()->SetTickLength((Float_t)0.03);
885 histo->GetYaxis()->SetNdivisions((Int_t)510);
888 if(HistoType ==
"colz")
891 histo->GetXaxis()->SetTitleOffset((Float_t)1.25);
892 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
894 histo->GetXaxis()->SetLabelOffset((Float_t)0.005);
895 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
897 histo->GetXaxis()->SetTickLength((Float_t)0.03);
898 histo->GetXaxis()->SetNdivisions((Int_t)510);
901 histo->GetYaxis()->SetTitleOffset((Float_t)1.45);
902 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
904 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
905 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
907 histo->GetYaxis()->SetTickLength((Float_t)0.03);
908 histo->GetYaxis()->SetNdivisions((Int_t)510);
911 if(HistoType ==
"lego" || HistoType ==
"surf" )
914 histo->GetXaxis()->SetTitleOffset((Float_t)1.7);
915 histo->GetXaxis()->SetTitleSize((Float_t)0.04);
917 histo->GetXaxis()->SetLabelOffset((Float_t)0.005);
918 histo->GetXaxis()->SetLabelSize((Float_t)0.04);
920 histo->GetXaxis()->SetTickLength((Float_t)0.03);
921 histo->GetXaxis()->SetNdivisions((Int_t)510);
924 histo->GetYaxis()->SetTitleOffset((Float_t)1.85);
925 histo->GetYaxis()->SetTitleSize((Float_t)0.04);
927 histo->GetYaxis()->SetLabelOffset((Float_t)0.01);
928 histo->GetYaxis()->SetLabelSize((Float_t)0.04);
930 histo->GetYaxis()->SetTickLength((Float_t)0.03);
931 histo->GetYaxis()->SetNdivisions((Int_t)510);
934 if(HistoType ==
"Stin")
937 histo->GetXaxis()->SetTitleOffset((Float_t)9999.);
938 histo->GetXaxis()->SetTitleSize((Float_t)0.05);
940 histo->GetXaxis()->SetLabelOffset((Float_t)9999.);
941 histo->GetXaxis()->SetLabelSize((Float_t)0.);
943 histo->GetXaxis()->SetNdivisions((Int_t)1);
944 histo->GetXaxis()->SetTickLength((Float_t)0.);
947 histo->GetYaxis()->SetTitleOffset((Float_t)9999.);
948 histo->GetYaxis()->SetTitleSize((Float_t)0.05);
950 histo->GetYaxis()->SetLabelOffset((Float_t)9999.);
951 histo->GetYaxis()->SetLabelSize((Float_t)0.);
953 histo->GetYaxis()->SetNdivisions((Int_t)1);
954 histo->GetYaxis()->SetTickLength((Float_t)0.);
957 if( HistoType ==
"Stex2DEB" || HistoType ==
"Stex2DEE" || HistoType ==
"Stex2DEENb" ||
958 HistoType ==
"Stas2DEB" || HistoType ==
"Stas2DEE" )
961 histo->GetXaxis()->SetTitleOffset((Float_t)9999.);
962 histo->GetXaxis()->SetTitleSize((Float_t)0.075);
964 histo->GetXaxis()->SetLabelOffset((Float_t)9999.);
965 histo->GetXaxis()->SetLabelSize((Float_t)0.);
967 histo->GetXaxis()->SetNdivisions((Int_t)1);
968 histo->GetXaxis()->SetTickLength((Float_t)0.);
971 histo->GetYaxis()->SetTitleOffset((Float_t)9999.);
972 histo->GetYaxis()->SetTitleSize((Float_t)0.075);
974 histo->GetYaxis()->SetLabelOffset((Float_t)9999.);
975 histo->GetYaxis()->SetLabelSize((Float_t)0.);
977 histo->GetYaxis()->SetNdivisions((Int_t)1);
978 histo->GetYaxis()->SetTickLength((Float_t)0.);
989 Float_t tit_off = 1.;
991 if( opt ==
"" ){tit_off = 0.055;}
992 if( opt ==
"Towx" ){tit_off = 1.15;}
993 if( opt ==
"Towy" ){tit_off = 1.15;}
994 if( opt ==
"SMx" ){tit_off = 1.15;}
995 if( opt ==
"SMy" ){tit_off = 0.5;}
996 if( opt ==
"SMyInEB" ){tit_off = 0.7;}
997 if( opt ==
"EBy" ){tit_off = 1.;}
998 if( opt ==
"EBx" ){tit_off = 1.3;}
1000 if( opt ==
"SCx" ){tit_off = 1.15;}
1001 if( opt ==
"SCy" ){tit_off = 1.15;}
1002 if( opt ==
"Deex"){tit_off = 0.75;}
1003 if( opt ==
"Deey"){tit_off = 1.2;}
1004 if( opt ==
"EEx" ){tit_off = 1.2;}
1005 if( opt ==
"EEy" ){tit_off = 1.;}
1016 Float_t tit_siz = 0.045;
1017 if( opt ==
"" ){tit_siz = 0.045;}
1027 Float_t lab_off = 0.02;
1028 if( opt ==
"" ){lab_off = 0.02;}
1030 if( opt ==
"Towx"){lab_off = 0.01;}
1031 if( opt ==
"Towy"){lab_off = 0.03;}
1032 if( opt ==
"SMx" ){lab_off = 0.01;}
1033 if( opt ==
"SMy" ){lab_off = 0.015;}
1034 if( opt ==
"EBx" ){lab_off = 0.03;}
1035 if( opt ==
"EBy" ){lab_off = 0.015;}
1037 if( opt ==
"SCx" ){lab_off = 0.01;}
1038 if( opt ==
"SCy" ){lab_off = 0.03;}
1039 if( opt ==
"Deex"){lab_off = 0.002;}
1040 if( opt ==
"Deey"){lab_off = 0.03;}
1041 if( opt ==
"EEx" ){lab_off = 0.015;}
1042 if( opt ==
"EEy" ){lab_off = 0.02;}
1053 Float_t lab_siz = 0.035;
1054 if( opt ==
"SMx" ){lab_siz = 0.05;}
1055 if( opt ==
"SMy" ){lab_siz = 0.05;}
1056 if( opt ==
"EBx" ){lab_siz = 0.04;}
1057 if( opt ==
"EBy" ){lab_siz = 0.04;}
1068 Float_t tic_siz = 0.;
1069 if( opt ==
"Dee" ){tic_siz = 0.;}
1070 if( opt ==
"Deex" ){tic_siz = 0.01;}
1071 if( opt ==
"Deey" ){tic_siz = 0.02;}
1072 if( opt ==
"SMx" ){tic_siz = 0.03;}
1073 if( opt ==
"SMy" ){tic_siz = 0.0075;}
1074 if( opt ==
"EEx" ){tic_siz = 0.06;}
1075 if( opt ==
"EEy" ){tic_siz = 0.005;}
1085 if( (HistoType ==
"H1Basic") || (HistoType ==
"Evol") )
1088 graph->GetXaxis()->SetTitleOffset((Float_t)1.10);
1089 graph->GetXaxis()->SetTitleSize((Float_t)0.04);
1091 graph->GetXaxis()->SetLabelOffset((Float_t)0.015);
1092 graph->GetXaxis()->SetLabelSize((Float_t)0.04);
1094 graph->GetXaxis()->SetTickLength((Float_t)0.02);
1095 graph->GetXaxis()->SetNdivisions((Int_t)510);
1098 graph->GetYaxis()->SetTitleOffset((Float_t)1.25);
1099 graph->GetYaxis()->SetTitleSize((Float_t)0.04);
1101 graph->GetYaxis()->SetLabelOffset((Float_t)0.01);
1102 graph->GetYaxis()->SetLabelSize((Float_t)0.04);
1104 graph->GetYaxis()->SetTickLength((Float_t)0.03);
1105 graph->GetYaxis()->SetNdivisions((Int_t)510);
1112 if( opt_plot ==
"Dee" ){offset = 0;}
1113 if( opt_plot ==
"EE" )
1115 Double_t vertic_empty_strip_1 = 1.;
1116 if( DeeNumber == 1 ){offset = vertic_empty_strip_1
1120 if( DeeNumber == 4 ){offset = vertic_empty_strip_1 + 0.;}
1130 if( DeeNumber == 1 ){offset = 8.;}
1131 if( DeeNumber == 2 ){offset = 0.;}
1132 if( DeeNumber == 3 ){offset = 7.6;}
1133 if( DeeNumber == 4 ){offset = -0.5;}
1142 if( opt_plot ==
"Dee" )
1144 if( DeeNumber == 1 ){offset = 2.5;}
1145 if( DeeNumber == 2 ){offset = 41.5;}
1146 if( DeeNumber == 3 ){offset = 2.5;}
1147 if( DeeNumber == 4 ){offset = 41.5;}
1149 if( opt_plot ==
"EE" )
1151 if( DeeNumber == 1 ){offset = 0.42;}
1152 if( DeeNumber == 2 ){offset = 8.15;}
1153 if( DeeNumber == 3 ){offset = 0.42;}
1154 if( DeeNumber == 4 ){offset = 8.15;}
1181 TPaveText* title_g1;
1187 Double_t pav_gen_xgauche =
BoxLeftX(
"general_comment");
1188 Double_t pav_gen_xdroite =
BoxRightX(
"general_comment");
1189 Double_t pav_gen_ybas =
BoxBottomY(
"general_comment");
1190 Double_t pav_gen_yhaut =
BoxTopY(
"general_comment");
1193 new TPaveText(pav_gen_xgauche, pav_gen_ybas,
1194 pav_gen_xdroite, pav_gen_yhaut);
fCnewRoot++;
1196 Option_t* opt_pav =
"arc"; title_g1->SetOption(opt_pav);
1198 TString tit_gen = comment.Data();
1204 title_g1->AddText(tit_gen);
1208 Int_t cTextPaveAlign = 12; title_g1->SetTextAlign(cTextPaveAlign);
1210 Int_t cTextPaveFont = 40; title_g1->SetTextFont(cTextPaveFont);
1212 Float_t cTextPaveSize = 0.04; title_g1->SetTextSize(cTextPaveSize);
1213 Int_t cTextBorderSize = 0; title_g1->SetBorderSize(cTextBorderSize);
1214 Double_t cTextPaveRadius = 5.; title_g1->SetCornerRadius(cTextPaveRadius);
1221 title_g1 =
new TPaveText( 0, 0, 0, 0); title_g1=
nullptr;
fCnewRoot++;
1227 const Int_t& run_number,
const TString& run_type,
1228 const Int_t& first_evt,
const Int_t& last_evt,
const TString& nb_col)
1235 Double_t pav_bot_left_xgauche =
BoxLeftX(
"bottom_left_box");
1236 Double_t pav_bot_left_xdroite =
BoxRightX(
"bottom_left_box");
1237 Double_t pav_bot_left_ybas =
BoxBottomY(
"bottom_left_box");
1238 Double_t pav_bot_left_yhaut =
BoxTopY(
"bottom_left_box");
1240 TPaveText *com_bot_left =
1241 new TPaveText(pav_bot_left_xgauche, pav_bot_left_ybas,
1242 pav_bot_left_xdroite, pav_bot_left_yhaut);
fCnewRoot++;
1245 Int_t cTextPaveAlign = 12; com_bot_left->SetTextAlign(cTextPaveAlign);
1247 Int_t cTextPaveFont = 100; com_bot_left->SetTextFont(cTextPaveFont);
1249 Float_t cTextPaveSize = 0.025; com_bot_left->SetTextSize(cTextPaveSize);
1251 Int_t cTextBorderSize = 1; com_bot_left->SetBorderSize(cTextBorderSize);
1253 if( nb_col ==
"TwoCol")
1255 cTextPaveSize = 0.035; com_bot_left->SetTextSize(cTextPaveSize);
1256 sprintf(f_in,
"Run: %d Samples: 1 - %d", run_number, nb_of_samples);
1257 com_bot_left->AddText(f_in);
1258 cTextPaveSize = 0.035; com_bot_left->SetTextSize(cTextPaveSize);
1259 sprintf(f_in,
"Type: %-20s", run_type.Data());
1260 com_bot_left->AddText(f_in);
1261 sprintf(f_in,
"Analysis: %-10s Evts range: %d - %d ", ana_type.Data(), first_evt, last_evt);
1262 com_bot_left->AddText(f_in);
1266 cTextPaveSize = 0.0225; com_bot_left->SetTextSize(cTextPaveSize);
1267 sprintf(f_in,
"Run: %d ", run_number);
1268 com_bot_left->AddText(f_in);
1269 sprintf(f_in,
"Type: %-20s", run_type.Data());
1270 com_bot_left->AddText(f_in);
1271 sprintf(f_in,
"Analysis: %-10s ", ana_type.Data());
1272 com_bot_left->AddText(f_in);
1274 sprintf(f_in,
"Samples: %d - %d", un, nb_of_samples);
1275 com_bot_left->AddText(f_in);
1276 sprintf(f_in,
"Evts range: %d - %d", first_evt, last_evt);
1277 com_bot_left->AddText(f_in);
1282 return com_bot_left;
1286 const TString& start_date,
const TString& stop_date,
1287 const TString& nb_col)
1295 Double_t pav_bot_right_xgauche =
BoxLeftX(
"bottom_right_box");
1296 Double_t pav_bot_right_xdroite =
BoxRightX(
"bottom_right_box");
1297 Double_t pav_bot_right_ybas =
BoxBottomY(
"bottom_right_box");
1298 Double_t pav_bot_right_yhaut =
BoxTopY(
"bottom_right_box");
1299 TPaveText *com_bot_right =
1300 new TPaveText(pav_bot_right_xgauche, pav_bot_right_ybas,
1301 pav_bot_right_xdroite, pav_bot_right_yhaut);
fCnewRoot++;
1304 Int_t cTextPaveAlign = 12; com_bot_right->SetTextAlign(cTextPaveAlign);
1306 Int_t cTextPaveFont = 100; com_bot_right->SetTextFont(cTextPaveFont);
1308 Float_t cTextPaveSize = 0.025; com_bot_right->SetTextSize(cTextPaveSize);
1310 Int_t cTextBorderSize = 1; com_bot_right->SetBorderSize(cTextBorderSize);
1312 if( nb_col ==
"TwoCol")
1314 cTextPaveSize = 0.0325; com_bot_right->SetTextSize(cTextPaveSize);
1315 sprintf(f_in,
"First evt: %s %8d events ", start_date.Data(), nb_of_evts);
1316 com_bot_right->AddText(f_in);
1317 sprintf(f_in,
"Last evt: %s ", stop_date.Data());
1318 com_bot_right->AddText(f_in);
1322 cTextPaveSize = 0.0225; com_bot_right->SetTextSize(cTextPaveSize);
1323 sprintf(f_in,
"%d events", nb_of_evts);
1324 com_bot_right->AddText(f_in);
1325 sprintf(f_in,
"First evt: %s ", start_date.Data());
1326 com_bot_right->AddText(f_in);
1327 sprintf(f_in,
"Last evt: %s ", stop_date.Data());
1328 com_bot_right->AddText(f_in);
1333 return com_bot_right;
1337 const Int_t& first_req_evt,
const Int_t& last_req_evt,
1345 Double_t pav_bot_left_xgauche =
BoxLeftX(
"bottom_left_box");
1346 Double_t pav_bot_left_xdroite =
BoxRightX(
"bottom_left_box");
1347 Double_t pav_bot_left_ybas =
BoxBottomY(
"bottom_left_box");
1348 Double_t pav_bot_left_yhaut =
BoxTopY(
"bottom_left_box");
1350 if( HistoType ==
"EvolProj" )
1352 pav_bot_left_xgauche =
BoxLeftX(
"bottom_left_box_evol");
1353 pav_bot_left_xdroite =
BoxRightX(
"bottom_left_box_evol");
1354 pav_bot_left_ybas =
BoxBottomY(
"bottom_left_box_evol");
1355 pav_bot_left_yhaut =
BoxTopY(
"bottom_left_box_evol");
1358 TPaveText *com_bot_left =
1359 new TPaveText(pav_bot_left_xgauche, pav_bot_left_ybas,
1360 pav_bot_left_xdroite, pav_bot_left_yhaut);
fCnewRoot++;
1363 Int_t cTextPaveAlign = 12; com_bot_left->SetTextAlign(cTextPaveAlign);
1365 Int_t cTextPaveFont = 100; com_bot_left->SetTextFont(cTextPaveFont);
1367 Float_t cTextPaveSize = 0.03; com_bot_left->SetTextSize(cTextPaveSize);
1368 Int_t cTextBorderSize = 1; com_bot_left->SetBorderSize(cTextBorderSize);
1370 TString analysis_name = ana_type.Data();
1372 sprintf(f_in,
"Analysis: %s", analysis_name.Data());
1373 com_bot_left->AddText(f_in);
1374 sprintf(f_in,
"Samples: 1 - %d", nb_of_samples);
1375 com_bot_left->AddText(f_in);
1376 sprintf(f_in,
"Evts range: %d - %d ", first_req_evt, last_req_evt);
1377 com_bot_left->AddText(f_in);
1381 return com_bot_left;
1385 const Int_t& stop_evol_run,
const TString& stop_evol_date,
1386 const TString& opt_plot,
const TString&
HistoType)
1393 Double_t pav_border_xgauche =
BoxLeftX(
"bottom_right_box_evol");
1394 Double_t pav_border_xdroite =
BoxRightX(
"bottom_right_box_evol");
1395 Double_t pav_border_ybas =
BoxBottomY(
"bottom_right_box_evol");
1396 Double_t pav_border_yhaut =
BoxTopY(
"bottom_right_box_evol");
1398 if( opt_plot ==
"SAME n" )
1400 pav_border_xgauche =
BoxLeftX(
"bottom_right_box_evpr");
1401 pav_border_xdroite =
BoxRightX(
"bottom_right_box_evpr");
1402 pav_border_ybas =
BoxBottomY(
"top_right_box_EB");
1403 pav_border_yhaut =
BoxTopY(
"top_right_box_EB");
1406 TPaveText *pav_evol_runs =
1407 new TPaveText(pav_border_xgauche, pav_border_ybas,
1408 pav_border_xdroite, pav_border_yhaut);
fCnewRoot++;
1411 Int_t cTextPaveAlign = 12; pav_evol_runs->SetTextAlign(cTextPaveAlign);
1414 Int_t cTextPaveFont = 100; pav_evol_runs->SetTextFont(cTextPaveFont);
1416 Float_t cTextPaveSize = 0.025;
1417 if( HistoType ==
"Evol" || HistoType ==
"EvolProj"){cTextPaveSize = 0.0225;}
1419 pav_evol_runs->SetTextSize(cTextPaveSize);
1420 Int_t cTextBorderSize = 1; pav_evol_runs->SetBorderSize(cTextBorderSize);
1422 if( !( (HistoType ==
"Evol" && opt_plot ==
"SAME n") ||
1423 (HistoType ==
"EvolProj" && opt_plot ==
"SAME n") ) )
1425 sprintf(f_in,
"First run: %d", start_evol_run);
1426 pav_evol_runs->AddText(f_in);
1427 sprintf(f_in,
"(%s) ", start_evol_date.Data());
1428 pav_evol_runs->AddText(f_in);
1429 sprintf(f_in,
"Last run: %d", stop_evol_run);
1430 pav_evol_runs->AddText(f_in);
1431 sprintf(f_in,
"(%s) ", stop_evol_date.Data());
1432 pav_evol_runs->AddText(f_in);
1435 if( (HistoType ==
"Evol" && opt_plot ==
"SAME n") ||
1436 (HistoType ==
"EvolProj" && opt_plot ==
"SAME n") )
1438 sprintf(f_in,
"First run: %d (%s) ", start_evol_run, start_evol_date.Data());
1439 pav_evol_runs->AddText(f_in);
1440 sprintf(f_in,
"Last run: %d (%s)", stop_evol_run, stop_evol_date.Data());
1441 pav_evol_runs->AddText(f_in);
1446 return pav_evol_runs;
1457 Double_t pav_left_xgauche =
BoxLeftX(
"several_plots_box");
1458 Double_t pav_left_xdroite =
BoxRightX(
"several_plots_box");
1459 Double_t pav_left_ybas =
BoxBottomY(
"several_plots_box");
1460 Double_t pav_left_yhaut =
BoxTopY(
"several_plots_box");
1462 if(chopt ==
"sevevol")
1464 pav_left_xgauche =
BoxLeftX(
"several_evol_box");
1465 pav_left_xdroite =
BoxRightX(
"several_evol_box");
1466 pav_left_ybas =
BoxBottomY(
"several_evol_box");
1467 pav_left_yhaut =
BoxTopY(
"several_evol_box");
1469 if( HistoType ==
"EvolProj" )
1471 pav_left_xgauche =
BoxLeftX(
"several_evpr_box");
1472 pav_left_xdroite =
BoxRightX(
"several_evpr_box");
1473 pav_left_ybas =
BoxBottomY(
"several_evpr_box");
1474 pav_left_yhaut =
BoxTopY(
"several_evpr_box");
1478 TPaveText *com_several =
1479 new TPaveText(pav_left_xgauche, pav_left_ybas,
1480 pav_left_xdroite, pav_left_yhaut);
fCnewRoot++;
1496 Double_t pav_top_left_xgauche =
BoxLeftX(
"top_left_box_SM");
1497 Double_t pav_top_left_xdroite =
BoxRightX(
"top_left_box_SM");
1498 Double_t pav_top_left_ybas =
BoxBottomY(
"top_left_box_SM");
1499 Double_t pav_top_left_yhaut =
BoxTopY(
"top_left_box_SM");
1501 TPaveText *com_top_left =
1502 new TPaveText(pav_top_left_xgauche, pav_top_left_ybas,
1503 pav_top_left_xdroite, pav_top_left_yhaut);
fCnewRoot++;
1506 Int_t cTextPaveAlign = 12; com_top_left->SetTextAlign(cTextPaveAlign);
1508 Int_t cTextPaveFont = 100; com_top_left->SetTextFont(cTextPaveFont);
1510 Float_t cTextPaveSize = 0.04; com_top_left->SetTextSize(cTextPaveSize);
1511 Int_t cTextBorderSize = 1; com_top_left->SetBorderSize(cTextBorderSize);
1516 com_top_left->AddText(f_in);
1520 return com_top_left;
1524 const TString& EB_type)
1531 Double_t pav_top_left_xgauche =
BoxLeftX(
"top_left_box_SM");
1532 Double_t pav_top_left_xdroite =
BoxRightX(
"top_left_box_SM");
1533 Double_t pav_top_left_ybas =
BoxBottomY(
"top_left_box_SM");
1534 Double_t pav_top_left_yhaut =
BoxTopY(
"top_left_box_SM");
1536 if( chopt ==
"standard" || (chopt ==
"standGH" && EB_type ==
"EB-") )
1538 pav_top_left_xgauche =
BoxLeftX(
"top_left_box_EB");
1539 pav_top_left_xdroite =
BoxRightX(
"top_left_box_EB");
1540 pav_top_left_ybas =
BoxBottomY(
"top_left_box_EB");
1541 pav_top_left_yhaut =
BoxTopY(
"top_left_box_EB");
1544 if( chopt ==
"standSM" || chopt ==
"standStex" || (chopt ==
"standGH" && EB_type ==
"EB+") )
1546 pav_top_left_xgauche =
BoxLeftX(
"top_left_box_SM");
1547 pav_top_left_xdroite =
BoxRightX(
"top_left_box_SM");
1548 pav_top_left_ybas =
BoxBottomY(
"top_left_box_SM");
1549 pav_top_left_yhaut =
BoxTopY(
"top_left_box_SM");
1552 if( chopt ==
"several" )
1554 pav_top_left_xgauche =
BoxLeftX(
"several_plots_box");
1555 pav_top_left_xdroite =
BoxRightX(
"several_plots_box");
1556 pav_top_left_ybas =
BoxBottomY(
"several_plots_box");
1557 pav_top_left_yhaut =
BoxTopY(
"several_plots_box");
1560 if( chopt ==
"sevevol" )
1562 pav_top_left_xgauche =
BoxLeftX(
"several_evol_box");
1563 pav_top_left_xdroite =
BoxRightX(
"several_evol_box");
1564 pav_top_left_ybas =
BoxBottomY(
"several_evol_box");
1565 pav_top_left_yhaut =
BoxTopY(
"several_evol_box");
1568 TPaveText *com_top_left =
1569 new TPaveText(pav_top_left_xgauche, pav_top_left_ybas,
1570 pav_top_left_xdroite, pav_top_left_yhaut);
fCnewRoot++;
1573 Int_t cTextPaveAlign = 12; com_top_left->SetTextAlign(cTextPaveAlign);
1575 Int_t cTextPaveFont = 100; com_top_left->SetTextFont(cTextPaveFont);
1577 Float_t cTextPaveSize = 0.04; com_top_left->SetTextSize(cTextPaveSize);
1578 Int_t cTextBorderSize = 1; com_top_left->SetBorderSize(cTextBorderSize);
1580 if( chopt ==
"standard" || chopt ==
"standSM" || chopt ==
"standStex" || chopt ==
"standGH")
1582 Int_t sm_nb = SM_number;
1583 if( EB_type ==
"EB+" ){sprintf(f_in,
"EB+%d", sm_nb);}
1584 if( EB_type ==
"EB-" )
1586 sprintf(f_in,
"EB%d (SM%d)", sm_nb, SM_number);}
1587 com_top_left->AddText(f_in);
1592 return com_top_left;
1601 Double_t pav_top_mid_xgauche =
BoxLeftX(
"top_mid_box_EB");
1602 Double_t pav_top_mid_xdroite =
BoxRightX(
"top_mid_box_EB");
1603 Double_t pav_top_mid_ybas =
BoxBottomY(
"top_mid_box_EB");
1604 Double_t pav_top_mid_yhaut =
BoxTopY(
"top_mid_box_EB");
1605 TPaveText *com_top_mid =
1606 new TPaveText(pav_top_mid_xgauche, pav_top_mid_ybas,
1607 pav_top_mid_xdroite, pav_top_mid_yhaut);
fCnewRoot++;
1610 Int_t cTextPaveAlign = 12; com_top_mid->SetTextAlign(cTextPaveAlign);
1612 Int_t cTextPaveFont = 100; com_top_mid->SetTextFont(cTextPaveFont);
1614 Float_t cTextPaveSize = 0.03; com_top_mid->SetTextSize(cTextPaveSize);
1615 Int_t cTextBorderSize = 1; com_top_mid->SetBorderSize(cTextBorderSize);
1617 sprintf(f_in,
" Tower: %d ", SMtower_X);
1618 com_top_mid->AddText(f_in);
1631 Double_t pav_top_mid_xgauche =
BoxLeftX(
"top_mid_box_EB");
1632 Double_t pav_top_mid_xdroite =
BoxRightX(
"top_mid_box_EB");
1633 Double_t pav_top_mid_ybas =
BoxBottomY(
"top_mid_box_EB");
1634 Double_t pav_top_mid_yhaut =
BoxTopY(
"top_mid_box_EB");
1635 TPaveText *com_top_mid =
1636 new TPaveText(pav_top_mid_xgauche, pav_top_mid_ybas,
1637 pav_top_mid_xdroite, pav_top_mid_yhaut);
fCnewRoot++;
1640 Int_t cTextPaveAlign = 12; com_top_mid->SetTextAlign(cTextPaveAlign);
1642 Int_t cTextPaveFont = 100; com_top_mid->SetTextFont(cTextPaveFont);
1644 Float_t cTextPaveSize = 0.03; com_top_mid->SetTextSize(cTextPaveSize);
1645 Int_t cTextBorderSize = 1; com_top_mid->SetBorderSize(cTextBorderSize);
1647 sprintf(f_in,
" Tower X: %d ", SMtower_X);
1648 com_top_mid->AddText(f_in);
1649 sprintf(f_in,
" Tower Y: %d ", SMtower_Y);
1650 com_top_mid->AddText(f_in);
1659 const Int_t& StinEcha)
1661 Int_t arg_AlreadyRead = 0;
1662 Int_t flag_all_samples = 0;
1663 return SetPaveCrystal(StexCrys, StexStinA, StinEcha, arg_AlreadyRead, flag_all_samples);
1667 const Int_t& StinEcha,
const Int_t& arg_AlreadyRead,
1668 const Int_t& flag_all_samples)
1675 Double_t pav_top_right_xgauche =
BoxLeftX(
"top_right_box_EB");
1676 Double_t pav_top_right_xdroite =
BoxRightX(
"top_right_box_EB");
1677 Double_t pav_top_right_ybas =
BoxBottomY(
"top_right_box_EB");
1678 Double_t pav_top_right_yhaut =
BoxTopY(
"top_right_box_EB");
1681 pav_top_right_xgauche =
BoxLeftX(
"top_right_box_EE");
1682 pav_top_right_xdroite =
BoxRightX(
"top_right_box_EE");
1683 pav_top_right_ybas =
BoxBottomY(
"top_right_box_EE");
1684 pav_top_right_yhaut =
BoxTopY(
"top_right_box_EE");
1687 TPaveText *com_top_right =
1688 new TPaveText(pav_top_right_xgauche, pav_top_right_ybas,
1689 pav_top_right_xdroite, pav_top_right_yhaut);
fCnewRoot++;
1692 Int_t cTextPaveAlign = 12; com_top_right->SetTextAlign(cTextPaveAlign);
1694 Int_t cTextPaveFont = 100; com_top_right->SetTextFont(cTextPaveFont);
1696 Float_t cTextPaveSize = 0.03; com_top_right->SetTextSize(cTextPaveSize);
1697 Int_t cTextBorderSize = 1; com_top_right->SetBorderSize(cTextBorderSize);
1701 if( arg_AlreadyRead == 0 || (arg_AlreadyRead == 1 && flag_all_samples == 0 ) )
1702 {sprintf(f_in,
"Channel: %d ", StinEcha);}
1703 if( arg_AlreadyRead == 1 && flag_all_samples == 1 )
1705 com_top_right->AddText(f_in);
1706 if( arg_AlreadyRead == 0 || (arg_AlreadyRead == 1 && flag_all_samples == 0 ) )
1707 {sprintf(f_in,
"Crystal in SM: %d ", StexCrys);
1708 com_top_right->AddText(f_in);}
1713 Int_t StinEchap = StinEcha+1;
1714 if( arg_AlreadyRead == 0 || (arg_AlreadyRead == 1 && flag_all_samples == 0 ) )
1715 {sprintf(f_in,
"Xtal in SC: %d ", StinEchap);}
1716 if( arg_AlreadyRead == 1 && flag_all_samples == 1 )
1718 com_top_right->AddText(f_in);
1719 if( arg_AlreadyRead == 0 || (arg_AlreadyRead == 1 && flag_all_samples == 0 ) )
1724 sprintf(f_in,
"(IX,IY)[Xtal]=(%d,%d)", IX_Dee_crys, IY_Dee_crys);
1725 com_top_right->AddText(f_in);
1731 return com_top_right;
1735 const Int_t& StinEcha,
const Int_t& iSample)
1741 Double_t pav_top_right_xgauche =
BoxLeftX(
"top_right_box_EB");
1742 Double_t pav_top_right_xdroite =
BoxRightX(
"top_right_box_EB");
1743 Double_t pav_top_right_ybas =
BoxBottomY(
"top_right_box_EB");
1744 Double_t pav_top_right_yhaut =
BoxTopY(
"top_right_box_EB");
1747 pav_top_right_xgauche =
BoxLeftX(
"top_right_box_EE");
1748 pav_top_right_xdroite =
BoxRightX(
"top_right_box_EE");
1749 pav_top_right_ybas =
BoxBottomY(
"top_right_box_EE");
1750 pav_top_right_yhaut =
BoxTopY(
"top_right_box_EE");
1753 TPaveText *com_top_right =
1754 new TPaveText(pav_top_right_xgauche, pav_top_right_ybas,
1755 pav_top_right_xdroite, pav_top_right_yhaut);
fCnewRoot++;
1758 Int_t cTextPaveAlign = 12; com_top_right->SetTextAlign(cTextPaveAlign);
1760 Int_t cTextPaveFont = 100; com_top_right->SetTextFont(cTextPaveFont);
1762 Float_t cTextPaveSize = 0.03; com_top_right->SetTextSize(cTextPaveSize);
1763 Int_t cTextBorderSize = 1; com_top_right->SetBorderSize(cTextBorderSize);
1768 sprintf(f_in,
" Channel: %d ", StinEcha);
1769 com_top_right->AddText(f_in);
1770 sprintf(f_in,
" Crystal in SM: %d ", StexCrys);
1771 com_top_right->AddText(f_in);
1776 Int_t StinEchap = StinEcha+1;
1777 sprintf(f_in,
" Channel: %d ", StinEchap);
1778 com_top_right->AddText(f_in);
1782 sprintf(f_in,
"(IX,IY)[Xtal]=(%d,%d)", IX_Dee_crys, IY_Dee_crys);
1783 com_top_right->AddText(f_in);
1786 Int_t iSample_p = iSample+1;
1787 sprintf(f_in,
" Sample: %d ", iSample_p);
1788 com_top_right->AddText(f_in);
1792 return com_top_right;
1800 Double_t pav_bot_xgauche =
BoxLeftX(
"bottom_left_box");
1801 Double_t pav_bot_xdroite =
BoxRightX(
"bottom_right_box");
1802 Double_t pav_bot_ybas =
BoxBottomY(
"bottom_left_box");
1803 Double_t pav_bot_yhaut =
BoxTopY(
"bottom_left_box");
1804 TPaveText *com_bot_mid =
1805 new TPaveText(pav_bot_xgauche, pav_bot_ybas,
1806 pav_bot_xdroite, pav_bot_yhaut);
fCnewRoot++;
1814 TText *t1 = com_bot_mid->AddText(
" <= IP (#eta = 0) (#eta = +85) => ");
1815 t1->SetTextColor(couleur_noir);
1820 TText *
t2 = com_bot_mid->AddText(
" <= (#eta = -85) IP (#eta = 0) => ");
1821 t2->SetTextColor(couleur_noir);
1826 TText *t3 =
nullptr;
1828 {t3 = com_bot_mid->AddText(
" <=== LVRB ");}
1830 {t3 = com_bot_mid->AddText(
" LVRB ===> ");}
1831 t3->SetTextColor(couleur_rouge);
1836 TText *t4 =
nullptr;
1838 {t4 = com_bot_mid->AddText(
" LVRB ===> ");}
1840 {t4 = com_bot_mid->AddText(
" <=== LVRB ");}
1841 t4->SetTextColor(couleur_bleu_fonce);
1854 if ( chtype_number ==
"lvrb_top" ){couleur =
ColorDefinition(
"rouge");}
1855 if ( chtype_number ==
"lvrb_bottom" ){couleur =
ColorDefinition(
"bleu_fonce");}
1868 const TString& DeeType)
1875 Double_t pav_top_left_xgauche =
BoxLeftX(
"top_left_box_EE");
1876 Double_t pav_top_left_xdroite =
BoxRightX(
"top_left_box_EE");
1877 Double_t pav_top_left_ybas =
BoxBottomY(
"top_left_box_EE");
1878 Double_t pav_top_left_yhaut =
BoxTopY(
"top_left_box_EE");
1880 if(chopt ==
"standard" || chopt ==
"standGH")
1882 pav_top_left_xgauche =
BoxLeftX(
"top_left_box_EE");
1883 pav_top_left_xdroite =
BoxRightX(
"top_left_box_EE");
1884 pav_top_left_ybas =
BoxBottomY(
"top_left_box_EE");
1885 pav_top_left_yhaut =
BoxTopY(
"top_left_box_EE");
1888 if( chopt ==
"standDee" || chopt ==
"standStex" )
1890 pav_top_left_xgauche =
BoxLeftX(
"top_left_box_Dee");
1891 pav_top_left_xdroite =
BoxRightX(
"top_left_box_Dee");
1892 pav_top_left_ybas =
BoxBottomY(
"top_left_box_Dee");
1893 pav_top_left_yhaut =
BoxTopY(
"top_left_box_Dee");
1896 if(chopt ==
"several")
1898 pav_top_left_xgauche =
BoxLeftX(
"several_plots_box");
1899 pav_top_left_xdroite =
BoxRightX(
"several_plots_box");
1900 pav_top_left_ybas =
BoxBottomY(
"several_plots_box");
1901 pav_top_left_yhaut =
BoxTopY(
"several_plots_box");
1903 if(chopt ==
"sevevol")
1905 pav_top_left_xgauche =
BoxLeftX(
"several_evol_box");
1906 pav_top_left_xdroite =
BoxRightX(
"several_evol_box");
1907 pav_top_left_ybas =
BoxBottomY(
"several_evol_box");
1908 pav_top_left_yhaut =
BoxTopY(
"several_evol_box");
1911 TPaveText *com_top_left =
1912 new TPaveText(pav_top_left_xgauche, pav_top_left_ybas,
1913 pav_top_left_xdroite, pav_top_left_yhaut);
fCnewRoot++;
1916 Int_t cTextPaveAlign = 12; com_top_left->SetTextAlign(cTextPaveAlign);
1918 Int_t cTextPaveFont = 100; com_top_left->SetTextFont(cTextPaveFont);
1920 Float_t cTextPaveSize = 0.04; com_top_left->SetTextSize(cTextPaveSize);
1921 Int_t cTextBorderSize = 1; com_top_left->SetBorderSize(cTextBorderSize);
1923 if( chopt ==
"standard" )
1925 sprintf(f_in,
" Dee: %d", DeeNumber);
1926 com_top_left->AddText(f_in);
1927 sprintf(f_in,
" (%s)", DeeType.Data());
1928 com_top_left->AddText(f_in);
1931 if( chopt ==
"standDee" || chopt ==
"standStex" || chopt ==
"standGH" )
1933 sprintf(f_in,
" Dee: %d (%s) ", DeeNumber, DeeType.Data());
1934 com_top_left->AddText(f_in);
1939 return com_top_left;
1948 Double_t pav_top_mid_xgauche =
BoxLeftX(
"top_mid_box_EE");
1949 Double_t pav_top_mid_xdroite =
BoxRightX(
"top_mid_box_EE");
1950 Double_t pav_top_mid_ybas =
BoxBottomY(
"top_mid_box_EE");
1951 Double_t pav_top_mid_yhaut =
BoxTopY(
"top_mid_box_EE");
1952 TPaveText *com_top_mid =
1953 new TPaveText(pav_top_mid_xgauche, pav_top_mid_ybas,
1954 pav_top_mid_xdroite, pav_top_mid_yhaut);
fCnewRoot++;
1957 Int_t cTextPaveAlign = 12; com_top_mid->SetTextAlign(cTextPaveAlign);
1959 Int_t cTextPaveFont = 100; com_top_mid->SetTextFont(cTextPaveFont);
1961 Float_t cTextPaveSize = 0.03; com_top_mid->SetTextSize(cTextPaveSize);
1962 Int_t cTextBorderSize = 1; com_top_mid->SetBorderSize(cTextBorderSize);
1964 sprintf(f_in,
"Sector: S%d, SC: %d",
1967 com_top_mid->AddText(f_in);
1968 sprintf(f_in,
"SC for const.: %d",
1970 com_top_mid->AddText(f_in);
1971 sprintf(f_in,
"Quadrant: %s",
1973 com_top_mid->AddText(f_in);
1985 Double_t pav_top_mid_xgauche =
BoxLeftX(
"top_mid_box_EE");
1986 Double_t pav_top_mid_xdroite =
BoxRightX(
"top_mid_box_EE");
1987 Double_t pav_top_mid_ybas =
BoxBottomY(
"top_mid_box_EE");
1988 Double_t pav_top_mid_yhaut =
BoxTopY(
"top_mid_box_EE");
1989 TPaveText *com_top_mid =
1990 new TPaveText(pav_top_mid_xgauche, pav_top_mid_ybas,
1991 pav_top_mid_xdroite, pav_top_mid_yhaut);
fCnewRoot++;
1994 Int_t cTextPaveAlign = 12; com_top_mid->SetTextAlign(cTextPaveAlign);
1996 Int_t cTextPaveFont = 100; com_top_mid->SetTextFont(cTextPaveFont);
1998 Float_t cTextPaveSize = 0.03; com_top_mid->SetTextSize(cTextPaveSize);
1999 Int_t cTextBorderSize = 1; com_top_mid->SetBorderSize(cTextBorderSize);
2001 sprintf(f_in,
"SC X: %d", DeeSC_X);
2002 com_top_mid->AddText(f_in);
2003 sprintf(f_in,
"SC Y: %d", DeeSC_Y);
2004 com_top_mid->AddText(f_in);
2016 Double_t pav_bot_xgauche =
BoxRightX(
"bottom_mid_box");
2017 Double_t pav_bot_xdroite =
BoxLeftX(
"bottom_mid_box");
2018 Double_t pav_bot_ybas =
BoxBottomY(
"bottom_left_box");
2019 Double_t pav_bot_yhaut =
BoxTopY(
"bottom_left_box");
2020 TPaveText *com_bot_mid =
2021 new TPaveText(pav_bot_xgauche, pav_bot_ybas,
2022 pav_bot_xdroite, pav_bot_yhaut);
fCnewRoot++;
2028 com_bot_mid->SetTextSize(0.0325);
2030 if( DeeNumber == 1 )
2032 com_bot_mid->AddText(
" y ");
2033 com_bot_mid->AddText(
" #uparrow ");
2034 com_bot_mid->AddText(
" (Near) x #leftarrow #otimes z (Far) " );
2036 if( DeeNumber == 2 )
2038 com_bot_mid->AddText(
" y ");
2039 com_bot_mid->AddText(
" #uparrow ");
2040 com_bot_mid->AddText(
" (Near) x #leftarrow #otimes z (Far) " );
2042 if( DeeNumber == 3 )
2044 com_bot_mid->AddText(
" y ");
2045 com_bot_mid->AddText(
" #uparrow ");
2046 com_bot_mid->AddText(
" (Far) z (#bullet) #rightarrow x (Near) " );
2048 if( DeeNumber == 4 )
2050 com_bot_mid->AddText(
" y ");
2051 com_bot_mid->AddText(
" #uparrow ");
2052 com_bot_mid->AddText(
" (Far) z (#bullet) #rightarrow x (Near) " );
2066 TPaveText* pav_text =
nullptr;
2068 if( StexNumber > 0 )
2073 pav_text =
SetPaveSM(chopt, StexNumber, EB_type);
2078 pav_text =
SetPaveDee(chopt, StexNumber, dee_type);
2088 TPaveText* pav_text =
nullptr;
2096 TPaveText* pav_text =
nullptr;
2114 HistoType.Resize(MaxCar);
2115 HistoType =
"(no quantity type info)";
2118 if ( HistoCode ==
"D_NOE_ChNb" || HistoCode ==
"D_Ped_ChNb" ||
2119 HistoCode ==
"D_TNo_ChNb" || HistoCode ==
"D_LFN_ChNb" || HistoCode ==
"D_HFN_ChNb" ||
2120 HistoCode ==
"D_MCs_ChNb" || HistoCode ==
"D_SCs_ChNb" )
2121 {HistoType =
"Global";}
2125 if ( HistoCode ==
"D_NOE_ChDs" || HistoCode ==
"D_Ped_ChDs" ||
2126 HistoCode ==
"D_TNo_ChDs" || HistoCode ==
"D_LFN_ChDs" || HistoCode ==
"D_HFN_ChDs" ||
2127 HistoCode ==
"D_MCs_ChDs" || HistoCode ==
"D_SCs_ChDs" )
2128 {HistoType =
"Proj";}
2131 if ( HistoCode ==
"D_MSp_SpNb" || HistoCode ==
"D_SSp_SpNb" )
2132 {HistoType =
"H1Basic";}
2135 if ( HistoCode ==
"D_MSp_SpDs" || HistoCode ==
"D_SSp_SpDs" )
2136 {HistoType =
"H1BasicProj";}
2139 if ( HistoCode ==
"D_Adc_EvNb" ){HistoType =
"SampGlobal";}
2141 if ( HistoCode ==
"D_Adc_EvDs" ){HistoType =
"SampProj";}
2144 if ( HistoCode ==
"H_Ped_Date" || HistoCode ==
"H_TNo_Date" || HistoCode ==
"H_MCs_Date" ||
2145 HistoCode ==
"H_LFN_Date" || HistoCode ==
"H_HFN_Date" || HistoCode ==
"H_SCs_Date" )
2146 {HistoType =
"Evol";}
2149 if ( HistoCode ==
"H_Ped_RuDs" || HistoCode ==
"H_TNo_RuDs" || HistoCode ==
"H_MCs_RuDs" ||
2150 HistoCode ==
"H_LFN_RuDs" || HistoCode ==
"H_HFN_RuDs" || HistoCode ==
"H_SCs_RuDs" )
2151 {HistoType =
"EvolProj";}
2165 XVarHisto.Resize(MaxCar);
2166 XVarHisto =
"(no X variable info)";
2168 if( HistoType ==
"Global" )
2170 if( StexNumber == 0 && SubDet ==
"EB" ){XVarHisto =
"Tower number";}
2171 if( StexNumber == 0 && SubDet ==
"EE" ){XVarHisto =
"SC number";}
2172 if( StexNumber != 0){XVarHisto =
"Xtal number";}
2174 if( HistoType ==
"Proj" ){XVarHisto =
"Bin number";}
2176 if( HistoType ==
"H1Basic"){XVarHisto =
"Sample number";}
2177 if( HistoType ==
"H1BasicProj"){XVarHisto =
"Total noise";}
2179 if( HistoType ==
"SampGlobal" ){XVarHisto =
"Event number";}
2181 if( HistoType ==
"SampProj" ){XVarHisto =
"ADC count";}
2183 if( HistoType ==
"Evol" ){XVarHisto =
"Date";}
2185 if( HistoType ==
"EvolProj" ){XVarHisto =
"Bin number";}
2200 YVarHisto.Resize(MaxCar);
2201 YVarHisto =
"(no Y variable info)";
2203 if( HistoType ==
"Global" )
2205 if( HistoCode ==
"D_NOE_ChNb" ){YVarHisto =
"Nb of events";}
2206 if( HistoCode ==
"D_Ped_ChNb" ){YVarHisto =
"Pedestal";}
2207 if( HistoCode ==
"D_TNo_ChNb" ){YVarHisto =
"Total Noise";}
2208 if( HistoCode ==
"D_MCs_ChNb" ){YVarHisto =
"Mean Cor(s,s')";}
2209 if( HistoCode ==
"D_LFN_ChNb" ){YVarHisto =
"Low Freq. Noise";}
2210 if( HistoCode ==
"D_HFN_ChNb" ){YVarHisto =
"High Freq. Noise";}
2211 if( HistoCode ==
"D_SCs_ChNb" ){YVarHisto =
"Sigma Cor(s,s')";}
2214 if( HistoType ==
"Proj" )
2216 if( StexNumber == 0 && SubDet ==
"EB" ){YVarHisto =
"Number of towers";}
2217 if( StexNumber == 0 && SubDet ==
"EE" ){YVarHisto =
"Number of SCs";}
2218 if( StexNumber != 0){YVarHisto =
"Number of Xtals";}
2221 if( HistoType ==
"H1Basic"){YVarHisto =
"ADC count";}
2222 if( HistoType ==
"H1BasicProj"){YVarHisto =
"Number of samples";}
2224 if( HistoType ==
"SampGlobal" ){YVarHisto =
"ADC count";}
2226 if( HistoType ==
"SampProj" ){YVarHisto =
"Number of events";}
2228 if( HistoType ==
"EvolProj" ){YVarHisto =
"Number of runs";}
2230 if( HistoType ==
"Evol" )
2232 if( HistoCode ==
"H_Ped_Date" ){YVarHisto =
"Pedestal";}
2233 if( HistoCode ==
"H_TNo_Date" ){YVarHisto =
"Total Noise";}
2234 if( HistoCode ==
"H_MCs_Date" ){YVarHisto =
"Mean Cor(s,s')";}
2235 if( HistoCode ==
"H_LFN_Date" ){YVarHisto =
"Low Freq. Noise";}
2236 if( HistoCode ==
"H_HFN_Date" ){YVarHisto =
"High Freq. Noise";}
2237 if( HistoCode ==
"H_SCs_Date" ){YVarHisto =
"Sigma Cor(s,s')";}
2255 chqname.Resize(MaxCar);
2256 chqname =
"(no quantity name info)";
2258 if(chqcode ==
"D_NOE_ChNb"){chqname =
"Number of events";}
2259 if(chqcode ==
"D_NOE_ChDs"){chqname =
"Nb of events";}
2260 if(chqcode ==
"D_Ped_ChNb"){chqname =
"Pedestal";}
2261 if(chqcode ==
"D_Ped_ChDs"){chqname =
"Pedestal";}
2262 if(chqcode ==
"D_TNo_ChNb"){chqname =
"Total Noise";}
2263 if(chqcode ==
"D_TNo_ChDs"){chqname =
"Total Noise";}
2264 if(chqcode ==
"D_MCs_ChNb"){chqname =
"Mean Cor(s,s')";}
2265 if(chqcode ==
"D_MCs_ChDs"){chqname =
"Mean Cor(s,s')";}
2266 if(chqcode ==
"D_LFN_ChNb"){chqname =
"Low Freq. Noise";}
2267 if(chqcode ==
"D_LFN_ChDs"){chqname =
"Low Freq. Noise";}
2268 if(chqcode ==
"D_HFN_ChNb"){chqname =
"High Freq. Noise";}
2269 if(chqcode ==
"D_HFN_ChDs"){chqname =
"High Freq. Noise";}
2270 if(chqcode ==
"D_SCs_ChNb"){chqname =
"Sigma Cor(s,s')";}
2271 if(chqcode ==
"D_SCs_ChDs"){chqname =
"Sigma Cor(s,s')";}
2272 if(chqcode ==
"D_MSp_SpNb"){chqname =
"Sample means";}
2273 if(chqcode ==
"D_MSp_SpDs"){chqname =
"Sample means";}
2274 if(chqcode ==
"D_SSp_SpNb"){chqname =
"Sample sigmas";}
2275 if(chqcode ==
"D_SSp_SpDs"){chqname =
"Sample sigmas";}
2276 if(chqcode ==
"D_Adc_EvNb"){chqname =
"Sample ADC";}
2277 if(chqcode ==
"D_Adc_EvDs"){chqname =
"Sample ADC distribution";}
2278 if(chqcode ==
"H_Ped_Date"){chqname =
"Pedestal";}
2279 if(chqcode ==
"H_TNo_Date"){chqname =
"Total Noise";}
2280 if(chqcode ==
"H_MCs_Date"){chqname =
"Mean Cor(s,s')";}
2281 if(chqcode ==
"H_LFN_Date"){chqname =
"Low Freq. Noise";}
2282 if(chqcode ==
"H_HFN_Date"){chqname =
"High Freq. Noise";}
2283 if(chqcode ==
"H_SCs_Date"){chqname =
"Sigma Cor(s,s')";}
2284 if(chqcode ==
"H_Ped_RuDs"){chqname =
"Pedestal";}
2285 if(chqcode ==
"H_TNo_RuDs"){chqname =
"Total Noise";}
2286 if(chqcode ==
"H_MCs_RuDs"){chqname =
"Mean Cor(s,s')";}
2287 if(chqcode ==
"H_LFN_RuDs"){chqname =
"Low Freq. Noise";}
2288 if(chqcode ==
"H_HFN_RuDs"){chqname =
"High Freq. Noise";}
2289 if(chqcode ==
"H_SCs_RuDs"){chqname =
"Sigma Cor(s,s')";}
2295 Double_t vmin = (Double_t)0.;
2297 if(chqcode ==
"H2LFccMosMatrix"){vmin = (Double_t)-1.;}
2298 if(chqcode ==
"H2HFccMosMatrix"){vmin = (Double_t)-1.;}
2299 if(chqcode ==
"H2CorccInStins" ){vmin = (Double_t)-1.;}
2301 if(chqcode ==
"D_NOE_ChNb"){vmin = (Double_t)0.;}
2302 if(chqcode ==
"D_Ped_ChNb"){vmin = (Double_t)0.;}
2303 if(chqcode ==
"D_TNo_ChNb"){vmin = (Double_t)0.;}
2304 if(chqcode ==
"D_MCs_ChNb"){vmin = (Double_t)-1.;}
2305 if(chqcode ==
"D_LFN_ChNb"){vmin = (Double_t)0.;}
2306 if(chqcode ==
"D_HFN_ChNb"){vmin = (Double_t)0.;}
2307 if(chqcode ==
"D_SCs_ChNb"){vmin = (Double_t)-1.;}
2309 if(chqcode ==
"D_NOE_ChDs"){vmin = (Double_t)0.1;}
2310 if(chqcode ==
"D_Ped_ChDs"){vmin = (Double_t)0.1;}
2311 if(chqcode ==
"D_TNo_ChDs"){vmin = (Double_t)0.1;}
2312 if(chqcode ==
"D_MCs_ChDs"){vmin = (Double_t)0.1;}
2313 if(chqcode ==
"D_LFN_ChDs"){vmin = (Double_t)0.1;}
2314 if(chqcode ==
"D_HFN_ChDs"){vmin = (Double_t)0.1;}
2315 if(chqcode ==
"D_SCs_ChDs"){vmin = (Double_t)0.1;}
2317 if(chqcode ==
"D_MSp_SpNb"){vmin = (Double_t)0.;}
2318 if(chqcode ==
"D_MSp_SpDs"){vmin = (Double_t)0.1;}
2319 if(chqcode ==
"D_SSp_SpNb"){vmin = (Double_t)0.;}
2320 if(chqcode ==
"D_SSp_SpDs"){vmin = (Double_t)0.1;}
2322 if(chqcode ==
"D_Adc_EvNb"){vmin = (Double_t)0.;}
2323 if(chqcode ==
"D_Adc_EvDs"){vmin = (Double_t)0.1;}
2325 if(chqcode ==
"H_Ped_Date"){vmin = (Double_t)0.;}
2326 if(chqcode ==
"H_TNo_Date"){vmin = (Double_t)0.;}
2327 if(chqcode ==
"H_MCs_Date"){vmin = (Double_t)-1.;}
2328 if(chqcode ==
"H_LFN_Date"){vmin = (Double_t)0.;}
2329 if(chqcode ==
"H_HFN_Date"){vmin = (Double_t)0.;}
2330 if(chqcode ==
"H_SCs_Date"){vmin = (Double_t)0.;}
2332 if(chqcode ==
"H_Ped_RuDs"){vmin = (Double_t)0.1;}
2333 if(chqcode ==
"H_TNo_RuDs"){vmin = (Double_t)0.1;}
2334 if(chqcode ==
"H_MCs_RuDs"){vmin = (Double_t)0.1;}
2335 if(chqcode ==
"H_LFN_RuDs"){vmin = (Double_t)0.1;}
2336 if(chqcode ==
"H_HFN_RuDs"){vmin = (Double_t)0.1;}
2337 if(chqcode ==
"H_SCs_RuDs"){vmin = (Double_t)0.1;}
2344 Double_t vmax = (Double_t)0.;
2348 if(chqcode ==
"H2LFccMosMatrix" ){vmax = (Double_t)1.;}
2349 if(chqcode ==
"H2HFccMosMatrix" ){vmax = (Double_t)1.;}
2350 if(chqcode ==
"H2CorccInStins" ){vmax = (Double_t)1.;}
2352 if(chqcode ==
"D_NOE_ChNb"){vmax = (Double_t)500.;}
2353 if(chqcode ==
"D_Ped_ChNb"){vmax = (Double_t)500.;}
2354 if(chqcode ==
"D_TNo_ChNb"){vmax = (Double_t)2.5;}
2355 if(chqcode ==
"D_LFN_ChNb"){vmax = (Double_t)2.5;}
2356 if(chqcode ==
"D_HFN_ChNb"){vmax = (Double_t)2.5;}
2357 if(chqcode ==
"D_MCs_ChNb"){vmax = (Double_t)1.;}
2358 if(chqcode ==
"D_SCs_ChNb"){vmax = (Double_t)1.5;}
2360 if(chqcode ==
"D_NOE_ChDs"){vmax = (Double_t)5000.;}
2361 if(chqcode ==
"D_Ped_ChDs"){vmax = (Double_t)5000.;}
2362 if(chqcode ==
"D_TNo_ChDs"){vmax = (Double_t)5000.;}
2363 if(chqcode ==
"D_LFN_ChDs"){vmax = (Double_t)5000.;}
2364 if(chqcode ==
"D_HFN_ChDs"){vmax = (Double_t)5000.;}
2365 if(chqcode ==
"D_MCs_ChDs"){vmax = (Double_t)5000.;}
2366 if(chqcode ==
"D_SCs_ChDs"){vmax = (Double_t)5000.;}
2368 if(chqcode ==
"D_MSp_SpNb"){vmax = (Double_t)500.;}
2369 if(chqcode ==
"D_MSp_SpDs"){vmax = (Double_t)10.;}
2370 if(chqcode ==
"D_SSp_SpNb"){vmax = (Double_t)5.;}
2371 if(chqcode ==
"D_SSp_SpDs"){vmax = (Double_t)10.;}
2373 if(chqcode ==
"D_Adc_EvNb"){vmax = (Double_t)500.;}
2374 if(chqcode ==
"D_Adc_EvDs"){vmax = (Double_t)150.;}
2376 if(chqcode ==
"H_Ped_Date"){vmax = (Double_t)500.;}
2377 if(chqcode ==
"H_TNo_Date"){vmax = (Double_t)5.;}
2378 if(chqcode ==
"H_LFN_Date"){vmax = (Double_t)5.;}
2379 if(chqcode ==
"H_HFN_Date"){vmax = (Double_t)5.;}
2380 if(chqcode ==
"H_MCs_Date"){vmax = (Double_t)1.;}
2381 if(chqcode ==
"H_SCs_Date"){vmax = (Double_t)0.5;}
2383 if(chqcode ==
"H_Ped_RuDs"){vmax = (Double_t)1000.;}
2384 if(chqcode ==
"H_TNo_RuDs"){vmax = (Double_t)1000.;}
2385 if(chqcode ==
"H_LFN_RuDs"){vmax = (Double_t)1000.;}
2386 if(chqcode ==
"H_HFN_RuDs"){vmax = (Double_t)1000.;}
2387 if(chqcode ==
"H_MCs_RuDs"){vmax = (Double_t)1000.;}
2388 if(chqcode ==
"H_SCs_RuDs"){vmax = (Double_t)1000.;}
2393 if(chqcode ==
"H2LFccMosMatrix"){vmax = (Double_t)1.;}
2394 if(chqcode ==
"H2HFccMosMatrix"){vmax = (Double_t)1.;}
2395 if(chqcode ==
"H2CorccInStins" ){vmax = (Double_t)0.05;}
2397 if(chqcode ==
"D_NOE_ChNb"){vmax = (Double_t)500.;}
2398 if(chqcode ==
"D_Ped_ChNb"){vmax = (Double_t)500.;}
2399 if(chqcode ==
"D_TNo_ChNb"){vmax = (Double_t)5.;}
2400 if(chqcode ==
"D_LFN_ChNb"){vmax = (Double_t)5.;}
2401 if(chqcode ==
"D_HFN_ChNb"){vmax = (Double_t)5.;}
2402 if(chqcode ==
"D_MCs_ChNb"){vmax = (Double_t)1.;}
2403 if(chqcode ==
"D_SCs_ChNb"){vmax = (Double_t)2.5;}
2405 if(chqcode ==
"D_NOE_ChDs"){vmax = (Double_t)1000.;}
2406 if(chqcode ==
"D_Ped_ChDs"){vmax = (Double_t)1000.;}
2407 if(chqcode ==
"D_TNo_ChDs"){vmax = (Double_t)1000.;}
2408 if(chqcode ==
"D_LFN_ChDs"){vmax = (Double_t)1000.;}
2409 if(chqcode ==
"D_HFN_ChDs"){vmax = (Double_t)1000.;}
2410 if(chqcode ==
"D_MCs_ChDs"){vmax = (Double_t)1000.;}
2411 if(chqcode ==
"D_SCs_ChDs"){vmax = (Double_t)1000.;}
2413 if(chqcode ==
"D_MSp_SpNb"){vmax = (Double_t)500.;}
2414 if(chqcode ==
"D_MSp_SpDs"){vmax = (Double_t)1000.;}
2415 if(chqcode ==
"D_SSp_SpNb"){vmax = (Double_t)5.;}
2416 if(chqcode ==
"D_SSp_SpDs"){vmax = (Double_t)100.;}
2418 if(chqcode ==
"D_Adc_EvNb"){vmax = (Double_t)500.;}
2419 if(chqcode ==
"D_Adc_EvDs"){vmax = (Double_t)1000.;}
2421 if(chqcode ==
"H_Ped_Date"){vmax = (Double_t)500.;}
2422 if(chqcode ==
"H_TNo_Date"){vmax = (Double_t)5.;}
2423 if(chqcode ==
"H_LFN_Date"){vmax = (Double_t)5.;}
2424 if(chqcode ==
"H_HFN_Date"){vmax = (Double_t)5.;}
2425 if(chqcode ==
"H_MCs_Date"){vmax = (Double_t)1.;}
2426 if(chqcode ==
"H_SCs_Date"){vmax = (Double_t)0.5;}
2428 if(chqcode ==
"H_Ped_RuDs"){vmax = (Double_t)1000.;}
2429 if(chqcode ==
"H_TNo_RuDs"){vmax = (Double_t)1000.;}
2430 if(chqcode ==
"H_LFN_RuDs"){vmax = (Double_t)1000.;}
2431 if(chqcode ==
"H_HFN_RuDs"){vmax = (Double_t)1000.;}
2432 if(chqcode ==
"H_MCs_RuDs"){vmax = (Double_t)1000.;}
2433 if(chqcode ==
"H_SCs_RuDs"){vmax = (Double_t)1000.;}
2448 TString StandardDetectorCode =
"?";
2450 if( UserDetector ==
"Super-module" || UserDetector ==
"SuperModule" ||
2451 UserDetector ==
"super-module" || UserDetector ==
"SM" ||
2452 UserDetector ==
" " || UserDetector ==
"" )
2453 {StandardDetectorCode =
"SM";}
2455 if( UserDetector ==
"DEE" || UserDetector ==
"Dee" )
2456 {StandardDetectorCode =
"Dee";}
2458 if( UserDetector ==
"Ecal barrel" || UserDetector ==
"EcalBarrel" ||
2459 UserDetector ==
"ecal barrel" || UserDetector ==
"Barrel" || UserDetector ==
"barrel" ||
2460 UserDetector ==
"EB" )
2461 {StandardDetectorCode =
"EB";}
2463 if( UserDetector ==
"Ecal endcap" || UserDetector ==
"EcalEndcap" ||
2464 UserDetector ==
"ecal endcap" || UserDetector ==
"Endcap" || UserDetector ==
"endcap" ||
2465 UserDetector ==
"EE" )
2466 {StandardDetectorCode =
"EE";}
2468 if( StandardDetectorCode ==
"?" )
2470 std::cout <<
"*TEcnaParHistos::BuildStandardDetectorCode(...)> UserDetector = " << UserDetector
2471 <<
" : code not found." 2476 return StandardDetectorCode;
2482 TString StandardPlotOption =
"?";
2484 if( CallingMethod ==
"1D" || CallingMethod ==
"2DS" || CallingMethod ==
"Time" )
2486 if( UserPlotOption ==
"ONLY ONE" || UserPlotOption ==
"only one" || UserPlotOption ==
"onlyone" ||
2487 UserPlotOption ==
"Only one" || UserPlotOption ==
"OnlyOne" ||
2488 UserPlotOption ==
"ONLYONE" || UserPlotOption ==
fOnlyOnePlot ||
2489 UserPlotOption ==
" " || UserPlotOption ==
"" )
2492 if( UserPlotOption ==
"SAME" || UserPlotOption ==
"Same" || UserPlotOption ==
fSeveralPlot )
2495 if( UserPlotOption ==
"SAME n" || UserPlotOption ==
"Same n" || UserPlotOption ==
fSameOnePlot )
2502 if( CallingMethod ==
"1DX" )
2504 if( UserPlotOption ==
"ALL XTALS IN TOWER" || UserPlotOption ==
"ALL CHANNELS IN TOWER" ||
2505 UserPlotOption ==
"AllXtalsInTower" || UserPlotOption ==
"AllChannelsInTower" ||
2506 UserPlotOption ==
"ALL XTALS IN TOW" || UserPlotOption ==
"ALL CHANNELS IN TOW" ||
2507 UserPlotOption ==
"AllXtalsInTow" || UserPlotOption ==
"AllChannelsInTow" ||
2508 UserPlotOption ==
"ALL XTALS IN SC" || UserPlotOption ==
"ALL CHANNELS IN SC" ||
2509 UserPlotOption ==
"AllXtalsInSC" || UserPlotOption ==
"AllChannelsInSC" ||
2510 UserPlotOption ==
"SAME IN TOWER" || UserPlotOption ==
"SameInTower" ||
2511 UserPlotOption ==
"SAME IN TOW" || UserPlotOption ==
"SameInTow" ||
2512 UserPlotOption ==
"SAME IN SC" || UserPlotOption ==
"SameInSC" ||
2513 UserPlotOption ==
"Same in tower" || UserPlotOption ==
"Same in tow" ||
2514 UserPlotOption ==
"Same in SC" || UserPlotOption ==
"SameInSC" ||
2516 UserPlotOption ==
" " || UserPlotOption ==
"" )
2520 if( CallingMethod ==
"2D" )
2522 if( UserPlotOption ==
"COLZ" ||
2523 UserPlotOption ==
" " || UserPlotOption ==
"" )
2524 {StandardPlotOption =
"COLZ";}
2525 if( UserPlotOption ==
"BOX" ){StandardPlotOption =
"BOX";}
2526 if( UserPlotOption ==
"TEXT" ){StandardPlotOption =
"TEXT";}
2527 if( UserPlotOption ==
"CONTZ" ){StandardPlotOption =
"CONTZ";}
2528 if( UserPlotOption ==
"LEGO2Z" ){StandardPlotOption =
"LEGO2Z";}
2529 if( UserPlotOption ==
"SURF1Z" ){StandardPlotOption =
"SURF1Z";}
2530 if( UserPlotOption ==
"SURF2Z" ){StandardPlotOption =
"SURF2Z";}
2531 if( UserPlotOption ==
"SURF3Z" ){StandardPlotOption =
"SURF3Z";}
2532 if( UserPlotOption ==
"SURF4" ){StandardPlotOption =
"SURF4";}
2533 if( UserPlotOption ==
"ASCII" ){StandardPlotOption =
"ASCII";}
2537 if( StandardPlotOption ==
"?" )
2539 std::cout <<
"*TEcnaParHistos::BuildStandardPlotOption(...)> UserPlotOption = " << UserPlotOption
2540 <<
" : code not found." 2545 return StandardPlotOption;
2553 TString StandardHistoCode =
"?";
2554 if( CallingMethod ==
"1D" || CallingMethod ==
"2DS" || CallingMethod ==
"Time" )
2557 if( UserHistoCode ==
"Tower" || UserHistoCode ==
"tower" || UserHistoCode ==
"tow" ||
2558 UserHistoCode ==
"Tower number" || UserHistoCode ==
"tower number" || UserHistoCode ==
"tow nb" ||
2559 UserHistoCode ==
"Tower#" || UserHistoCode ==
"tower#" || UserHistoCode ==
"tow#" ||
2560 UserHistoCode ==
"Tow#" || UserHistoCode ==
"Tow" )
2561 {StandardHistoCode =
"Tow";}
2563 if( UserHistoCode ==
"Super crystal" || UserHistoCode ==
"SuperCrystal" || UserHistoCode ==
"SuperXtal" ||
2564 UserHistoCode ==
"Super crystal number" || UserHistoCode ==
"SuperCrystalNumber" ||
2565 UserHistoCode ==
"SuperXtalNumber" ||
2566 UserHistoCode ==
"Super crystal nb" || UserHistoCode ==
"SuperCrystal#" ||
2567 UserHistoCode ==
"SuperXtal#" ||
2568 UserHistoCode ==
"SC#" || UserHistoCode ==
"SC" )
2569 {StandardHistoCode =
"SC";}
2571 if( UserHistoCode ==
"Crystal" || UserHistoCode ==
"crystal" || UserHistoCode ==
"Xtal" ||
2572 UserHistoCode ==
"Crystal number" || UserHistoCode ==
"crystal number" ||
2573 UserHistoCode ==
"Xtal number" ||
2574 UserHistoCode ==
"Crystal#" || UserHistoCode ==
"crystal#" || UserHistoCode ==
"Xtal#" ||
2575 UserHistoCode ==
"Xtal" )
2576 {StandardHistoCode =
"Xtal";}
2578 if( StandardHistoCode ==
"Tow" || StandardHistoCode ==
"SC" || StandardHistoCode ==
"Xtal" )
2579 {StandardHistoCode =
"XtalORStin";}
2581 if( UserHistoCode ==
"Sample number" || UserHistoCode ==
"SampleNumber" ||
2582 UserHistoCode ==
"Sample#" || UserHistoCode ==
"Samp#" ||
2583 UserHistoCode ==
"Sample" || UserHistoCode ==
"sample" ||
2584 UserHistoCode ==
"Smp" )
2585 {StandardHistoCode =
"Smp";}
2587 if( UserHistoCode ==
"Event" || UserHistoCode ==
"event" ||
2588 UserHistoCode ==
"Event number" || UserHistoCode ==
"event number" ||
2589 UserHistoCode ==
"EventNumber" || UserHistoCode ==
"Event#" ||
2590 UserHistoCode ==
"EvtNumber" || UserHistoCode ==
"Evt#" ||
2591 UserHistoCode ==
"Evt number" || UserHistoCode ==
"evt number" ||
2592 UserHistoCode ==
"Evt" )
2593 {StandardHistoCode =
"Evt";}
2596 if( StandardHistoCode ==
"?" )
2603 if( StandardHistoCode ==
"?" )
2605 std::cout <<
"*TEcnaParHistos::BuildStandard1DHistoCodeX(...)> UserHistoCode = " << UserHistoCode
2606 <<
" : code not found." 2611 return StandardHistoCode;
2618 TString StandardHistoCode =
"?";
2620 if( CallingMethod ==
"1D" || CallingMethod ==
"2DS" || CallingMethod ==
"Time" )
2623 if( UserHistoCode ==
"Number of crystals" || UserHistoCode ==
"NumberOfCrystals" ||
2624 UserHistoCode ==
"Nb of crystals" || UserHistoCode ==
"NbOfCrystals" ||
2625 UserHistoCode ==
"Number of xtals" || UserHistoCode ==
"NumberOfXtals" ||
2626 UserHistoCode ==
"Nb of xtals" || UserHistoCode ==
"NbOfXtals" ||
2627 UserHistoCode ==
"nox" || UserHistoCode ==
"NOX" )
2628 {StandardHistoCode =
"NOX";}
2630 if( UserHistoCode ==
"Number of samples" || UserHistoCode ==
"NumberOfSamples" ||
2631 UserHistoCode ==
"Nb of samples" || UserHistoCode ==
"NbOfSamples" ||
2632 UserHistoCode ==
"nos" || UserHistoCode ==
"NOS" )
2633 {StandardHistoCode =
"NOS";}
2635 if( UserHistoCode ==
"Number of runs" || UserHistoCode ==
"NumberOfRuns" ||
2636 UserHistoCode ==
"Nb of runs" || UserHistoCode ==
"NbOfRuns" ||
2637 UserHistoCode ==
"nor" || UserHistoCode ==
"NOR" )
2638 {StandardHistoCode =
"NOR";}
2641 if( StandardHistoCode ==
"?" )
2647 if( StandardHistoCode ==
"?" )
2649 std::cout <<
"*TEcnaParHistos::BuildStandard1DHistoCodeY(...)> UserHistoCode = " << UserHistoCode
2650 <<
" : code not found." 2655 return StandardHistoCode;
2662 TString StandardHistoCode =
"?";
2665 if( UserHistoCode ==
"Number of events" || UserHistoCode ==
"Nb of evts" ||
2666 UserHistoCode ==
"NumberbOfEvents" || UserHistoCode ==
"NbOfEvts" ||
2667 UserHistoCode ==
"number of events" ||
2668 UserHistoCode ==
"noe" || UserHistoCode ==
"NOE" ||
2669 UserHistoCode ==
" " || UserHistoCode ==
"" )
2670 {StandardHistoCode =
"NOE";}
2672 if( UserHistoCode ==
"Pedestals" || UserHistoCode ==
"Pedestal" ||
2673 UserHistoCode ==
"pedestals" || UserHistoCode ==
"pedestal" ||
2674 UserHistoCode ==
"ped" || UserHistoCode ==
"Ped" )
2675 {StandardHistoCode =
"Ped";}
2677 if( UserHistoCode ==
"Total noise" || UserHistoCode ==
"TotalNoise" ||
2678 UserHistoCode ==
"total noise" || UserHistoCode ==
"TN" ||
2679 UserHistoCode ==
"tn" || UserHistoCode ==
"TNo" )
2680 {StandardHistoCode =
"TNo";}
2682 if( UserHistoCode ==
"Low frequency noise" || UserHistoCode ==
"LowFrequencyNoise" ||
2683 UserHistoCode ==
"LF noise" || UserHistoCode ==
"LFNoise" ||
2684 UserHistoCode ==
"low frequency noise" || UserHistoCode ==
"lfn" ||
2685 UserHistoCode ==
"LFN")
2686 {StandardHistoCode =
"LFN";}
2688 if( UserHistoCode ==
"High frequency noise" || UserHistoCode ==
"HighFrequencyNoise" ||
2689 UserHistoCode ==
"HF noise" || UserHistoCode ==
"HFNoise" ||
2690 UserHistoCode ==
"high frequency noise" ||
2691 UserHistoCode ==
"hfn" || UserHistoCode ==
"HFN")
2692 {StandardHistoCode =
"HFN";}
2694 if( UserHistoCode ==
"Mean correlations between samples" ||
2695 UserHistoCode ==
"MeanCorrelationsBetweenSamples" ||
2696 UserHistoCode ==
"Correlations between samples" ||
2697 UserHistoCode ==
"CorrelationsBetweenSamples" ||
2698 UserHistoCode ==
"Mean corss" || UserHistoCode ==
"MeanCorss" ||
2699 UserHistoCode ==
"Corss" || UserHistoCode ==
"corss" ||
2700 UserHistoCode ==
"Css" || UserHistoCode ==
"css" ||
2701 UserHistoCode ==
"mean correlations between samples" ||
2702 UserHistoCode ==
"mcs" || UserHistoCode ==
"MCs" )
2703 {StandardHistoCode =
"MCs";}
2705 if( UserHistoCode ==
"Sigma of correlations between samples" ||
2706 UserHistoCode ==
"SigmaOfCorrelationsBetweenSamples" ||
2707 UserHistoCode ==
"Sigma corss" || UserHistoCode ==
"SigmaCorss" ||
2708 UserHistoCode ==
"SigCorss" || UserHistoCode ==
"sigcorss" ||
2709 UserHistoCode ==
"SCss" || UserHistoCode ==
"scss" ||
2710 UserHistoCode ==
"sigma of correlations between samples" ||
2711 UserHistoCode ==
"scs" || UserHistoCode ==
"SCs")
2712 {StandardHistoCode =
"SCs";}
2714 if( UserHistoCode ==
"Sample mean" || UserHistoCode ==
"SampleMean" ||
2715 UserHistoCode ==
"Sample average" || UserHistoCode ==
"SampleAverage" ||
2716 UserHistoCode ==
"SampMean" || UserHistoCode ==
"SampAverage" ||
2717 UserHistoCode ==
"MSp" )
2718 {StandardHistoCode =
"MSp";}
2720 if( UserHistoCode ==
"Sample sigma" || UserHistoCode ==
"SampleSigma" ||
2721 UserHistoCode ==
"Sigma of samples" || UserHistoCode ==
"SigmaOfSamples" ||
2722 UserHistoCode ==
"SampSigma" ||
2723 UserHistoCode ==
"SSp" )
2724 {StandardHistoCode =
"SSp";}
2726 if( UserHistoCode ==
"date" || UserHistoCode ==
"Date" || UserHistoCode ==
"time" ||
2727 UserHistoCode ==
"Time" )
2728 {StandardHistoCode =
"Time";}
2730 if( UserHistoCode ==
"ADC value" || UserHistoCode ==
"ADCValue" ||
2731 UserHistoCode ==
"Adc value" || UserHistoCode ==
"AdcValue" ||
2732 UserHistoCode ==
"Sample ADC" || UserHistoCode ==
"SampleAdc" ||
2733 UserHistoCode ==
"ADC" || UserHistoCode ==
"Adc" )
2734 {StandardHistoCode =
"Adc";}
2737 if( StandardHistoCode ==
"?" )
2739 std::cout <<
"*TEcnaParHistos::BuildStandard1DHistoCodeXY(...)> UserHistoCode = " << UserHistoCode
2740 <<
" : code not found." 2745 return StandardHistoCode;
2752 TString StandardHistoCode =
"?";
2753 if( CallingMethod ==
"2D" )
2756 if( UserHistoCode ==
"Correlation" || UserHistoCode ==
"Correlations" ||
2757 UserHistoCode ==
"correlation" || UserHistoCode ==
"correlations" ||
2758 UserHistoCode ==
"Correl" || UserHistoCode ==
"correl" ||
2759 UserHistoCode ==
"cor" || UserHistoCode ==
"Cor" ||
2760 UserHistoCode ==
" " || UserHistoCode ==
"" )
2761 {StandardHistoCode =
"Cor";}
2763 if( UserHistoCode ==
"Covariance" || UserHistoCode ==
"Covariances" ||
2764 UserHistoCode ==
"covariance" || UserHistoCode ==
"covariances" ||
2765 UserHistoCode ==
"Covar" || UserHistoCode ==
"covar" ||
2766 UserHistoCode ==
"cov" || UserHistoCode ==
"Cov" )
2767 {StandardHistoCode =
"Cov";}
2770 if( StandardHistoCode ==
"?" )
2772 std::cout <<
"*TEcnaParHistos::BuildStandardCovOrCorCode(...)> UserHistoCode = " << UserHistoCode
2773 <<
" : code not found." 2778 return StandardHistoCode;
2785 TString StandardHistoCode =
"?";
2786 if( CallingMethod ==
"2D" )
2789 if( UserHistoCode ==
"Samples" || UserHistoCode ==
"Between samples" ||
2790 UserHistoCode ==
"samples" || UserHistoCode ==
"between samples" ||
2791 UserHistoCode ==
"BetweenSamples" ||
2792 UserHistoCode ==
"Samp" || UserHistoCode ==
"samp" ||
2793 UserHistoCode ==
"ss" || UserHistoCode ==
"Mss" )
2794 {StandardHistoCode =
"Mss";}
2796 if( UserHistoCode ==
"LF channels" || UserHistoCode ==
"LF between channels" ||
2797 UserHistoCode ==
"LFChannels" || UserHistoCode ==
"LFBetweenChannels" ||
2798 UserHistoCode ==
"LFChan" || UserHistoCode ==
"lfchan" ||
2799 UserHistoCode ==
"LFcc" || UserHistoCode ==
"lfcc" || UserHistoCode ==
"MccLF" )
2800 {StandardHistoCode =
"MccLF";}
2802 if( UserHistoCode ==
"HF channels" || UserHistoCode ==
"HF between channels" ||
2803 UserHistoCode ==
"HFChannels" || UserHistoCode ==
"HFBetweenChannels" ||
2804 UserHistoCode ==
"HFChan" || UserHistoCode ==
"hfchan" ||
2805 UserHistoCode ==
"HFcc" || UserHistoCode ==
"hfcc" || UserHistoCode ==
"MccHF" )
2806 {StandardHistoCode =
"MccHF";}
2808 if( UserHistoCode ==
"LF towers" || UserHistoCode ==
"LF between towers" ||
2809 UserHistoCode ==
"LFTowers" || UserHistoCode ==
"LFBetweenTowers" ||
2810 UserHistoCode ==
"LFTow" || UserHistoCode ==
"lftow" ||
2811 UserHistoCode ==
"LFtt" || UserHistoCode ==
"lftt" ||
2812 UserHistoCode ==
"LF SCs" || UserHistoCode ==
"LF between SCs" ||
2813 UserHistoCode ==
"LFSCs" || UserHistoCode ==
"LFBetweenSCs" ||
2814 UserHistoCode ==
"LFSuperXtals" || UserHistoCode ==
"lfsc" ||
2815 UserHistoCode ==
"LFSC" || UserHistoCode ==
"lfsx" ||
2816 UserHistoCode ==
"MttLF" )
2817 {StandardHistoCode =
"MttLF";}
2819 if( UserHistoCode ==
"HF towers" || UserHistoCode ==
"HF between towers" ||
2820 UserHistoCode ==
"HFTowers" || UserHistoCode ==
"HFBetweenTowers" ||
2821 UserHistoCode ==
"HFTow" || UserHistoCode ==
"hftow" ||
2822 UserHistoCode ==
"HFtt" || UserHistoCode ==
"hftt" ||
2823 UserHistoCode ==
"HF SCs" || UserHistoCode ==
"HF between SCs" ||
2824 UserHistoCode ==
"HFSCs" || UserHistoCode ==
"HFBetweenSCs" ||
2825 UserHistoCode ==
"HFSuperXtals" || UserHistoCode ==
"hfsc" ||
2826 UserHistoCode ==
"HFSC" || UserHistoCode ==
"hfsx" ||
2827 UserHistoCode ==
"MttHF" )
2828 {StandardHistoCode =
"MttHF";}
2832 if( StandardHistoCode ==
"?" )
2834 std::cout <<
"*TEcnaParHistos::BuildStandardBetweenWhatCode(...)> UserHistoCode = " << UserHistoCode
2835 <<
" : code not found." 2840 return StandardHistoCode;
2849 if(TypeOfCode ==
"DetectorCode")
2851 std::cout <<
"*--------------------------------------- Standard detector codes:" << std::endl;
2852 std::cout <<
" EB (ECAL Barrel) " << std::endl;
2853 std::cout <<
" EE (ECAL Endcap) " << std::endl;
2854 std::cout <<
" SM (Barrel Super Module) " << std::endl;
2855 std::cout <<
" Dee (Encap Dee) " << std::endl;
2856 std::cout <<
" Other codes are available" << std::endl;
2857 std::cout <<
" See source file: TEcnaParHistos::BuildStandardDetectorCode(...)." << std::endl;
2858 std::cout <<
"*----------------------------------------------------------------" << std::endl;
2861 if(TypeOfCode ==
"PlotOption")
2863 std::cout <<
"*--------------------------------------- Standard plot options:" << std::endl;
2864 std::cout <<
" All ROOT DRAW options and: " << std::endl;
2865 std::cout <<
" (nothing) " << std::endl;
2868 std::cout <<
" Other codes are available" << std::endl;
2869 std::cout <<
" See source file: TEcnaParHistos::BuildStandardPlotOption(...)." << std::endl;
2870 std::cout <<
"*--------------------------------------------------------------" << std::endl;
2873 if(TypeOfCode ==
"1DHistoCodeX")
2875 std::cout <<
"*---------------------- Standard 1D histo codes for X coordinate:" << std::endl;
2876 std::cout <<
" Tow (SM tower) " << std::endl;
2877 std::cout <<
" SC (Dee super crystal) " << std::endl;
2878 std::cout <<
" Xtal (crystal) " << std::endl;
2879 std::cout <<
" Smp (Adc sample) " << std::endl;
2880 std::cout <<
" Evt (event) " << std::endl;
2881 std::cout <<
" Other codes are available" << std::endl;
2882 std::cout <<
" See source file: TEcnaParHistos::BuildStandard1DHistoCodeX(...)." << std::endl;
2883 std::cout <<
"*----------------------------------------------------------------" << std::endl;
2886 if(TypeOfCode ==
"1DHistoCodeY")
2888 std::cout <<
"*---------------------- Standard 1D histo codes for Y coordinate;" << std::endl;
2889 std::cout <<
" NOX (number of crystals) " << std::endl;
2890 std::cout <<
" NOS (number of samples) " << std::endl;
2891 std::cout <<
" NOR (number of runs) " << std::endl;
2892 std::cout <<
" Other codes are available" << std::endl;
2893 std::cout <<
" See source file: TEcnaParHistos::BuildStandard1DHistoCodeY(...)." << std::endl;
2894 std::cout <<
"*----------------------------------------------------------------" << std::endl;
2897 if(TypeOfCode ==
"1DHistoCodeXY")
2899 std::cout <<
"*------------------ Standard 1D histo codes for X or Y coordinate;" << std::endl;
2900 std::cout <<
" NOE (number of events) " << std::endl;
2901 std::cout <<
" Ped (pedestal) " << std::endl;
2902 std::cout <<
" TNo (total noise) " << std::endl;
2903 std::cout <<
" LFN (low frequency noise) " << std::endl;
2904 std::cout <<
" HFN (high frequency noise) " << std::endl;
2905 std::cout <<
" MCs (mean correlation between samples) " << std::endl;
2906 std::cout <<
" SCs (sigma of correlations between samples) " << std::endl;
2907 std::cout <<
" MSp (sample mean) " << std::endl;
2908 std::cout <<
" SSp (sample sigma) " << std::endl;
2909 std::cout <<
" Time (time, date) " << std::endl;
2910 std::cout <<
" Adc (ADC sample value) " << std::endl;
2911 std::cout <<
" Other codes are available" << std::endl;
2912 std::cout <<
" See source file: TEcnaParHistos::BuildStandard1DHistoCodeXY(...)." << std::endl;
2913 std::cout <<
"*-----------------------------------------------------------------" << std::endl;
2916 if(TypeOfCode ==
"CovOrCorCode")
2918 std::cout <<
"*-------- Standard codes for matrix type (correlation or covariance);" << std::endl;
2919 std::cout <<
" Cor (correlation) " << std::endl;
2920 std::cout <<
" cov (covariance) " << std::endl;
2921 std::cout <<
" Other codes are available" << std::endl;
2922 std::cout <<
" See source file: TEcnaParHistos::BuildStandardCovOrCorCode(...)." << std::endl;
2923 std::cout <<
"*--------------------------------------------------------------------" << std::endl;
2926 if(TypeOfCode ==
"BetweenWhatCode")
2928 std::cout <<
"*-------- Standard codes for quantities in correlation or covariance;" << std::endl;
2929 std::cout <<
" Mss (between samples) " << std::endl;
2930 std::cout <<
" MccLF (low frequency between channels) " << std::endl;
2931 std::cout <<
" MccHF (high frequency between channels) " << std::endl;
2932 std::cout <<
" MttLF (low frequency between towers [if EB] or SC [if EE]) " << std::endl;
2933 std::cout <<
" MttLF (high frequency between towers [if EB] or SC [if EE]) " << std::endl;
2934 std::cout <<
" Other codes are available" << std::endl;
2935 std::cout <<
" See source file: TEcnaParHistos::BuildStandardBetweenWhatCode(...)." << std::endl;
2936 std::cout <<
"*--------------------------------------------------------------------" << std::endl;
2944 TString TechHistoCode =
"?";
2947 if( StandardHistoCode ==
"NOE" ){TechHistoCode =
"D_NOE_ChNb";}
2948 if( StandardHistoCode ==
"Ped" ){TechHistoCode =
"D_Ped_ChNb";}
2949 if( StandardHistoCode ==
"TNo" ){TechHistoCode =
"D_TNo_ChNb";}
2950 if( StandardHistoCode ==
"LFN" ){TechHistoCode =
"D_LFN_ChNb";}
2951 if( StandardHistoCode ==
"HFN" ){TechHistoCode =
"D_HFN_ChNb";}
2952 if( StandardHistoCode ==
"MCs" ){TechHistoCode =
"D_MCs_ChNb";}
2953 if( StandardHistoCode ==
"SCs" ){TechHistoCode =
"D_SCs_ChNb";}
2955 if( TechHistoCode ==
"?" )
2957 std::cout <<
"*TEcnaParHistos::GetTechHistoCode(...)> StandardHistoCode = " << StandardHistoCode
2958 <<
" : code not found " <<
fTTBELL << std::endl;
2960 return TechHistoCode;
2966 TString TechHistoCode =
"?";
2969 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"NOE" ){TechHistoCode =
"D_NOE_ChNb";}
2970 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"Ped" ){TechHistoCode =
"D_Ped_ChNb";}
2971 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"TNo" ){TechHistoCode =
"D_TNo_ChNb";}
2972 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"LFN" ){TechHistoCode =
"D_LFN_ChNb";}
2973 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"HFN" ){TechHistoCode =
"D_HFN_ChNb";}
2974 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"MCs" ){TechHistoCode =
"D_MCs_ChNb";}
2975 if ( X_Quantity ==
"XtalORStin" && Y_Quantity ==
"SCs" ){TechHistoCode =
"D_SCs_ChNb";}
2977 if ( X_Quantity ==
"NOE" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_NOE_ChDs";}
2978 if ( X_Quantity ==
"Ped" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_Ped_ChDs";}
2979 if ( X_Quantity ==
"TNo" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_TNo_ChDs";}
2980 if ( X_Quantity ==
"LFN" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_LFN_ChDs";}
2981 if ( X_Quantity ==
"HFN" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_HFN_ChDs";}
2982 if ( X_Quantity ==
"MCs" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_MCs_ChDs";}
2983 if ( X_Quantity ==
"SCs" && Y_Quantity ==
"NOX" ){TechHistoCode =
"D_SCs_ChDs";}
2985 if ( X_Quantity ==
"Smp" && Y_Quantity ==
"MSp" ){TechHistoCode =
"D_MSp_SpNb";}
2986 if ( X_Quantity ==
"MSp" && Y_Quantity ==
"NOS" ){TechHistoCode =
"D_MSp_SpDs";}
2987 if ( X_Quantity ==
"Smp" && Y_Quantity ==
"SSp" ){TechHistoCode =
"D_SSp_SpNb";}
2988 if ( X_Quantity ==
"SSp" && Y_Quantity ==
"NOS" ){TechHistoCode =
"D_SSp_SpDs";}
2990 if ( X_Quantity ==
"Evt" && Y_Quantity ==
"Adc" ){TechHistoCode =
"D_Adc_EvNb";}
2991 if ( X_Quantity ==
"Adc" && Y_Quantity ==
"NOE" ){TechHistoCode =
"D_Adc_EvDs";}
2994 if( X_Quantity ==
"Time" && Y_Quantity ==
"Ped" ){TechHistoCode =
"H_Ped_Date";}
2995 if( X_Quantity ==
"Ped" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_Ped_RuDs";}
2997 if( X_Quantity ==
"Time" && Y_Quantity ==
"TNo" ){TechHistoCode =
"H_TNo_Date";}
2998 if( X_Quantity ==
"TNo" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_TNo_RuDs";}
3000 if( X_Quantity ==
"Time" && Y_Quantity ==
"LFN" ){TechHistoCode =
"H_LFN_Date";}
3001 if( X_Quantity ==
"LFN" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_LFN_RuDs";}
3003 if( X_Quantity ==
"Time" && Y_Quantity ==
"HFN" ){TechHistoCode =
"H_HFN_Date";}
3004 if( X_Quantity ==
"HFN" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_HFN_RuDs";}
3006 if( X_Quantity ==
"Time" && Y_Quantity ==
"MCs" ){TechHistoCode =
"H_MCs_Date";}
3007 if( X_Quantity ==
"MCs" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_MCs_RuDs";}
3009 if( X_Quantity ==
"Time" && Y_Quantity ==
"SCs" ){TechHistoCode =
"H_SCs_Date";}
3010 if( X_Quantity ==
"SCs" && Y_Quantity ==
"NOR" ){TechHistoCode =
"H_SCs_RuDs";}
3012 if( TechHistoCode ==
"?" )
3014 std::cout <<
"TEcnaParHistos::GetTechHistoCode(...)> HistoCode not found. X_Quantity = " << X_Quantity
3015 <<
", Y_Quantity = "<< Y_Quantity << std::endl;
3017 return TechHistoCode;
TPaveText * SetPaveTowersXY(const Int_t &, const Int_t &)
TPaveText * SetPaveSCsXY(const Int_t &, const Int_t &)
void SetViewHistoStats(TH1D *, const TString &)
Color_t SetColorsForNumbers(const TString &)
TString BuildStandard1DHistoCodeX(const TString &, const TString &)
TPaveText * SetPaveStinsXY(const Int_t &, const Int_t &)
TString GetSCQuadFrom1DeeSCEcna(const Int_t &)
TString BuildStandardPlotOption(const TString &, const TString &)
Float_t AxisTitleOffset()
Int_t GetCodePlotAllXtalsInStin()
void SetViewHistoPadMargins(const TString &, const TString &)
TString GetCodeSameOnePlot()
Double_t fMarginAutoMinMax
TString BuildStandard1DHistoCodeXY(const TString &)
TPaveText * SetPaveSM(const TString &, const Int_t &, const TString &)
TString BuildStandard1DHistoCodeY(const TString &, const TString &)
Float_t DeeNameOffsetX(const Int_t &)
TString fAllXtalsInStinPlot
TString GetSMHalfBarrel(const Int_t &)
Int_t fMaxNbOfRunsInLists
ClassImp(TEcnaParHistos) TEcnaParHistos
TString GetEEDeeType(const Int_t &)
UInt_t CanvasFormatH(const TString &)
TPaveText * SetPaveEvolRuns(const Int_t &, const TString &, const Int_t &, const TString &, const TString &, const TString &)
Double_t GetYminDefaultValue(const TString &)
Double_t BoxLeftX(const TString &)
UInt_t SetCanvasWidth(const TString &, const TString &)
void SetViewHistoOffsets(TH1D *, const TString &, const TString &)
TPaveText * SetPaveLVRB(const Int_t &, const Int_t &)
void SetViewHistoStyle(const TString &)
TString GetXVarHisto(const TString &, const TString &, const Int_t &)
Double_t GetYmaxDefaultValue(const TString &)
Float_t DeeNumberOffsetX(const TString &, const Int_t &)
TString BuildStandardBetweenWhatCode(const TString &, const TString &)
TPaveText * SetPaveNbOfEvts(const Int_t &, const TString &, const TString &, const TString &)
Bool_t RegisterPointer(const TString &, const Long_t &)
TString GetTowerLvrbType(const Int_t &)
TPaveText * SetPaveEvolNbOfEvtsAna(const TString &, const Int_t &, const Int_t &, const Int_t &, const TString &)
TPaveText * SetPaveStex(const TString &, const Int_t &)
TString BuildStandardDetectorCode(const TString &)
Float_t AxisLabelOffset()
UInt_t CanvasFormatW(const TString &)
auto const T2 &decltype(t1.eta()) t2
TString GetCodeSeveralPlot()
Int_t MaxNbOfRunsInLists()
TString GetCodeAllXtalsInStinPlot()
Color_t ColorTab(const Int_t &)
TPaveText * SetPaveCxyz(const Int_t &)
UInt_t SetCanvasHeight(const TString &, const TString &)
TString GetQuantityName(const TString &)
Float_t DeeOffsetX(const TString &, const Int_t &)
Int_t GetDSSCFrom1DeeSCEcna(const Int_t &, const Int_t &, const Int_t &)
TPaveText * SetPaveGeneralComment(const TString &)
TString GetHistoType(const TString &)
TPaveText * SetPaveTower(const Int_t &)
Int_t GetDSFrom1DeeSCEcna(const Int_t &, const Int_t &)
Int_t GetDeeSCConsFrom1DeeSCEcna(const Int_t &, const Int_t &)
Int_t fPlotAllXtalsInStin
TPaveText * SetPaveCrystal(const Int_t &, const Int_t &, const Int_t &)
TString GetYVarHisto(const TString &, const TString &, const Int_t &)
Color_t ColorDefinition(const TString &)
TPaveText * SetPaveStin(const Int_t &, const Int_t &)
TPaveText * SetPaveAnalysisRun(const TString &, const Int_t &, const Int_t &, const TString &, const Int_t &, const Int_t &, const TString &)
TString GetTechHistoCode(const TString &)
Double_t BoxTopY(const TString &)
TString BuildStandardCovOrCorCode(const TString &, const TString &)
void SetColorPalette(const TString &)
TPaveText * SetPaveDee(const TString &, const Int_t &, const TString &)
Int_t GetNbOfRunsDisplayed()
TPaveText * SetPaveCrystalSample(const Int_t &, const Int_t &, const Int_t &, const Int_t &)
TPaveText * SetOptionSamePaveBorder(const TString &, const TString &)
void SetEcalSubDetector(const TString &)
TString GetCodeOnlyOnePlot()
Double_t GetMarginAutoMinMax()
Double_t BoxRightX(const TString &)
TString GetEcalSubDetector()
Int_t MaxStinHocoInStex()
TEcnaNumbering * fEcalNumbering
TPaveText * SetPaveSC(const Int_t &, const Int_t &)
Double_t BoxBottomY(const TString &)
void SetViewGraphOffsets(TGraph *, const TString &)
void ListOfStandardCodes(const TString &)
Long_t GetPointerValue(const TString &)
TPaveText * SetPaveStas()