591 |
incalvar++; |
incalvar++; |
592 |
}; |
}; |
593 |
calbase->Fill((float)g,(float)calib.calbase[l][m][n]);//controlla baseline |
calbase->Fill((float)g,(float)calib.calbase[l][m][n]);//controlla baseline |
594 |
if ( calib.calbase[l][m][n] > 4500. || calib.calbase[l][m][n] < 2000. ){ |
if ( calib.calbase[l][m][n] > 5500. || calib.calbase[l][m][n] < 2000. ){ |
595 |
outcalbas++; |
outcalbas++; |
596 |
} else { |
} else { |
597 |
incalbas++; |
incalbas++; |
943 |
calbase->SetYTitle("ADC channels"); |
calbase->SetYTitle("ADC channels"); |
944 |
calbase->Draw(); |
calbase->Draw(); |
945 |
Double_t xg[4] = {0.,264.,264.,0.}; |
Double_t xg[4] = {0.,264.,264.,0.}; |
946 |
Double_t yg[4] = {2000.,2000.,4500.,4500.}; |
Double_t yg[4] = {2000.,2000.,5500.,5500.}; |
947 |
banda1 = new TPolyLine(4,xg,yg); |
banda1 = new TPolyLine(4,xg,yg); |
948 |
banda1->SetLineColor(5); |
banda1->SetLineColor(5); |
949 |
banda1->SetFillColor(5); |
banda1->SetFillColor(5); |