X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=SHUTTLE%2FAliShuttleLogbookEntry.h;h=5760200a61a32298b6fb6cfbd19a79bc7a385b56;hp=fcedb17f1e35f8967d5ce8c10b73b9bdd97fe9fa;hb=d3dc4ad7648c25f9bef07c9199ee161bae8ee554;hpb=89bcf3b40e4d3361f7b59793957ffcd9c1089d85 diff --git a/SHUTTLE/AliShuttleLogbookEntry.h b/SHUTTLE/AliShuttleLogbookEntry.h index fcedb17f1e3..5760200a61a 100644 --- a/SHUTTLE/AliShuttleLogbookEntry.h +++ b/SHUTTLE/AliShuttleLogbookEntry.h @@ -36,9 +36,10 @@ public: virtual void Copy(TObject& c) const; Int_t GetRun() const {return fRun;} - UInt_t GetStartTime() const {TString tmp(GetRunParameter("DAQ_time_start")); return tmp.Atoi();} - UInt_t GetEndTime() const {TString tmp(GetRunParameter("DAQ_time_end")); return tmp.Atoi();} + UInt_t GetStartTime() const {TString tmp(GetRunParameter("time_created")); return tmp.Atoi();} + UInt_t GetEndTime() const {TString tmp(GetRunParameter("time_completed")); return tmp.Atoi();} Bool_t GetECSSuccess() const {TString tmp(GetRunParameter("ecs_success")); return (Bool_t) tmp.Atoi();} + Bool_t GetDATestMode() const {return fDATestMode;} // void SetRun(Int_t run) {fRun=run;} @@ -55,6 +56,7 @@ public: void SetDetectorStatus(UInt_t detPos, Status status); void SetDetectorStatus(const char* detCode, const char* statusName); void SetDetectorStatus(UInt_t detPos, const char* statusName); + void SetDATestMode(Bool_t daTestMode) {fDATestMode = daTestMode;} const char* GetRunType() const { return GetRunParameter("run_type"); } @@ -68,6 +70,7 @@ private: Int_t fRun; // Run number TMap fRunParameters; // run parameters written in DAQ logbook Status fDetectorStatus[AliShuttleInterface::kNDetectors]; // Detector status array + Bool_t fDATestMode; // flag to set whether we are in the DA Test Mode for the current run ClassDef(AliShuttleLogbookEntry, 0) };