#ifndef runglue_h #define runglue_h // #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // /** * \brief Class to group runs day by day */ class RunGlue : public TObject { private: TSQLServer *dbc; PamLevel2 *li; UInt_t run; TString dir; TString outdir; TString fFilename; Bool_t fEnd; Bool_t RUN; TList *fDoneList; TList *fList; TList *lList; TFile *Target; TFile *Source; TString fDList; TString wd; Bool_t fastMethod; Bool_t fDBG; Bool_t fOpen; Bool_t runmode; Bool_t createlist; Bool_t merged; UInt_t fNlist; UInt_t fNlistdone; UInt_t nrun; UInt_t YY; UInt_t MM; UInt_t DD; public: // RunGlue(); // RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir); // // methods // void Clear(); void Clean(); TList *GetRunList(); // Long64_t Mergy(TChain *, TFile *, Int_t, Option_t *); void MergeRootfile(TList *); Bool_t OpenFile(); void SetDebug(Bool_t); void SetDList(TString); void DeleteRunFiles(TList *); void UpdateDB(TList *); // // inline methods // Bool_t End(){return(fEnd);}; Bool_t FileIsOpen(){return(fOpen);}; Bool_t DebugMode(){return(fDBG);}; TString GetFilename(){return(fFilename);}; // // // // ClassDef(RunGlue,1); // }; #endif