]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/TestShuttle/AliTestShuttle.cxx
Implementing functionality so that the detectors can send
[u/mrichter/AliRoot.git] / SHUTTLE / TestShuttle / AliTestShuttle.cxx
index 7718f95a149763aeddc29eb3fc63c7d976c39dd1..a47608cfa8711265142f91112bf8ce52fd3b0b73 100644 (file)
@@ -701,3 +701,22 @@ UInt_t AliTestShuttle::GetEndTimeDCSQuery()
 
        return fEndTime+fDCSQueryOffset;
 }
+//______________________________________________________________________________________________
+void AliTestShuttle::SendMLFromDet(const char* value)
+{
+       // 
+       // Sending an information coming from the current detector to ML
+       //
+       
+       TMonaLisaText  mlText(Form("%s_RunCondition", fCurrentDetector.Data()), value);
+
+       TList mlList;
+       mlList.Add(&mlText);
+
+       TString mlID;
+       mlID.Form("%d", GetCurrentRun());
+       fMonaLisa->SendParameters(&mlList, mlID);
+
+       return;
+}
+