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;};
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; }
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;}
};
+ AliShuttleConfig(const AliShuttleConfig& other);
+ AliShuttleConfig& operator= (const AliShuttleConfig& other);
UInt_t SetGlobalConfig(TList* globalList);
UInt_t SetSysConfig(TList* sysList);
UInt_t SetPasswords();
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