]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/TestShuttle/AliTestShuttle.cxx
Fake implementation of AliTestShuttle::SendMLFromDet(const char* value)
[u/mrichter/AliRoot.git] / SHUTTLE / TestShuttle / AliTestShuttle.cxx
index 138017096df2a37ad01e38ce577c2521f8114bf6..c755e0a507c7c04627883bd0b73678abfa96760b 100644 (file)
@@ -140,7 +140,10 @@ AliTestShuttle::AliTestShuttle(Int_t run, UInt_t startTime, UInt_t endTime) :
   fRunParameters(0),
   fRunType(),
   fPreprocessors(0),
-  fDcsAliasMap(0)
+  fDcsAliasMap(0),
+  fTriggerConfiguration(""),
+  fTriggerDetectorMask(""),
+  fCTPtiming("")
 {
   // constructor
 
@@ -499,12 +502,14 @@ TList* AliTestShuttle::GetFileIDs(Int_t system, const char* detector, const char
 }
 
 //______________________________________________________________________________________________
-void AliTestShuttle::Log(const char* detector, const char* message)
+void AliTestShuttle::Log(const char* detector, const char* message, UInt_t level)
 {
   // test implementation of Log
   // just prints to the screen
 
-  AliInfo(Form("%s: %s", detector, message));
+  TString fullMessage = detector;
+  fullMessage.Append(Form(": %s",message));
+  AliLog::Message(level, fullMessage, MODULENAME(), ClassName(), FUNCTIONNAME(), __FILE__, __LINE__);
 }
 
 //______________________________________________________________________________________________
@@ -661,6 +666,15 @@ const char* AliTestShuttle::GetTriggerConfiguration()
        return NULL;
 }
 //______________________________________________________________________________________________
+const char* AliTestShuttle::GetCTPTimeParams()
+{
+       //returns trigger configuration
+       if (fCTPtiming.Length()>0){
+               return fCTPtiming;
+       }
+       return NULL;
+}
+//______________________________________________________________________________________________
 const char* AliTestShuttle::GetTriggerDetectorMask()
 {
        //returns trigger detector mask
@@ -687,3 +701,14 @@ UInt_t AliTestShuttle::GetEndTimeDCSQuery()
 
        return fEndTime+fDCSQueryOffset;
 }
+//______________________________________________________________________________________________
+void AliTestShuttle::SendMLFromDet(const char* value)
+{
+       // 
+       // Sending an information coming from the current detector to ML
+       //
+       
+       Printf("%s will be sent to monalisa in the $currentdetector_RunCondition tag",value); 
+       return;
+}
+