Skip to content

Commit

Permalink
Temporary for to not crash due to missing HV at EOR
Browse files Browse the repository at this point in the history
  • Loading branch information
wiechula committed Apr 23, 2016
1 parent 9ac2f17 commit 776eb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TPC/TPCbase/AliTPCcalibDB.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ void AliTPCcalibDB::UpdateChamberHighVoltageData()
Int_t nPointsSampled=0;

TGraph *gr=sensor->GetGraph();
if ( gr && gr->GetN()>1 ){
if ( gr && gr->GetN()>0 ){
//1. sample voltage over time
// get a robust median
// buffer sampled voltages
Expand Down Expand Up @@ -1897,7 +1897,7 @@ void AliTPCcalibDB::UpdateChamberHighVoltageData()
fChamberHVgoodFraction[iROC] = 1.;
AliWarning(Form("ROC %d detected without HV Splines and HV graph. Will set median HV to nominal voltage",iROC));
} else {
AliError(Form("No Graph or too few points found for HV sensor of ROC %d",iROC));
AliError(Form("No Graph or graph without points found for HV sensor of ROC %d",iROC));
}
}

Expand Down

0 comments on commit 776eb10

Please sign in to comment.