#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 // /** * \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; Bool_t fastMethod; Bool_t fDBG; 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(); void MergeRootfile(TList *); Bool_t OpenFile(); void SetDebug(Bool_t); void SetDList(TString); void DeleteRunFiles(TList *); void UpdateDB(TList *); // // inline method // Bool_t End(){return(fEnd);}; Bool_t DebugMode(){return(fDBG);}; TString GetFilename(){return(fFilename);}; // // // // ClassDef(RunGlue,1); // }; #endif