class AliShuttleConfig: public TObject {
public:
+ enum RunMode {kTest=0, kProd};
+
AliShuttleConfig(const char* host, Int_t port = LDAP_PORT,
const char* binddn = 0, const char* password = 0,
const char* basedn = "o=alice,dc=cern,dc=ch");
Int_t GetPPTimeOut() const { return fPPTimeOut; }
Int_t GetPPMaxMem() const { return fPPMaxMem; }
+
+ const char* GetMonitorHost() const {return fMonitorHost.Data();}
+ const char* GetMonitorTable() const {return fMonitorTable.Data();}
+ Int_t GetTriggerWait() const {return fTriggerWait;}
+
+ RunMode GetRunMode() const {return fRunMode;}
+
const TObjArray* GetDetectors() const;
Bool_t HasDetector(const char* detector) const;
const char* GetDCSHost(const char* detector, Int_t iServ) const;
Int_t GetDCSPort(const char* detector, Int_t iServ) const;
+ Int_t GetMultiSplit(const char* detector, Int_t iServ) const;
+
const TObjArray* GetDCSAliases(const char* detector, Int_t iServ) const;
const TObjArray* GetDCSDataPoints(const char* detector, Int_t iServ) const;
const TObjArray* GetCompactDCSAliases(const char* detector, Int_t iServ) const;
const char* GetDCSHost() const {return fDCSHost;}
Int_t GetDCSPort() const {return fDCSPort;}
+ Int_t GetMultiSplit() const {return fMultiSplit;}
+
const TObjArray* GetDCSAliases() const {return fDCSAliases;}
const TObjArray* GetDCSDataPoints() const {return fDCSDataPoints;}
const TObjArray* GetCompactDCSAliases() const {return fDCSAliasesComp;}
TString fDCSHost; // Host name of the DCS server
Int_t fDCSPort; // port of the DCS server
+ Int_t fMultiSplit; // N. of DPs to be queried in each query chunk
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
const char* GetDCSHost(Int_t iServ) const;
Int_t GetDCSPort(Int_t iServ) const;
+ Int_t GetMultiSplit(Int_t iServ) const;
+
const TObjArray* GetDCSAliases(Int_t iServ) const;
const TObjArray* GetDCSDataPoints(Int_t iServ) const;
const TObjArray* GetCompactDCSAliases(Int_t iServ) const;
UInt_t SetDetConfig(TList* detList, TList* dcsList);
UInt_t SetHostConfig(TList* hostList);
- 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 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
-
- TString fShuttleInstanceHost; //! Instance of the SHUTTLE
- TObjArray fProcessedDetectors; //! list of the detector to be processed by this machine
- Bool_t fProcessAll; //! flag indicating that all detectors will be processed
- 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 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
+
+ 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
+ RunMode fRunMode; // Working mode (0=test; 1=prod)
+
+ TMap fDetectorMap; // Map of the detector-by-detector configuration
+ TObjArray fDetectorList; // List of detectors with valid configuration
+
+ TString fShuttleInstanceHost; // Instance of the SHUTTLE
+ TObjArray fProcessedDetectors; // list of the detector to be processed by this machine
+ Bool_t fProcessAll; // flag indicating that all detectors will be processed
+ Bool_t fIsValid; // flag for the validity of the configuration
ClassDef(AliShuttleConfig, 0);
};