]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPreprocessor.cxx
Calorimeter filtering task added, Pi0 calibration task also do filtering if requested...
[u/mrichter/AliRoot.git] / STEER / AliPreprocessor.cxx
index 7b36361b85de3ad1cc6aa2c5e963bf52bfe7f9f6..c7f65bd706072e6c596dd881aa313b3ba1cc89d4 100644 (file)
@@ -263,7 +263,7 @@ Bool_t AliPreprocessor::StoreRunMetadataFile(const char* localFile, const char*
        TString detName(GetName());
        if (detName != "GRP") 
        {
-               Log("StoreRunMetadataFile - Sorry, only Panos has this privilege.");
+               Log("StoreRunMetadataFile - Only GRP can call this function.");
                return kFALSE;
        }
        return fShuttle->StoreRunMetadataFile(localFile, gridFileName);
@@ -357,6 +357,23 @@ Bool_t AliPreprocessor::GetHLTStatus()
 
 }
     
+//______________________________________________________________________________________________
+const char* AliPreprocessor::GetTriggerConfiguration()
+{
+       // Returns the trigger configuration which is read from a table in the DAQ logbook
+       // The call is delegated to AliShuttleInterface
+       // Only GRP can call this function.
+       
+       TString detName(GetName());
+       if (detName != "GRP") 
+       {
+               Log("GetTriggerConfiguration - Only GRP can call this function.");
+               return 0;
+       }
+       
+       return fShuttle->GetTriggerConfiguration();
+}
+
 //______________________________________________________________________________________________
 void AliPreprocessor::AddRunType(const char* runType)
 {
@@ -391,3 +408,22 @@ Bool_t AliPreprocessor::AliPreprocessor::ProcessRunType()
        Log("Run type not found. Skipping this run.");
        return kFALSE;
 }
+//______________________________________________________________________________________________
+UInt_t AliPreprocessor::GetStartTimeDCSQuery()
+{
+       // Return Start Time for the DCS query
+       //
+       // The call is delegated to AliShuttleInterface
+
+       return fShuttle->GetStartTimeDCSQuery();
+}
+//______________________________________________________________________________________________
+UInt_t AliPreprocessor::GetEndTimeDCSQuery()
+{
+       // Return End Time for the DCS query
+       //
+       // The call is delegated to AliShuttleInterface
+
+       return fShuttle->GetEndTimeDCSQuery();
+}
+