]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/AliShuttleConfig.h
fixing log message when pp want to skip dcs value retrieval
[u/mrichter/AliRoot.git] / SHUTTLE / AliShuttleConfig.h
index f935988b36de8f4002db1b351498e0ae76952d1d..5b3a4794d5f9230f2c49b9c170105dfa7cb11e90 100644 (file)
@@ -27,17 +27,33 @@ public:
 
        Bool_t IsValid() const {return fIsValid;};
 
+       const char* GetConfigHost() const {return fConfigHost.Data();}
+
        const char* GetDAQlbHost() const {return fDAQlbHost.Data();}
+       UInt_t      GetDAQlbPort() const {return fDAQlbPort;}
        const char* GetDAQlbUser() const {return fDAQlbUser.Data();}
        const char* GetDAQlbPass() const {return fDAQlbPass.Data();}
+       const char* GetDAQlbDB() const {return fDAQlbDB.Data();}
+       const char* GetDAQlbTable() const {return fDAQlbTable.Data();}
+       const char* GetShuttlelbTable() const {return fShuttlelbTable.Data();}
+       const char* GetRunTypelbTable() const {return fRunTypelbTable.Data();}
+
+       const char* GetFXSHost(Int_t system) const {return fFXSHost[system].Data();}
+       UInt_t      GetFXSPort(Int_t system) const {return fFXSPort[system];}
+       const char* GetFXSUser(Int_t system) const {return fFXSUser[system].Data();}
+       const char* GetFXSPass(Int_t system) const {return fFXSPass[system].Data();}
 
-       const char* GetFESHost(Int_t system) const {return fFESHost[system].Data();}
-       const char* GetFESUser(Int_t system) const {return fFESUser[system].Data();}
-       const char* GetFESPass(Int_t system) const {return fFESPass[system].Data();}
+       const char* GetFXSdbHost(Int_t system) const {return fFXSdbHost[system].Data();}
+       UInt_t      GetFXSdbPort(Int_t system) const {return fFXSdbPort[system];}
+       const char* GetFXSdbUser(Int_t system) const {return fFXSdbUser[system].Data();}
+       const char* GetFXSdbPass(Int_t system) const {return fFXSdbPass[system].Data();}
+       const char* GetFXSdbName(Int_t system) const {return fFXSdbName[system].Data();}
+       const char* GetFXSdbTable(Int_t system) const {return fFXSdbTable[system].Data();}
 
-       const char* GetFESlbHost(Int_t system) const {return fFESlbHost[system].Data();}
-       const char* GetFESlbUser(Int_t system) const {return fFESlbUser[system].Data();}
-       const char* GetFESlbPass(Int_t system) const {return fFESlbPass[system].Data();}
+       Int_t GetMaxRetries() const { return fMaxRetries; }
+
+       Int_t GetPPTimeOut() const { return fPPTimeOut; }
+       Int_t GetPPMaxMem() const { return fPPMaxMem; }
 
        const TObjArray* GetDetectors() const;
 
@@ -45,6 +61,11 @@ public:
        const char* GetDCSHost(const char* detector) const;
        Int_t GetDCSPort(const char* detector) const;
        const TObjArray* GetDCSAliases(const char* detector) const;
+       const TObjArray* GetDCSDataPoints(const char* detector) const;
+       const TObjArray* GetCompactDCSAliases(const char* detector) const;
+       const TObjArray* GetCompactDCSDataPoints(const char* detector) const;
+       const TObjArray* GetResponsibles(const char* detector) const;
+       Bool_t StrictRunOrder(const char* detector) const;
 
        void SetProcessAll(Bool_t flag=kTRUE) {fProcessAll=flag;}
        Bool_t ProcessAll() const {return fProcessAll;}
@@ -63,18 +84,30 @@ private:
                const char* GetDetector() const {return fDetector.Data();}
                const char* GetDCSHost() const {return fDCSHost.Data();}
                Int_t GetDCSPort() const {return fDCSPort;}
-               const TObjArray* GetDCSAliases() const {return &fDCSAliases;}
+               const TObjArray* GetDCSAliases() const {return fDCSAliases;}
+               const TObjArray* GetDCSDataPoints() const {return fDCSDataPoints;}
+               const TObjArray* GetCompactDCSAliases() const {return fDCSAliasesComp;}
+               const TObjArray* GetCompactDCSDataPoints() const {return fDCSDataPointsComp;}
+               const TObjArray* GetResponsibles() const {return fResponsibles;}
 
                Bool_t IsValid() const {return fIsValid;}
                Bool_t SkipDCSQuery() const {return fSkipDCSQuery;}
+               Bool_t StrictRunOrder() const {return fStrictRunOrder;}
+
+               void ExpandAndAdd(TObjArray* target, const char* entry);
 
        private:
                TString fDetector;      // Detector name
                TString fDCSHost;       // Host name of the DCS server
                Int_t   fDCSPort;       // port of the DCS server
-               TObjArray fDCSAliases;  // List of DCS aliases to be retrieved
+               TObjArray* fDCSAliases; // List of DCS aliases to be retrieved
+               TObjArray* fDCSDataPoints; // List of DCS data points to be retrieved
+               TObjArray* fDCSAliasesComp; // Compact list of DCS aliases to be printed
+               TObjArray* fDCSDataPointsComp; // Compact list of DCS data points to be printed
+               TObjArray* fResponsibles; // List of email addresses of the detector's responsible(s)
                Bool_t fIsValid;        // flag for the validity of the configuration
                Bool_t fSkipDCSQuery;   // flag - if TRUE (-> DCS config empty) skip DCS archive data query
+               Bool_t fStrictRunOrder; // flag - if TRUE connect data in a strict run ordering
 
 
                ClassDef(AliShuttleConfigHolder, 0);
@@ -83,18 +116,33 @@ private:
 
        Bool_t fIsValid;                //! flag for the validity of the configuration
 
+       TString fConfigHost;            //! Host of the Shuttle configuration LDAP server
+
        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
        TString fDAQlbPass;             //! password of the DAQ logbook MySQL Server
-
-       TString fFESHost[3];            //! Host of the [DAQ, DCS, HLT] File Exchange Server
-       TString fFESUser[3];            //! username of the [DAQ, DCS, HLT] File Exchange Server
-       TString fFESPass[3];            //! password of the [DAQ, DCS, HLT] File Exchange Server
-
-       TString fFESlbHost[3];          //! Host of the [DAQ, DCS, HLT] FES logbook
-       TString fFESlbUser[3];          //! username of the [DAQ, DCS, HLT] FES logbook
-       TString fFESlbPass[3];          //! password of the [DAQ, DCS, HLT] FES logbook
-
+       TString fDAQlbDB;               //! DB name of the DAQ logbook MySQL Server
+       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 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 fFXSdbHost[3];          //! Host of the [DAQ, DCS, HLT] FXS database
+       UInt_t  fFXSdbPort[3];          //! Port of the [DAQ, DCS, HLT] FXS database
+       TString fFXSdbUser[3];          //! username of the [DAQ, DCS, HLT] FXS database
+       TString fFXSdbPass[3];          //! password of the [DAQ, DCS, HLT] FXS database
+       TString fFXSdbName[3];          //! name of the [DAQ, DCS, HLT] FXS database
+       TString fFXSdbTable[3];         //! Table name of the [DAQ, DCS, HLT] FXS database
+
+       Int_t fMaxRetries;        // number of retries of a failed preprocessor
+
+       Int_t fPPTimeOut;         // timeout until a preprocessor is killed
+       Int_t fPPMaxMem;          // maximum allowed memory until a preprocessor is killed
 
        TMap fDetectorMap;              //! Map of the detector-by-detector configuration
        TObjArray fDetectorList;        //! List of detectors with valid configuration