]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/AliShuttleConfig.h
Energy calibration object takes into account the beam energy
[u/mrichter/AliRoot.git] / SHUTTLE / AliShuttleConfig.h
index a296be7b1d172b3510c231c04a601f68b19c255c..40ba456cfbe9e26d21949cae19f3e90d9f1306f9 100644 (file)
@@ -27,8 +27,6 @@ public:
                        const char* binddn = 0, const char* password = 0,
                        const char* basedn = "o=alice,dc=cern,dc=ch");
        virtual ~AliShuttleConfig();
-       AliShuttleConfig(const AliShuttleConfig & other);
-       AliShuttleConfig& operator= (const AliShuttleConfig& other);
 
        Bool_t IsValid() const {return fIsValid;};
 
@@ -67,8 +65,12 @@ public:
        Int_t GetPPTimeOut() const { return fPPTimeOut; }
        Int_t GetDCSTimeOut() const { return fDCSTimeOut; }
        Int_t GetDCSRetries() const { return fDCSRetries; }
+       UInt_t GetDCSQueryOffset() const { return fDCSQueryOffset; }
+       UInt_t GetDCSDelay() const { return fDCSDelay; }
        Int_t GetPPMaxMem() const { return fPPMaxMem; }
 
+       const char* GetTerminateFilePath() const { return fTerminateFilePath; }
+
        Bool_t KeepDCSMap() const { return fKeepDCSMap; }
        Bool_t KeepTempFolder() const { return fKeepTempFolder; }
        
@@ -77,6 +79,9 @@ public:
        const char* GetMonitorTable() const {return fMonitorTable.Data();}
 
        Int_t GetTriggerWait() const {return fTriggerWait;}
+       const char* GetShuttleFileSystem() const {return fShuttleFileSystem.Data();}
+       Int_t GetFreeDiskWarningThreshold() const {return fFreeDiskWarningThreshold;}
+       Int_t GetFreeDiskFatalThreshold() const {return fFreeDiskFatalThreshold;}
        
        RunMode GetRunMode() const {return fRunMode;}
        
@@ -181,6 +186,8 @@ private:
        };
 
 
+       AliShuttleConfig(const AliShuttleConfig& other);
+       AliShuttleConfig& operator= (const AliShuttleConfig& other);
        UInt_t SetGlobalConfig(TList* globalList);
        UInt_t SetSysConfig(TList* sysList);
        UInt_t SetPasswords();
@@ -214,17 +221,25 @@ private:
        TString fFXSdbName[3];          // name of the [DAQ, DCS, HLT] FXS database
        TString fFXSdbTable[3];         // Table name of the [DAQ, DCS, HLT] FXS database
 
+       TString fTerminateFilePath;     // File for inter-process communcation to terminate the Shuttle
+
        Int_t fMaxRetries;              // number of retries of a failed preprocessor
        
        Int_t fPPTimeOut;               // timeout until a preprocessor is killed
        Int_t fDCSTimeOut;              // timeout until the query to DCS is terminated
        Int_t fDCSRetries;              // number of retries until the query to DCS connection is terminated
+       UInt_t fDCSQueryOffset;         // offset for the DCS DPs query, to be subracted from the StartTime and
+                                       // added to the EndTime
+       UInt_t fDCSDelay;               // delay to make the query to DCS
        Int_t fPPMaxMem;                // maximum allowed memory until a preprocessor is killed
        
        TString fMonitorHost;           // host of the MonaLisa monitoring server
        TString fMonitorTable;          // Monalisa's SHUTTLE table name
        
        Int_t fTriggerWait;             // time to wait for DIM trigger before starting new collection 
+       TString fShuttleFileSystem;     // path of the Shuttle file system
+       Int_t fFreeDiskWarningThreshold;   // threshold for free space in the Shuttle file system to send a mail to the responsibles
+       Int_t fFreeDiskFatalThreshold;     // threshold for free space in the Shuttle file system to send a mail to the responsibles and terminate the Shuttle
        RunMode  fRunMode;              // Working mode (0=test; 1=prod)
 
        TMap fDetectorMap;              // Map of the detector-by-detector configuration