| 2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
| 3 |
* |
* |
| 4 |
* autor: D.Fedele |
* autor: D.Fedele |
| 5 |
* version v1r15 |
* version v1r16 |
| 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.,700.,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); |
| 627 |
histoasig[nn]->SetLineWidth(1); |
histoasig[nn]->SetLineWidth(1); |
| 628 |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
// if(ctrk.good0[0]==1 && ctrk.good0[1]==1){ |
| 629 |
histosig[nn]->Draw("b"); |
histosig[nn]->Draw("b"); |
| 630 |
if(nn==1){ |
if(nn==0){ |
| 631 |
|
maxhist=histosig[nn]->GetMaximum(); |
| 632 |
|
b.SetFillColor(107); |
| 633 |
|
b.SetFillStyle(3945); |
| 634 |
|
b.DrawBox(768.,0.,2047.,maxhist); |
| 635 |
|
} |
| 636 |
|
else if(nn==1){ |
| 637 |
maxhist=histosig[nn]->GetMaximum(); |
maxhist=histosig[nn]->GetMaximum(); |
| 638 |
b.SetFillColor(6); |
b.SetFillColor(6); |
| 639 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |