/[PAMELA software]/PadmeAmidala/inc/RunGlue.h
ViewVC logotype

Diff of /PadmeAmidala/inc/RunGlue.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mocchiut, Fri Sep 7 13:26:08 2007 UTC revision 1.9 by mocchiut, Fri Jan 30 16:17:30 2009 UTC
# Line 1  Line 1 
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>
# Line 19  Line 13 
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>
# Line 28  Line 22 
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  /**  /**
# Line 46  class RunGlue : public TObject { Line 41  class RunGlue : public TObject {
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 fUpgrade;
51      Bool_t fOpen;      Bool_t fOpen;
     Bool_t castor;  
52      Bool_t runmode;      Bool_t runmode;
53      Bool_t createlist;      Bool_t createlist;
54      Bool_t merged;      Bool_t merged;
# Line 68  class RunGlue : public TObject { Line 63  class RunGlue : public TObject {
63      //      //
64      RunGlue();      RunGlue();
65      //      //
66      RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor);      RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir);
67      //      //
68      // methods      // methods
69      //      //
70      void Clear();      void Clear();
71      void Clean();      void Clean();
72      TList *GetRunList();      TList *GetRunList();
73      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 *);  
74      void MergeRootfile(TList *);      void MergeRootfile(TList *);
75      Bool_t OpenFile();      Bool_t OpenFile();
     //    Bool_t OpenFile(Bool_t castor);  
76      void SetDebug(Bool_t);      void SetDebug(Bool_t);
77      void SetDList(TString);      void SetDList(TString);
78      void DeleteRunFiles(TList *);      void DeleteRunFiles(TList *);
79      void UpdateDB(TList *);      void UpdateDB(TList *);
80        void SetUpgrade(Bool_t set){fUpgrade=set;};    
81      //      //
82      // inline methods      // inline methods
83      //      //
84      Bool_t End(){return(fEnd);};      Bool_t End(){return(fEnd);};
85      Bool_t FileIsOpen(){return(fOpen);};      Bool_t FileIsOpen(){return(fOpen);};
86      Bool_t DebugMode(){return(fDBG);};      Bool_t DebugMode(){return(fDBG);};
87        Bool_t GetUpgrade(){return(fUpgrade);};    
88      TString GetFilename(){return(fFilename);};      TString GetFilename(){return(fFilename);};
89      //      //
90      //      //

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23