--- DarthVader/RunInfo/inc/RunInfo.h 2006/11/27 16:34:47 1.7 +++ DarthVader/RunInfo/inc/RunInfo.h 2014/08/27 14:44:33 1.10 @@ -12,6 +12,29 @@ // #include +class ProcInfo : public TObject { + + private: + + public: + UInt_t runID; ///< ID of the processed run (input from DV) + TString date; ///< processing date and time + TString commandLine; ///< input command line + TString outputFilename; ///< output filename + TString localDir; ///< workiing directory + TString uname; ///< local machine and arch (output of "uname -a") + TString DB; ///< database used for this processing + // + // Default constructor + // + ProcInfo(); + + void Clear(Option_t *t=""); + ProcInfo* GetProcInfo(){return this;}; + // + ClassDef(ProcInfo,1); + // +}; class SoftInfo : public TObject { @@ -32,7 +55,7 @@ // SoftInfo(); - void Clear(); + void Clear(Option_t *t=""); void GetLevel2Struct(cSoftInfo *l2) const; SoftInfo* GetSoftInfo(){return this;}; UInt_t GetSWinfo(TString DEC); @@ -71,6 +94,7 @@ // Default constructor // ItoRunInfo(); + ~ItoRunInfo(); // // Other constructors... // @@ -86,10 +110,11 @@ // Int_t Update(UInt_t run, TString Detector, TString Version); Int_t Read(UInt_t run); + void Write(); Int_t GetRunInfo(UInt_t run); UInt_t GetRunForEntry(UInt_t entry); void Close(); - void Clear(); + void Clear(Option_t *t=""); // void *GetPointerToSI(){return &version;}; void *GetPointerToRI(){return this;}; @@ -105,7 +130,7 @@ UInt_t GetEntries(){Long64_t en = last_file_entry-1-first_file_entry; if ( en < 0LL ) en = 0LL; return((UInt_t)en);}; UInt_t GetFileEntries(){return(file_entries);}; // - ClassDef(ItoRunInfo,1); + ClassDef(ItoRunInfo,3); // };