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 |
|
TString wd; |
48 |
Bool_t fastMethod; |
Bool_t fastMethod; |
49 |
Bool_t fDBG; |
Bool_t fDBG; |
50 |
Bool_t fOpen; |
Bool_t fOpen; |
|
Bool_t castor; |
|
51 |
Bool_t runmode; |
Bool_t runmode; |
52 |
Bool_t createlist; |
Bool_t createlist; |
53 |
Bool_t merged; |
Bool_t merged; |
62 |
// |
// |
63 |
RunGlue(); |
RunGlue(); |
64 |
// |
// |
65 |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor); |
RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); |
66 |
// |
// |
67 |
// methods |
// methods |
68 |
// |
// |
69 |
void Clear(); |
void Clear(); |
70 |
void Clean(); |
void Clean(); |
71 |
TList *GetRunList(); |
TList *GetRunList(); |
72 |
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 *); |
|
73 |
void MergeRootfile(TList *); |
void MergeRootfile(TList *); |
74 |
Bool_t OpenFile(); |
Bool_t OpenFile(); |
|
// Bool_t OpenFile(Bool_t castor); |
|
75 |
void SetDebug(Bool_t); |
void SetDebug(Bool_t); |
76 |
void SetDList(TString); |
void SetDList(TString); |
77 |
void DeleteRunFiles(TList *); |
void DeleteRunFiles(TList *); |