12 |
// |
// |
13 |
#include <RunInfoStruct.h> |
#include <RunInfoStruct.h> |
14 |
|
|
15 |
|
class ProcInfo : public TObject { |
16 |
|
|
17 |
|
private: |
18 |
|
|
19 |
|
public: |
20 |
|
UInt_t runID; ///< ID of the processed run (input from DV) |
21 |
|
TString date; ///< processing date and time |
22 |
|
TString commandLine; ///< input command line |
23 |
|
TString outputFilename; ///< output filename |
24 |
|
TString localDir; ///< workiing directory |
25 |
|
TString uname; ///< local machine and arch (output of "uname -a") |
26 |
|
TString DB; ///< database used for this processing |
27 |
|
// |
28 |
|
// Default constructor |
29 |
|
// |
30 |
|
ProcInfo(); |
31 |
|
|
32 |
|
void Clear(Option_t *t=""); |
33 |
|
ProcInfo* GetProcInfo(){return this;}; |
34 |
|
// |
35 |
|
ClassDef(ProcInfo,1); |
36 |
|
// |
37 |
|
}; |
38 |
|
|
39 |
class SoftInfo : public TObject { |
class SoftInfo : public TObject { |
40 |
|
|
55 |
// |
// |
56 |
SoftInfo(); |
SoftInfo(); |
57 |
|
|
58 |
void Clear(); |
void Clear(Option_t *t=""); |
59 |
void GetLevel2Struct(cSoftInfo *l2) const; |
void GetLevel2Struct(cSoftInfo *l2) const; |
60 |
SoftInfo* GetSoftInfo(){return this;}; |
SoftInfo* GetSoftInfo(){return this;}; |
61 |
UInt_t GetSWinfo(TString DEC); |
UInt_t GetSWinfo(TString DEC); |
94 |
// Default constructor |
// Default constructor |
95 |
// |
// |
96 |
ItoRunInfo(); |
ItoRunInfo(); |
97 |
|
~ItoRunInfo(); |
98 |
// |
// |
99 |
// Other constructors... |
// Other constructors... |
100 |
// |
// |
110 |
// |
// |
111 |
Int_t Update(UInt_t run, TString Detector, TString Version); |
Int_t Update(UInt_t run, TString Detector, TString Version); |
112 |
Int_t Read(UInt_t run); |
Int_t Read(UInt_t run); |
113 |
|
void Write(); |
114 |
Int_t GetRunInfo(UInt_t run); |
Int_t GetRunInfo(UInt_t run); |
115 |
UInt_t GetRunForEntry(UInt_t entry); |
UInt_t GetRunForEntry(UInt_t entry); |
116 |
void Close(); |
void Close(); |
117 |
void Clear(); |
void Clear(Option_t *t=""); |
118 |
// |
// |
119 |
void *GetPointerToSI(){return &version;}; |
void *GetPointerToSI(){return &version;}; |
120 |
void *GetPointerToRI(){return this;}; |
void *GetPointerToRI(){return this;}; |
127 |
Bool_t IsReprocessing(){return(reprocessing);}; |
Bool_t IsReprocessing(){return(reprocessing);}; |
128 |
UInt_t GetFirstEntry(){return(first_file_entry);}; |
UInt_t GetFirstEntry(){return(first_file_entry);}; |
129 |
UInt_t GetLastEntry(){return(last_file_entry-1);}; |
UInt_t GetLastEntry(){return(last_file_entry-1);}; |
130 |
UInt_t GetEntries(){return(last_file_entry-1-first_file_entry);}; |
UInt_t GetEntries(){Long64_t en = last_file_entry-1-first_file_entry; if ( en < 0LL ) en = 0LL; return((UInt_t)en);}; |
131 |
UInt_t GetFileEntries(){return(file_entries);}; |
UInt_t GetFileEntries(){return(file_entries);}; |
132 |
// |
// |
133 |
ClassDef(ItoRunInfo,1); |
ClassDef(ItoRunInfo,3); |
134 |
// |
// |
135 |
}; |
}; |
136 |
|
|