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

Contents of /PadmeAmidala/inc/RunGlue.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Oct 19 09:02:46 2007 UTC (17 years, 1 month ago) by mocchiut
Branch: MAIN
Changes since 1.4: +3 -13 lines
File MIME type: text/plain
Rollback of the RFIO changes which didn't work

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 Bool_t fOpen;
49 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 Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *);
71 void MergeRootfile(TList *);
72 Bool_t OpenFile();
73 void SetDebug(Bool_t);
74 void SetDList(TString);
75 void DeleteRunFiles(TList *);
76 void UpdateDB(TList *);
77 //
78 // inline methods
79 //
80 Bool_t End(){return(fEnd);};
81 Bool_t FileIsOpen(){return(fOpen);};
82 Bool_t DebugMode(){return(fDBG);};
83 TString GetFilename(){return(fFilename);};
84 //
85 //
86 //
87 //
88 ClassDef(RunGlue,1);
89 //
90 };
91
92 #endif

  ViewVC Help
Powered by ViewVC 1.1.23