| 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> | 
| 22 | 
 #include <Riostream.h> | 
 #include <Riostream.h> | 
| 23 | 
 #include <TObjString.h> | 
 #include <TObjString.h> | 
| 24 | 
 #include <TClass.h> | 
 #include <TClass.h> | 
| 25 | 
  | 
 #include <THashList.h> | 
| 26 | 
 #include <PamLevel2.h> | 
 #include <PamLevel2.h> | 
| 27 | 
 // | 
 // | 
| 28 | 
 /** | 
 /** | 
| 41 | 
     TList *fDoneList; | 
     TList *fDoneList; | 
| 42 | 
     TList *fList; | 
     TList *fList; | 
| 43 | 
     TList *lList; | 
     TList *lList; | 
| 44 | 
     //    TFile *Target; | 
     TFile *Target; | 
 | 
     TRFIOFile *Target; | 
  | 
| 45 | 
     TFile *Source; | 
     TFile *Source; | 
| 46 | 
     TString fDList; | 
     TString fDList; | 
| 47 | 
     Bool_t fastMethod; | 
     Bool_t fastMethod; | 
| 48 | 
     Bool_t fDBG; | 
     Bool_t fDBG; | 
| 49 | 
     Bool_t fOpen; | 
     Bool_t fOpen; | 
 | 
     Bool_t castor; | 
  | 
| 50 | 
     Bool_t runmode; | 
     Bool_t runmode; | 
| 51 | 
     Bool_t createlist; | 
     Bool_t createlist; | 
| 52 | 
     Bool_t merged; | 
     Bool_t merged; | 
| 61 | 
     // | 
     // | 
| 62 | 
     RunGlue(); | 
     RunGlue(); | 
| 63 | 
     // | 
     // | 
| 64 | 
     RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor); | 
     RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); | 
| 65 | 
     // | 
     // | 
| 66 | 
     // methods | 
     // methods | 
| 67 | 
     // | 
     // | 
| 69 | 
     void Clean(); | 
     void Clean(); | 
| 70 | 
     TList *GetRunList(); | 
     TList *GetRunList(); | 
| 71 | 
     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 *); | 
  | 
| 72 | 
     void MergeRootfile(TList *); | 
     void MergeRootfile(TList *); | 
| 73 | 
     Bool_t OpenFile(); | 
     Bool_t OpenFile(); | 
 | 
     //    Bool_t OpenFile(Bool_t castor); | 
  | 
| 74 | 
     void SetDebug(Bool_t); | 
     void SetDebug(Bool_t); | 
| 75 | 
     void SetDList(TString); | 
     void SetDList(TString); | 
| 76 | 
     void DeleteRunFiles(TList *); | 
     void DeleteRunFiles(TList *); |