]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPreprocessor.cxx
updated macros for making PPR plots
[u/mrichter/AliRoot.git] / STEER / AliPreprocessor.cxx
index 6b9c54d393d00997182f653b73a0455ea191a418..0e60d2c0acfd5a472922fb988ca9e2d14add27bb 100644 (file)
@@ -373,6 +373,38 @@ const char* AliPreprocessor::GetTriggerConfiguration()
        
        return fShuttle->GetTriggerConfiguration();
 }
+//______________________________________________________________________________________________
+const char* AliPreprocessor::GetCTPTimeParams()
+{
+       // Returns the CTP timing parameters 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("GetCTPTimeParams - Only GRP can call this function.");
+               return 0;
+       }
+       
+       return fShuttle->GetCTPTimeParams();
+}
+//______________________________________________________________________________________________
+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)
@@ -409,7 +441,7 @@ Bool_t AliPreprocessor::AliPreprocessor::ProcessRunType()
        return kFALSE;
 }
 //______________________________________________________________________________________________
-const UInt_t AliPreprocessor::GetStartTimeDCSQuery()
+UInt_t AliPreprocessor::GetStartTimeDCSQuery()
 {
        // Return Start Time for the DCS query
        //
@@ -418,7 +450,7 @@ const UInt_t AliPreprocessor::GetStartTimeDCSQuery()
        return fShuttle->GetStartTimeDCSQuery();
 }
 //______________________________________________________________________________________________
-const UInt_t AliPreprocessor::GetEndTimeDCSQuery()
+UInt_t AliPreprocessor::GetEndTimeDCSQuery()
 {
        // Return End Time for the DCS query
        //