]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/TestShuttle/AliTestShuttle.cxx
Implementation of new data members to cope with the latest
[u/mrichter/AliRoot.git] / SHUTTLE / TestShuttle / AliTestShuttle.cxx
index c3ac78a15b6e93a4b3c3e0e33b79ccc2f37928a6..6c1773a2cf273c8eb7b8cd027ea90f04c108ba7f 100644 (file)
@@ -134,6 +134,8 @@ AliTestShuttle::AliTestShuttle(Int_t run, UInt_t startTime, UInt_t endTime) :
   fRun(run),
   fStartTime(startTime),
   fEndTime(endTime),
   fRun(run),
   fStartTime(startTime),
   fEndTime(endTime),
+  fTimeCreated(startTime),
+  fDCSQueryOffset(0),
   fInputFiles(0),
   fRunParameters(0),
   fRunType(),
   fInputFiles(0),
   fRunParameters(0),
   fRunType(),
@@ -657,3 +659,21 @@ const char* AliTestShuttle::GetTriggerConfiguration()
        }
        return NULL;
 }
        }
        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;
+}