]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/AliShuttleConfig.h
make the buffer size check a bit less strict in order to workaround a bug/feature...
[u/mrichter/AliRoot.git] / SHUTTLE / AliShuttleConfig.h
index 0cde5e8fa056e17bb8cc6f12396328a289e6e4c1..af9417f7e6cd80afb79cb27fd02907c1fd91e5c1 100644 (file)
@@ -27,11 +27,15 @@ 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;};
 
        const char* GetConfigHost() const {return fConfigHost.Data();}
 
+       const char* GetAlienPath() const {return fAlienPath.Data();}
+
        const char* GetDAQlbHost() const {return fDAQlbHost.Data();}
        UInt_t      GetDAQlbPort() const {return fDAQlbPort;}
        const char* GetDAQlbUser() const {return fDAQlbUser.Data();}
@@ -45,6 +49,7 @@ public:
        UInt_t      GetFXSPort(Int_t sys) const {return fFXSPort[sys];}
        const char* GetFXSUser(Int_t sys) const {return fFXSUser[sys].Data();}
        const char* GetFXSPass(Int_t sys) const {return fFXSPass[sys].Data();}
+       const char* GetFXSBaseFolder(Int_t sys) const {return fFXSBaseFolder[sys].Data();}
 
        const char* GetFXSdbHost(Int_t sys) const {return fFXSdbHost[sys].Data();}
        UInt_t      GetFXSdbPort(Int_t sys) const {return fFXSdbPort[sys];}
@@ -62,6 +67,8 @@ 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; }
 
        Bool_t KeepDCSMap() const { return fKeepDCSMap; }
@@ -178,11 +185,14 @@ private:
 
        UInt_t SetGlobalConfig(TList* globalList);
        UInt_t SetSysConfig(TList* sysList);
+       UInt_t SetPasswords();
        UInt_t SetDetConfig(TList* detList, TList* dcsList);
        UInt_t SetHostConfig(TList* hostList);
        
        TString fConfigHost;            // Host of the Shuttle configuration LDAP server
 
+       TString fAlienPath;             // Alien Path for CDB/Reference objs in the Alien catalogue
+
        TString fDAQlbHost;             // Host of the DAQ logbook MySQL Server
        UInt_t  fDAQlbPort;             // port of the DAQ logbook MySQL Server
        TString fDAQlbUser;             // username of the DAQ logbook MySQL Server
@@ -191,11 +201,13 @@ private:
        TString fDAQlbTable;            // Table name of the DAQ logbook 
        TString fShuttlelbTable;        // Table name of the Shuttle logbook
        TString fRunTypelbTable;        // Table name of the Run typr logbook
+       TString fPasswdFilePath;        // Path for the local file where the passwords are stored
 
        TString fFXSHost[3];            // Host of the [DAQ, DCS, HLT] File eXchange Server
        UInt_t  fFXSPort[3];            // Port of the [DAQ, DCS, HLT] File eXchange Server
        TString fFXSUser[3];            // username of the [DAQ, DCS, HLT] File eXchange Server
        TString fFXSPass[3];            // password of the [DAQ, DCS, HLT] File eXchange Server
+       TString fFXSBaseFolder[3];      // base folder of the [DAQ, DCS, HLT] File eXchange Server
 
        TString fFXSdbHost[3];          // Host of the [DAQ, DCS, HLT] FXS database
        UInt_t  fFXSdbPort[3];          // Port of the [DAQ, DCS, HLT] FXS database
@@ -209,6 +221,9 @@ private:
        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
@@ -220,7 +235,7 @@ private:
        TMap fDetectorMap;              // Map of the detector-by-detector configuration
        TObjArray fDetectorList;        // List of detectors with valid configuration
        
-       TObjArray *fAdmin[4];           // Array of system administrators' email addresses (DAQ, DCS, HLT, Global, Amanda)
+       TObjArray *fAdmin[5];           // Array of system administrators' email addresses (DAQ, DCS, HLT, Global, Amanda)
 
        TString fShuttleInstanceHost;   // Instance of the SHUTTLE
        TObjArray fProcessedDetectors;  // list of the detector to be processed by this machine