1067 |
pd7->Draw(); |
pd7->Draw(); |
1068 |
pd8->Draw(); |
pd8->Draw(); |
1069 |
pd1->cd(); |
pd1->cd(); |
1070 |
lup[0]->SetAxisRange((Double_t)minobt[0]*0.9,(Double_t)maxobt[0]*1.1,"X"); |
lup[0]->SetAxisRange((Double_t)min(minobt[0],swminobt[0])*0.9,(Double_t)max(maxobt[0],swmaxobt[0])*1.1,"X"); |
1071 |
|
lup[0]->SetXTitle("OBT"); |
1072 |
|
lup[0]->SetYTitle("Number of events"); |
1073 |
lup[0]->Draw(); |
lup[0]->Draw(); |
1074 |
pd5->cd(); |
pd5->cd(); |
1075 |
lupstw[0]->SetAxisRange((Double_t)swminobt[0]*0.9,(Double_t)swmaxobt[0]*1.1,"X"); |
lupstw[0]->SetAxisRange((Double_t)min(minobt[0],swminobt[0])*0.9,(Double_t)max(maxobt[0],swmaxobt[0])*1.1,"X"); |
1076 |
|
// lupstw[0]->SetAxisRange((Double_t)swminobt[0]*0.9,(Double_t)swmaxobt[0]*1.1,"X"); |
1077 |
|
lupstw[0]->SetXTitle("OBT"); |
1078 |
|
lupstw[0]->SetYTitle("Number of events"); |
1079 |
lupstw[0]->Draw(); |
lupstw[0]->Draw(); |
1080 |
pd2->cd(); |
pd2->cd(); |
1081 |
lup[1]->SetAxisRange((Double_t)minobt[1]*0.9,(Double_t)maxobt[1]*1.1,"X"); |
lup[1]->SetAxisRange((Double_t)min(minobt[1],swminobt[1])*0.9,(Double_t)max(maxobt[1],swmaxobt[1])*1.1,"X"); |
1082 |
|
// lup[1]->SetAxisRange((Double_t)minobt[1]*0.9,(Double_t)maxobt[1]*1.1,"X"); |
1083 |
|
lup[1]->SetXTitle("OBT"); |
1084 |
|
lup[1]->SetYTitle("Number of events"); |
1085 |
lup[1]->Draw(); |
lup[1]->Draw(); |
1086 |
pd6->cd(); |
pd6->cd(); |
1087 |
lupstw[1]->SetAxisRange((Double_t)swminobt[1]*0.9,(Double_t)swmaxobt[1]*1.1,"X"); |
lupstw[1]->SetAxisRange((Double_t)min(minobt[1],swminobt[1])*0.9,(Double_t)max(maxobt[1],swmaxobt[1])*1.1,"X"); |
1088 |
|
// lupstw[1]->SetAxisRange((Double_t)swminobt[1]*0.9,(Double_t)swmaxobt[1]*1.1,"X"); |
1089 |
|
lupstw[1]->SetXTitle("OBT"); |
1090 |
|
lupstw[1]->SetYTitle("Number of events"); |
1091 |
lupstw[1]->Draw(); |
lupstw[1]->Draw(); |
1092 |
pd3->cd(); |
pd3->cd(); |
1093 |
lup[2]->SetAxisRange((Double_t)minobt[2]*0.9,(Double_t)maxobt[2]*1.1,"X"); |
lup[2]->SetAxisRange((Double_t)min(minobt[2],swminobt[2])*0.9,(Double_t)max(maxobt[2],swmaxobt[2])*1.1,"X"); |
1094 |
|
// lup[2]->SetAxisRange((Double_t)minobt[2]*0.9,(Double_t)maxobt[2]*1.1,"X"); |
1095 |
|
lup[2]->SetXTitle("OBT"); |
1096 |
|
lup[2]->SetYTitle("Number of events"); |
1097 |
lup[2]->Draw(); |
lup[2]->Draw(); |
1098 |
pd7->cd(); |
pd7->cd(); |
1099 |
lupstw[2]->SetAxisRange((Double_t)swminobt[2]*0.9,(Double_t)swmaxobt[2]*1.1,"X"); |
lupstw[2]->SetAxisRange((Double_t)min(minobt[2],swminobt[2])*0.9,(Double_t)max(maxobt[2],swmaxobt[2])*1.1,"X"); |
1100 |
|
// lupstw[2]->SetAxisRange((Double_t)swminobt[2]*0.9,(Double_t)swmaxobt[2]*1.1,"X"); |
1101 |
|
lupstw[2]->SetXTitle("OBT"); |
1102 |
|
lupstw[2]->SetYTitle("Number of events"); |
1103 |
lupstw[2]->Draw(); |
lupstw[2]->Draw(); |
1104 |
pd4->cd(); |
pd4->cd(); |
1105 |
lup[3]->SetAxisRange((Double_t)minobt[3]*0.9,(Double_t)maxobt[3]*1.1,"X"); |
lup[3]->SetAxisRange((Double_t)min(minobt[3],swminobt[3])*0.9,(Double_t)max(maxobt[3],swmaxobt[3])*1.1,"X"); |
1106 |
|
// lup[3]->SetAxisRange((Double_t)minobt[3]*0.9,(Double_t)maxobt[3]*1.1,"X"); |
1107 |
|
lup[3]->SetXTitle("OBT"); |
1108 |
|
lup[3]->SetYTitle("Number of events"); |
1109 |
lup[3]->Draw(); |
lup[3]->Draw(); |
1110 |
pd8->cd(); |
pd8->cd(); |
1111 |
lupstw[3]->SetAxisRange((Double_t)swminobt[3]*0.9,(Double_t)swmaxobt[3]*1.1,"X"); |
lupstw[3]->SetAxisRange((Double_t)min(minobt[3],swminobt[3])*0.9,(Double_t)max(maxobt[3],swmaxobt[3])*1.1,"X"); |
1112 |
|
// lupstw[3]->SetAxisRange((Double_t)swminobt[3]*0.9,(Double_t)swmaxobt[3]*1.1,"X"); |
1113 |
|
lupstw[3]->SetXTitle("OBT"); |
1114 |
|
lupstw[3]->SetYTitle("Number of events"); |
1115 |
lupstw[3]->Draw(); |
lupstw[3]->Draw(); |
1116 |
}; |
}; |
1117 |
// |
// |