| 2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
| 3 |
* |
* |
| 4 |
* autor: D.Fedele |
* autor: D.Fedele |
| 5 |
* version v1r15 |
* version v1r17 |
| 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 |
| 533 |
histoaped[nn]->SetLineWidth(1); |
histoaped[nn]->SetLineWidth(1); |
| 534 |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
| 535 |
histoped[nn]->Draw("b"); |
histoped[nn]->Draw("b"); |
| 536 |
if(nn==1){ |
if(nn==0){ |
| 537 |
|
maxhist=histoped[nn]->GetMaximum(); |
| 538 |
|
b.SetFillColor(107); |
| 539 |
|
b.SetFillStyle(3945); |
| 540 |
|
b.DrawBox(768.,2200.,2047.,maxhist); |
| 541 |
|
} |
| 542 |
|
else if(nn==1){ |
| 543 |
maxhist=histoped[nn]->GetMaximum(); |
maxhist=histoped[nn]->GetMaximum(); |
| 544 |
b.SetFillColor(6); |
b.SetFillColor(6); |
| 545 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
| 574 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 575 |
b.DrawBox(512.,700.,768.,maxhist); |
b.DrawBox(512.,700.,768.,maxhist); |
| 576 |
} |
} |
| 577 |
|
else if(nn==8){ |
| 578 |
|
maxhist=histoped[nn]->GetMaximum(); |
| 579 |
|
b.SetFillColor(107); |
| 580 |
|
b.SetFillStyle(3954); |
| 581 |
|
b.DrawBox(512.,2200.,768.,maxhist); |
| 582 |
|
} |
| 583 |
else if(nn==9){ |
else if(nn==9){ |
| 584 |
maxhist=histoped[nn]->GetMaximum(); |
maxhist=histoped[nn]->GetMaximum(); |
| 585 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 633 |
histoasig[nn]->SetLineWidth(1); |
histoasig[nn]->SetLineWidth(1); |
| 634 |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
| 635 |
histosig[nn]->Draw("b"); |
histosig[nn]->Draw("b"); |
| 636 |
if(nn==1){ |
if(nn==0){ |
| 637 |
|
maxhist=histosig[nn]->GetMaximum(); |
| 638 |
|
b.SetFillColor(107); |
| 639 |
|
b.SetFillStyle(3945); |
| 640 |
|
b.DrawBox(768.,0.,2047.,maxhist); |
| 641 |
|
} |
| 642 |
|
else if(nn==1){ |
| 643 |
maxhist=histosig[nn]->GetMaximum(); |
maxhist=histosig[nn]->GetMaximum(); |
| 644 |
b.SetFillColor(6); |
b.SetFillColor(6); |
| 645 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
| 674 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 675 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
| 676 |
} |
} |
| 677 |
|
else if(nn==8){ |
| 678 |
|
maxhist=histosig[nn]->GetMaximum(); |
| 679 |
|
b.SetFillColor(107); |
| 680 |
|
b.SetFillStyle(3954); |
| 681 |
|
b.DrawBox(512.,0.,768.,maxhist); |
| 682 |
|
} |
| 683 |
else if(nn==9){ |
else if(nn==9){ |
| 684 |
maxhist=histosig[nn]->GetMaximum(); |
maxhist=histosig[nn]->GetMaximum(); |
| 685 |
b.SetFillColor(107); |
b.SetFillColor(107); |