Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit d57577fa authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

corr bug no shifttrack

parent 808d7cd2
Pipeline #36644 passed with stage
in 4 minutes and 31 seconds
...@@ -802,6 +802,7 @@ void FSMainWindow::DoCalMode(Bool_t on) ...@@ -802,6 +802,7 @@ void FSMainWindow::DoCalMode(Bool_t on)
if(on == false) Bins[i] = i*h->GetBinWidth(1); if(on == false) Bins[i] = i*h->GetBinWidth(1);
else { else {
Double_t ERaw = fListOfShiftTrack[itr->first][0] + fListOfShiftTrack[itr->first][1]*((Double_t)i*h->GetBinWidth(1)); Double_t ERaw = fListOfShiftTrack[itr->first][0] + fListOfShiftTrack[itr->first][1]*((Double_t)i*h->GetBinWidth(1));
if(fListOfShiftTrack[itr->first][1]<0.1) ERaw = fListOfShiftTrack[itr->first][0] + 0.0001*((Double_t)i*h->GetBinWidth(1));
Double_t ECal = 0; Double_t ECal = 0;
for(int j=0 ; j<fCalOrder ; j++) for(int j=0 ; j<fCalOrder ; j++)
ECal += fListOfCal[itr->first][j]*TMath::Power(ERaw,j); ECal += fListOfCal[itr->first][j]*TMath::Power(ERaw,j);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment