1 |
#ifndef runglue_h |
#ifndef runglue_h |
2 |
#define runglue_h |
#define runglue_h |
3 |
// |
// |
|
#include <sstream> |
|
|
#include <iostream> |
|
|
#include <TFile.h> |
|
|
#include <TTree.h> |
|
|
#include <TTimeStamp.h> |
|
|
#include <TTreeCloner.h> |
|
4 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
5 |
#include <TSQLRow.h> |
#include <TSQLRow.h> |
6 |
#include <TSQLResult.h> |
#include <TSQLResult.h> |
13 |
#include <TString.h> |
#include <TString.h> |
14 |
#include <TTimeStamp.h> |
#include <TTimeStamp.h> |
15 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
16 |
#include <TRFIOFile.h> |
#include <TFile.h> |
17 |
#include <TSystem.h> |
#include <TSystem.h> |
18 |
#include <TChain.h> |
#include <TChain.h> |
19 |
#include <TH1.h> |
#include <TH1.h> |
40 |
TList *fDoneList; |
TList *fDoneList; |
41 |
TList *fList; |
TList *fList; |
42 |
TList *lList; |
TList *lList; |
43 |
// TFile *Target; |
TFile *Target; |
|
TRFIOFile *Target; |
|
44 |
TFile *Source; |
TFile *Source; |
45 |
TString fDList; |
TString fDList; |
46 |
Bool_t fastMethod; |
Bool_t fastMethod; |
47 |
Bool_t fDBG; |
Bool_t fDBG; |
48 |
Bool_t fOpen; |
Bool_t fOpen; |
|
Bool_t castor; |
|
49 |
Bool_t runmode; |
Bool_t runmode; |
50 |
Bool_t createlist; |
Bool_t createlist; |
51 |
Bool_t merged; |
Bool_t merged; |
60 |
// |
// |
61 |
RunGlue(); |
RunGlue(); |
62 |
// |
// |
63 |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor); |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); |
64 |
// |
// |
65 |
// methods |
// methods |
66 |
// |
// |
68 |
void Clean(); |
void Clean(); |
69 |
TList *GetRunList(); |
TList *GetRunList(); |
70 |
Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *); |
Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *); |
|
//Long64_t Mergy(TChain *, TRFIOFile *, Int_t, Option_t *); |
|
71 |
void MergeRootfile(TList *); |
void MergeRootfile(TList *); |
72 |
Bool_t OpenFile(); |
Bool_t OpenFile(); |
|
// Bool_t OpenFile(Bool_t castor); |
|
73 |
void SetDebug(Bool_t); |
void SetDebug(Bool_t); |
74 |
void SetDList(TString); |
void SetDList(TString); |
75 |
void DeleteRunFiles(TList *); |
void DeleteRunFiles(TList *); |