1 |
#ifndef runglue_h |
#ifndef runglue_h |
2 |
#define runglue_h |
#define runglue_h |
3 |
// |
// |
4 |
|
#include <sstream> |
5 |
|
#include <iostream> |
6 |
|
#include <TFile.h> |
7 |
|
#include <TTree.h> |
8 |
|
#include <TTimeStamp.h> |
9 |
|
#include <TTreeCloner.h> |
10 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
11 |
#include <TSQLRow.h> |
#include <TSQLRow.h> |
12 |
#include <TSQLResult.h> |
#include <TSQLResult.h> |
19 |
#include <TString.h> |
#include <TString.h> |
20 |
#include <TTimeStamp.h> |
#include <TTimeStamp.h> |
21 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
22 |
#include <TFile.h> |
#include <TRFIOFile.h> |
23 |
#include <TSystem.h> |
#include <TSystem.h> |
24 |
#include <TChain.h> |
#include <TChain.h> |
25 |
#include <TH1.h> |
#include <TH1.h> |
46 |
TList *fDoneList; |
TList *fDoneList; |
47 |
TList *fList; |
TList *fList; |
48 |
TList *lList; |
TList *lList; |
49 |
TFile *Target; |
// TFile *Target; |
50 |
|
TRFIOFile *Target; |
51 |
TFile *Source; |
TFile *Source; |
52 |
TString fDList; |
TString fDList; |
53 |
Bool_t fastMethod; |
Bool_t fastMethod; |
54 |
Bool_t fDBG; |
Bool_t fDBG; |
55 |
Bool_t fOpen; |
Bool_t fOpen; |
56 |
|
Bool_t castor; |
57 |
Bool_t runmode; |
Bool_t runmode; |
58 |
Bool_t createlist; |
Bool_t createlist; |
59 |
Bool_t merged; |
Bool_t merged; |
68 |
// |
// |
69 |
RunGlue(); |
RunGlue(); |
70 |
// |
// |
71 |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor); |
72 |
// |
// |
73 |
// methods |
// methods |
74 |
// |
// |
76 |
void Clean(); |
void Clean(); |
77 |
TList *GetRunList(); |
TList *GetRunList(); |
78 |
Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *); |
Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *); |
79 |
|
//Long64_t Mergy(TChain *, TRFIOFile *, Int_t, Option_t *); |
80 |
void MergeRootfile(TList *); |
void MergeRootfile(TList *); |
81 |
Bool_t OpenFile(); |
Bool_t OpenFile(); |
82 |
|
// Bool_t OpenFile(Bool_t castor); |
83 |
void SetDebug(Bool_t); |
void SetDebug(Bool_t); |
84 |
void SetDList(TString); |
void SetDList(TString); |
85 |
void DeleteRunFiles(TList *); |
void DeleteRunFiles(TList *); |