+ fStartTime = startTime;
+ fEndTime = endTime;
+}
+
+//_____________________________________________________________________________
+Bool_t
+AliMUONVSubprocessor::RemoveValuesOutsideRun(TObjArray* values)
+{
+ /// Remove values outside run time limits
+
+ TIter next(values);
+ AliDCSValue* val = 0x0;
+
+ Bool_t removedValues = kFALSE;
+
+ while ( ( val = static_cast<AliDCSValue*>(next()) ) )
+ {
+ if ( val->GetTimeStamp() < fStartTime || val->GetTimeStamp() > fEndTime ) {
+ values->Remove(val);
+ removedValues = kTRUE;
+ }
+ }
+ values->Compress();
+
+ return removedValues;