| 2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
| 3 |
* |
* |
| 4 |
* autor: D.Fedele |
* autor: D.Fedele |
| 5 |
* version v1r10 |
* version v1r11 |
| 6 |
* Parameters: |
* Parameters: |
| 7 |
* file - the data file to analyze |
* file - the data file to analyze |
| 8 |
* step - select =1 in order to analyze one event at time |
* step - select =1 in order to analyze one event at time |
| 176 |
} else if (toevent > nevents) { |
} else if (toevent > nevents) { |
| 177 |
maxevent = nevents; |
maxevent = nevents; |
| 178 |
} else { |
} else { |
| 179 |
maxevent = fromevent; |
maxevent = nevents; |
| 180 |
}; |
}; |
| 181 |
}; |
}; |
| 182 |
|
|
| 545 |
b.SetFillColor(6); |
b.SetFillColor(6); |
| 546 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
| 547 |
b.DrawBox(2560.,2200.,2816.,maxhist); |
b.DrawBox(2560.,2200.,2816.,maxhist); |
| 548 |
b.DrawBox(1024.,2200.,1792.,maxhist); |
b.DrawBox(1024.,2200.,1535.,maxhist); |
| 549 |
|
|
| 550 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 551 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 552 |
b.DrawBox(512.,2200.,768.,maxhist); |
b.DrawBox(512.,2200.,768.,maxhist); |
| 553 |
|
b.DrawBox(1536.,2200.,1792.,maxhist); |
| 554 |
} |
} |
| 555 |
else if(nn==7){ |
else if(nn==7){ |
| 556 |
maxhist=histoped[nn]->GetMaximum(); |
maxhist=histoped[nn]->GetMaximum(); |
| 568 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 569 |
b.DrawBox(0.,700.,512.,maxhist); |
b.DrawBox(0.,700.,512.,maxhist); |
| 570 |
b.DrawBox(1920.,700.,2048.,maxhist); |
b.DrawBox(1920.,700.,2048.,maxhist); |
| 571 |
|
b.DrawBox(2176.,700.,2304.,maxhist); |
| 572 |
} |
} |
| 573 |
} |
} |
| 574 |
else histoped[nn]->Draw("axis"); |
else histoped[nn]->Draw("axis"); |
| 627 |
b.SetFillColor(6); |
b.SetFillColor(6); |
| 628 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
| 629 |
b.DrawBox(2560.,0.,2816.,maxhist); |
b.DrawBox(2560.,0.,2816.,maxhist); |
| 630 |
b.DrawBox(1024.,0.,1792.,maxhist); |
b.DrawBox(1024.,0.,1535.,maxhist); |
| 631 |
|
|
| 632 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 633 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 634 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
| 635 |
|
b.DrawBox(1536.,0.,1792.,maxhist); |
| 636 |
} |
} |
| 637 |
else if(nn==7){ |
else if(nn==7){ |
| 638 |
maxhist=histosig[nn]->GetMaximum(); |
maxhist=histosig[nn]->GetMaximum(); |
| 650 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 651 |
b.DrawBox(0.,0.,512.,maxhist); |
b.DrawBox(0.,0.,512.,maxhist); |
| 652 |
b.DrawBox(1920.,0.,2048.,maxhist); |
b.DrawBox(1920.,0.,2048.,maxhist); |
| 653 |
|
b.DrawBox(2176.,0.,2304.,maxhist); |
| 654 |
} |
} |
| 655 |
} |
} |
| 656 |
else histosig[nn]->Draw("axis"); |
else histosig[nn]->Draw("axis"); |