| 2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
| 3 |
* |
* |
| 4 |
* autor: D.Fedele |
* autor: D.Fedele |
| 5 |
* version v1r25 |
* version v1r26 |
| 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 |
| 77 |
Int_t nevents=0; |
Int_t nevents=0; |
| 78 |
Int_t minevent = 0; |
Int_t minevent = 0; |
| 79 |
Int_t maxevent = 0; |
Int_t maxevent = 0; |
| 80 |
ULong64_t FOBT[2]; |
ULong_t FOBT[2]; |
| 81 |
|
|
| 82 |
FOBT[0]=0; |
FOBT[0]=0; |
| 83 |
FOBT[1]=0; |
FOBT[1]=0; |
| 188 |
|
|
| 189 |
Int_t hcevent=hotr->GetEntries(); |
Int_t hcevent=hotr->GetEntries(); |
| 190 |
Int_t tcevent=totr->GetEntries(); |
Int_t tcevent=totr->GetEntries(); |
| 191 |
ULong64_t HOBT[hcevent], TOBT[tcevent]; |
ULong_t HOBT[hcevent], TOBT[tcevent]; |
| 192 |
for (Int_t i = 0; i < hcevent; i++){ |
for (Int_t i = 0; i < hcevent; i++){ |
| 193 |
hotr->GetEntry(i); |
hotr->GetEntry(i); |
| 194 |
ph = eh4->GetPscuHeader(); |
ph = eh4->GetPscuHeader(); |
| 572 |
b.DrawBox(896.,700.,1024.,maxhist); |
b.DrawBox(896.,700.,1024.,maxhist); |
| 573 |
} |
} |
| 574 |
else if(nn==6){ |
else if(nn==6){ |
|
b.SetFillColor(6); |
|
|
b.SetFillStyle(3945); |
|
|
b.DrawBox(1024.,2200.,1280.,maxhist); |
|
|
|
|
| 575 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 576 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 577 |
b.DrawBox(512.,2200.,768.,maxhist); |
b.DrawBox(512.,2200.,768.,maxhist); |
| 578 |
|
b.DrawBox(1024.,2200.,1280.,maxhist); |
| 579 |
b.DrawBox(1280.,2200.,1792.,maxhist); |
b.DrawBox(1280.,2200.,1792.,maxhist); |
| 580 |
b.DrawBox(2560.,2200.,2816.,maxhist); |
b.DrawBox(2560.,2200.,2816.,maxhist); |
| 581 |
} |
} |
| 584 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 585 |
b.DrawBox(512.,700.,768.,maxhist); |
b.DrawBox(512.,700.,768.,maxhist); |
| 586 |
b.DrawBox(896.,700.,1535.,maxhist); |
b.DrawBox(896.,700.,1535.,maxhist); |
| 587 |
|
b.DrawBox(2024.,700.,2280.,maxhist); |
| 588 |
} |
} |
| 589 |
else if(nn==8){ |
else if(nn==8){ |
| 590 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 693 |
b.DrawBox(896.,0.,1024.,maxhist); |
b.DrawBox(896.,0.,1024.,maxhist); |
| 694 |
} |
} |
| 695 |
else if(nn==6){ |
else if(nn==6){ |
|
b.SetFillColor(6); |
|
|
b.SetFillStyle(3945); |
|
|
b.DrawBox(1024.,0.,1280.,maxhist); |
|
|
|
|
| 696 |
b.SetFillColor(107); |
b.SetFillColor(107); |
| 697 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 698 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
| 699 |
|
b.DrawBox(1024.,0.,1280.,maxhist); |
| 700 |
b.DrawBox(1280.,0.,1792.,maxhist); |
b.DrawBox(1280.,0.,1792.,maxhist); |
| 701 |
b.DrawBox(2560.,0.,2816.,maxhist); |
b.DrawBox(2560.,0.,2816.,maxhist); |
| 702 |
} |
} |
| 705 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
| 706 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
| 707 |
b.DrawBox(896.,0.,1535.,maxhist); |
b.DrawBox(896.,0.,1535.,maxhist); |
| 708 |
|
b.DrawBox(2024.,0.,2280.,maxhist); |
| 709 |
} |
} |
| 710 |
else if(nn==8){ |
else if(nn==8){ |
| 711 |
b.SetFillColor(107); |
b.SetFillColor(107); |