Implementation of new data members to cope with the latest
[u/mrichter/AliRoot.git] / SHUTTLE / TestShuttle / AliTestShuttle.cxx
index c3ac78a..6c1773a 100644 (file)
@@ -134,6 +134,8 @@ AliTestShuttle::AliTestShuttle(Int_t run, UInt_t startTime, UInt_t endTime) :
   fRun(run),
   fStartTime(startTime),
   fEndTime(endTime),
+  fTimeCreated(startTime),
+  fDCSQueryOffset(0),
   fInputFiles(0),
   fRunParameters(0),
   fRunType(),
@@ -657,3 +659,21 @@ const char* AliTestShuttle::GetTriggerConfiguration()
        }
        return NULL;
 }
+//______________________________________________________________________________________________
+const UInt_t AliTestShuttle::GetStartTimeDCSQuery()
+{
+       // Return Start Time for the DCS query
+       //
+       // The call is delegated to AliShuttleInterface
+
+       return fTimeCreated-fDCSQueryOffset;
+}
+//______________________________________________________________________________________________
+const UInt_t AliTestShuttle::GetEndTimeDCSQuery()
+{
+       // Return End Time for the DCS query
+       //
+       // The call is delegated to AliShuttleInterface
+
+       return fEndTime+fDCSQueryOffset;
+}