Cleaning the array containing the strings for the failed DPs at every new initializat...
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jul 2011 08:24:52 +0000 (08:24 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jul 2011 08:24:52 +0000 (08:24 +0000)
STEER/STEER/AliGRPPreprocessor.cxx

index 15ed3cf..b73e14b 100644 (file)
@@ -283,6 +283,7 @@ void AliGRPPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
        
        fPressure = new AliDCSSensorArray(GetStartTimeDCSQuery(), GetEndTimeDCSQuery(), array);
 
+       ffailedDPs->Clear(); // cleaning ffailedDPs for current run
        for (Int_t iDP=0; iDP < fgknDCSDP; iDP++){
                TObjString* dp = new TObjString(fgkDCSDataPoints[iDP]);
                ffailedDPs->AddAt(dp,iDP);