2 |
* FTrkQLook_BASIC.cxx |
* FTrkQLook_BASIC.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v1r08 |
* version v1r10 |
6 |
* Parameters: |
* Parameters: |
7 |
* file - the data file to analyze |
* file - the data file to analyze |
8 |
* fromevent - first event to analyze |
* fromevent - first event to analyze |
366 |
else pad[n][ii]->SetFillColor(10); |
else pad[n][ii]->SetFillColor(10); |
367 |
} |
} |
368 |
|
|
369 |
oss<<"DSP "<<i+1; |
oss<<"DSP "<<n+1; |
370 |
DataTimeCanv[ii]->cd(); |
DataTimeCanv[ii]->cd(); |
371 |
pad[n][ii]->SetFrameFillColor(10); |
pad[n][ii]->SetFrameFillColor(10); |
372 |
pad[n][ii]->Draw(); |
pad[n][ii]->Draw(); |
373 |
pad[n][ii]->cd(); |
pad[n][ii]->cd(); |
374 |
dataletime[n][ii]= new TGraph((maxev-minev),xd,yd); |
dataletime[n][ii]= new TGraph((maxev-minev),xd,yd); |
375 |
|
if(maxev-minev==1) dataletime[n][ii]->GetXaxis()->SetNdivisions(-501); |
376 |
dataletime[n][ii]->SetTitle(oss.str().c_str()); |
dataletime[n][ii]->SetTitle(oss.str().c_str()); |
377 |
dataletime[n][ii]->GetXaxis()->SetTitle("OBT (ms)"); |
dataletime[n][ii]->GetXaxis()->SetTitle("OBT (ms)"); |
378 |
dataletime[n][ii]->GetXaxis()->CenterTitle(); |
dataletime[n][ii]->GetXaxis()->CenterTitle(); |