nL3Entries++;
}
else if (isZero){
- AliInfo(Form("%s set to invalid, but magnet was OFF, not ignoring DP",fgkDCSDataPoints[indexDP]));
+ AliInfo(Form("%s set to invalid, but magnet was OFF (according to the current), DP not considered wrong",fgkDCSDataPoints[indexDP]));
nL3Entries++;
}
else {
- AliError(Form("%s Polarity value changed within the run! setting it to invalid and ignoring DP",fgkDCSDataPoints[indexDP]));
+ AliError(Form("%s value changed within the run, while the magnet was ON (according to the current), setting it to invalid and considering the DP as wrong",fgkDCSDataPoints[indexDP]));
}
}
}
nDipoleEntries++;
}
else if (isZero){
- AliInfo(Form("%s set to invalid, but magnet was OFF, not ignoring DP",fgkDCSDataPoints[indexDP]));
+ AliInfo(Form("%s set to invalid, but magnet was OFF (according to the current), DP not considered wrong",fgkDCSDataPoints[indexDP]));
nDipoleEntries++;
}
else{
- AliError(Form("%s Polarity value changed within the run! setting it to invalid and ignoring DP",fgkDCSDataPoints[indexDP]));
+ AliError(Form("%s value changed within the run while the magnet was ON (according to the current), setting it to invalid and considering the DP as wrong", fgkDCSDataPoints[indexDP]));
}
}
}
}
//if (sensorP2) delete sensorP2;
else {
- Log(Form("ERROR Sensor Fit for %s not found: ", fgkDCSDataPoints[indexDP] ));
+ Log(Form("ERROR Sensor Fit for %s not found ", fgkDCSDataPoints[indexDP] ));
}
AliInfo(Form("==========SurfaceAtmosPressure==========="));
indexDP = kSurfaceAtmosPressure;
}
//if (sensorP2) delete sensorP2;
else {
- Log(Form("ERROR Sensor Fit for %s not found: ", fgkDCSDataPoints[indexDP] ));
+ Log(Form("ERROR Sensor Fit for %s not found ", fgkDCSDataPoints[indexDP] ));
}
}
//
// processing Float values using Mean, Median, Standard Deviation wrt Mean, Standar Deviation wrt Median
// used for L3 and Dipole magnets, using isZero flag to decide whther the magnet was OFF/ON
- // threshold for L3 = 350 A (value provided by DCS)
- // threshold for Dipole = 450 A (value provided by DCS)
+ // the flag is set according to the L3/Dipole current value
+ // current threshold for L3 = 350 A (value provided by DCS)
+ // current threshold for Dipole = 450 A (value provided by DCS)
//
// parameters[0] = mean
// parameters[1] = truncated mean (calculated excluding points outside +/- 3RMS from mean
tempArray[i] = v->GetFloat();
AliDebug(2,Form("%d-th entry = %f",i,tempArray[i]));
iCounts += 1;
- if (indexDP == kL3Polarity && v->GetFloat() > 350 && isZero == kTRUE) isZero=kFALSE;
- if (indexDP == kDipolePolarity && v->GetFloat() > 450 && isZero == kTRUE) isZero=kFALSE;
+ if (indexDP == kL3Current && v->GetFloat() > 350 && isZero == kTRUE) isZero=kFALSE;
+ if (indexDP == kDipoleCurrent && v->GetFloat() > 450 && isZero == kTRUE) isZero=kFALSE;
}
else {
AliError(Form("DCS values for the parameter outside the queried interval"));