Parent Directory | Revision Log
*** empty log message ***
1 | mocchiut | 1.1 | #ifndef runglue_h |
2 | #define runglue_h | ||
3 | // | ||
4 | #include <TSQLServer.h> | ||
5 | #include <TSQLRow.h> | ||
6 | #include <TSQLResult.h> | ||
7 | #include <TList.h> | ||
8 | #include <TString.h> | ||
9 | #include <TObject.h> | ||
10 | #include <TSQLServer.h> | ||
11 | #include <TSQLRow.h> | ||
12 | #include <TSQLResult.h> | ||
13 | #include <TString.h> | ||
14 | #include <TTimeStamp.h> | ||
15 | #include <TSQLServer.h> | ||
16 | #include <TFile.h> | ||
17 | #include <TSystem.h> | ||
18 | #include <TChain.h> | ||
19 | #include <TH1.h> | ||
20 | #include <TTree.h> | ||
21 | #include <TKey.h> | ||
22 | #include <Riostream.h> | ||
23 | #include <TObjString.h> | ||
24 | #include <TClass.h> | ||
25 | #include <PamLevel2.h> | ||
26 | // | ||
27 | /** | ||
28 | * \brief Class to group runs day by day | ||
29 | */ | ||
30 | class RunGlue : public TObject { | ||
31 | private: | ||
32 | TSQLServer *dbc; | ||
33 | PamLevel2 *li; | ||
34 | UInt_t run; | ||
35 | TString dir; | ||
36 | TString outdir; | ||
37 | TString fFilename; | ||
38 | Bool_t fEnd; | ||
39 | Bool_t RUN; | ||
40 | TList *fDoneList; | ||
41 | TList *fList; | ||
42 | TList *lList; | ||
43 | TFile *Target; | ||
44 | TFile *Source; | ||
45 | TString fDList; | ||
46 | Bool_t fastMethod; | ||
47 | Bool_t fDBG; | ||
48 | mocchiut | 1.2 | Bool_t fOpen; |
49 | mocchiut | 1.1 | Bool_t runmode; |
50 | Bool_t createlist; | ||
51 | Bool_t merged; | ||
52 | UInt_t fNlist; | ||
53 | UInt_t fNlistdone; | ||
54 | UInt_t nrun; | ||
55 | UInt_t YY; | ||
56 | UInt_t MM; | ||
57 | UInt_t DD; | ||
58 | |||
59 | public: | ||
60 | // | ||
61 | RunGlue(); | ||
62 | // | ||
63 | RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); | ||
64 | // | ||
65 | // methods | ||
66 | // | ||
67 | void Clear(); | ||
68 | void Clean(); | ||
69 | TList *GetRunList(); | ||
70 | void MergeRootfile(TList *); | ||
71 | Bool_t OpenFile(); | ||
72 | void SetDebug(Bool_t); | ||
73 | void SetDList(TString); | ||
74 | void DeleteRunFiles(TList *); | ||
75 | void UpdateDB(TList *); | ||
76 | // | ||
77 | // inline method | ||
78 | // | ||
79 | Bool_t End(){return(fEnd);}; | ||
80 | mocchiut | 1.2 | Bool_t FileIsOpen(){return(fOpen);}; |
81 | mocchiut | 1.1 | Bool_t DebugMode(){return(fDBG);}; |
82 | TString GetFilename(){return(fFilename);}; | ||
83 | // | ||
84 | // | ||
85 | // | ||
86 | // | ||
87 | ClassDef(RunGlue,1); | ||
88 | // | ||
89 | }; | ||
90 | |||
91 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |