]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPreprocessor.cxx
New module TRIGGER (Chiara, Annalisa)
[u/mrichter/AliRoot.git] / STEER / AliPreprocessor.cxx
index c7f65bd706072e6c596dd881aa313b3ba1cc89d4..dcc6c4229beca82ffaddd583c7c28bc31de9f6f4 100644 (file)
@@ -373,6 +373,22 @@ const char* AliPreprocessor::GetTriggerConfiguration()
        
        return fShuttle->GetTriggerConfiguration();
 }
+//______________________________________________________________________________________________
+const char* AliPreprocessor::GetTriggerDetectorMask()
+{
+       // Returns the trigger detector mask which is read from a table in the DAQ logbook
+       // The call is delegated to AliShuttleInterface
+       // Only TRI can call this function.
+       
+       TString detName(GetName());
+       if (detName != "TRI") 
+       {
+               Log("GetTriggerDetectorMask - Only TRI can call this function.");
+               return 0;
+       }
+       
+       return fShuttle->GetTriggerDetectorMask();
+}
 
 //______________________________________________________________________________________________
 void AliPreprocessor::AddRunType(const char* runType)