/[PAMELA software]/PadmeAmidala/inc/RunGlue.h
ViewVC logotype

Contents of /PadmeAmidala/inc/RunGlue.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Oct 19 09:06:00 2007 UTC (17 years, 1 month ago) by mocchiut
Branch: MAIN
CVS Tags: v2r02
Changes since 1.5: +1 -0 lines
File MIME type: text/plain
Rollback to v1r03 and added headers to compile with ROOT v5.16/x

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 <THashList.h>
26 #include <PamLevel2.h>
27 //
28 /**
29 * \brief Class to group runs day by day
30 */
31 class RunGlue : public TObject {
32 private:
33 TSQLServer *dbc;
34 PamLevel2 *li;
35 UInt_t run;
36 TString dir;
37 TString outdir;
38 TString fFilename;
39 Bool_t fEnd;
40 Bool_t RUN;
41 TList *fDoneList;
42 TList *fList;
43 TList *lList;
44 TFile *Target;
45 TFile *Source;
46 TString fDList;
47 Bool_t fastMethod;
48 Bool_t fDBG;
49 Bool_t fOpen;
50 Bool_t runmode;
51 Bool_t createlist;
52 Bool_t merged;
53 UInt_t fNlist;
54 UInt_t fNlistdone;
55 UInt_t nrun;
56 UInt_t YY;
57 UInt_t MM;
58 UInt_t DD;
59
60 public:
61 //
62 RunGlue();
63 //
64 RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir);
65 //
66 // methods
67 //
68 void Clear();
69 void Clean();
70 TList *GetRunList();
71 Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *);
72 void MergeRootfile(TList *);
73 Bool_t OpenFile();
74 void SetDebug(Bool_t);
75 void SetDList(TString);
76 void DeleteRunFiles(TList *);
77 void UpdateDB(TList *);
78 //
79 // inline methods
80 //
81 Bool_t End(){return(fEnd);};
82 Bool_t FileIsOpen(){return(fOpen);};
83 Bool_t DebugMode(){return(fDBG);};
84 TString GetFilename(){return(fFilename);};
85 //
86 //
87 //
88 //
89 ClassDef(RunGlue,1);
90 //
91 };
92
93 #endif

  ViewVC Help
Powered by ViewVC 1.1.23