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

Contents of /PadmeAmidala/inc/RunGlue.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Dec 5 12:30:59 2006 UTC (18 years ago) by mocchiut
Branch: PadmeAmidala
CVS Tags: v0r01, start
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
Imported sources

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 runmode;
49 Bool_t createlist;
50 Bool_t merged;
51 UInt_t fNlist;
52 UInt_t fNlistdone;
53 UInt_t nrun;
54 UInt_t YY;
55 UInt_t MM;
56 UInt_t DD;
57
58 public:
59 //
60 RunGlue();
61 //
62 RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir);
63 //
64 // methods
65 //
66 void Clear();
67 void Clean();
68 TList *GetRunList();
69 void MergeRootfile(TList *);
70 Bool_t OpenFile();
71 void SetDebug(Bool_t);
72 void SetDList(TString);
73 void DeleteRunFiles(TList *);
74 void UpdateDB(TList *);
75 //
76 // inline method
77 //
78 Bool_t End(){return(fEnd);};
79 Bool_t DebugMode(){return(fDBG);};
80 TString GetFilename(){return(fFilename);};
81 //
82 //
83 //
84 //
85 ClassDef(RunGlue,1);
86 //
87 };
88
89 #endif

  ViewVC Help
Powered by ViewVC 1.1.23