1 |
|
|
2 |
/** |
/** |
3 |
* FTrkQLook_EXPERT.cxx |
* FTrkQLook_EXPERT.cxx |
4 |
* |
* |
5 |
* autor: D.Fedele |
* autor: D.Fedele |
6 |
* version v1r26 |
* version v1r27 |
7 |
* Parameters: |
* Parameters: |
8 |
* file - the data file to analyze |
* file - the data file to analyze |
9 |
* fromevent - first event to analyze |
* fromevent - first event to analyze |
621 |
|
|
622 |
case 1: |
case 1: |
623 |
li.DrawLine(min,2055.,max,2055.); |
li.DrawLine(min,2055.,max,2055.); |
624 |
li.DrawLine(min,2050.,max,2050.); |
li.DrawLine(min,2049.,max,2049.); |
625 |
t1->DrawLatex(xlat,2055.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2055.3,ma.str().c_str()); |
626 |
t1->DrawLatex(xlat,2049.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2048.7,mi.str().c_str()); |
627 |
break; |
break; |
628 |
|
|
629 |
case 2: |
case 2: |
630 |
li.DrawLine(min,2056.,max,2056.); |
li.DrawLine(min,2056.,max,2056.); |
631 |
li.DrawLine(min,2051.,max,2051.); |
li.DrawLine(min,2050.,max,2050.); |
632 |
t1->DrawLatex(xlat,2056.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2056.3,ma.str().c_str()); |
633 |
t1->DrawLatex(xlat,2050.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2049.7,mi.str().c_str()); |
634 |
break; |
break; |
635 |
|
|
636 |
case 3: |
case 3: |
637 |
li.DrawLine(min,2057.,max,2057.); |
li.DrawLine(min,2057.,max,2057.); |
638 |
li.DrawLine(min,2052.,max,2052.); |
li.DrawLine(min,2051.,max,2051.); |
639 |
t1->DrawLatex(xlat,2057.3,ma.str().c_str()); |
t1->DrawLatex(xlat,2057.3,ma.str().c_str()); |
640 |
t1->DrawLatex(xlat,2051.7,mi.str().c_str()); |
t1->DrawLatex(xlat,2050.7,mi.str().c_str()); |
641 |
break; |
break; |
642 |
|
|
643 |
case 4: |
case 4: |
644 |
li.DrawLine(min,2066.,max,2066.); |
li.DrawLine(min,2066.,max,2066.); |
645 |
li.DrawLine(min,2060.,max,2060.); |
li.DrawLine(min,2060.,max,2060.); |
646 |
t1->DrawLatex(xlat,2066.15,ma.str().c_str()); |
t1->DrawLatex(xlat,2066.2,ma.str().c_str()); |
647 |
t1->DrawLatex(xlat,2059.85,mi.str().c_str()); |
t1->DrawLatex(xlat,2059.8,mi.str().c_str()); |
648 |
break; |
break; |
649 |
|
|
650 |
} |
} |
1111 |
t1->DrawLatex(70.,98.7,isfile.str().c_str()); |
t1->DrawLatex(70.,98.7,isfile.str().c_str()); |
1112 |
isfile.str(""); |
isfile.str(""); |
1113 |
|
|
1114 |
|
isfile<<"Boxes so colored point out chips broken before the launch and never resumed"; |
1115 |
|
t->SetTextColor(6); |
1116 |
|
t->SetTextSize(0.018); |
1117 |
|
t->DrawLatex(7.,97.2,isfile.str().c_str()); |
1118 |
|
isfile.str(""); |
1119 |
|
|
1120 |
|
isfile<<"Boxes so colored point out anomalous chips (not necessarily broken)"; |
1121 |
|
t->SetTextColor(107); |
1122 |
|
t->DrawLatex(7.,95.7,isfile.str().c_str()); |
1123 |
|
isfile.str(""); |
1124 |
|
t->SetTextColor(1); |
1125 |
|
|
1126 |
// |
// |
1127 |
// Draw the histos |
// Draw the histos |
1128 |
for (Int_t i=0; i<12 ; i++){ |
for (Int_t i=0; i<12 ; i++){ |
1192 |
b.SetFillColor(107); |
b.SetFillColor(107); |
1193 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
1194 |
b.DrawBox(384.,0.,512.,maxhist); |
b.DrawBox(384.,0.,512.,maxhist); |
1195 |
|
b.DrawBox(896.,0.,1024.,maxhist); |
1196 |
b.DrawBox(2048.,0.,2432.,maxhist); |
b.DrawBox(2048.,0.,2432.,maxhist); |
1197 |
b.DrawBox(2816.,0.,2944.,maxhist); |
b.DrawBox(2816.,0.,2944.,maxhist); |
1198 |
} |
} |
1210 |
else if(i==5){ |
else if(i==5){ |
1211 |
b.SetFillColor(107); |
b.SetFillColor(107); |
1212 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
1213 |
b.DrawBox(896.,0.,1024.,maxhist); |
b.DrawBox(896.,0.,1024.,maxhist); |
1214 |
|
// b.DrawBox(1664.,0.,1792.,maxhist); |
1215 |
} |
} |
1216 |
else if(i==6){ |
else if(i==6){ |
1217 |
b.SetFillColor(107); |
b.SetFillColor(107); |
1241 |
b.DrawBox(512.,0.,640.,maxhist); |
b.DrawBox(512.,0.,640.,maxhist); |
1242 |
b.DrawBox(896.,0.,1024.,maxhist); |
b.DrawBox(896.,0.,1024.,maxhist); |
1243 |
b.DrawBox(1280.,0.,1535.,maxhist); |
b.DrawBox(1280.,0.,1535.,maxhist); |
1244 |
b.DrawBox(1792.,0.,1920.,maxhist); |
b.DrawBox(1664.,0.,1920.,maxhist); |
1245 |
} |
} |
1246 |
else if(i==10){ |
else if(i==10){ |
1247 |
b.SetFillColor(107); |
b.SetFillColor(107); |
1248 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
1249 |
b.DrawBox(0.,0.,256.,maxhist); |
b.DrawBox(0.,0.,512.,maxhist); |
1250 |
b.DrawBox(1024.,0.,1152.,maxhist); |
b.DrawBox(1024.,0.,3070.,maxhist); |
|
b.DrawBox(1768.,0.,3070.,maxhist); |
|
1251 |
} |
} |
1252 |
else if(i==11){ |
else if(i==11){ |
1253 |
b.SetFillColor(6); |
b.SetFillColor(6); |