/[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.11 by mocchiut, Mon Oct 20 12:13:00 2014 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;
55        Bool_t discarded;
56      UInt_t fNlist;      UInt_t fNlist;
57      UInt_t fNlistdone;      UInt_t fNlistdone;
58      UInt_t nrun;      UInt_t nrun;
# Line 68  class RunGlue : public TObject { Line 64  class RunGlue : public TObject {
64      //      //
65      RunGlue();      RunGlue();
66      //      //
67      RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir, Bool_t castor);      RunGlue(TSQLServer *dbc,UInt_t run, TString dir, TString wrkdir);
68      //      //
69      // methods      // methods
70      //      //
71      void Clear();      void Clear();
72      void Clean();      void Clean();
73      TList *GetRunList();      TList *GetRunList();
74      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 *);  
75      void MergeRootfile(TList *);      void MergeRootfile(TList *);
76      Bool_t OpenFile();      Bool_t OpenFile();
     //    Bool_t OpenFile(Bool_t castor);  
77      void SetDebug(Bool_t);      void SetDebug(Bool_t);
78      void SetDList(TString);      void SetDList(TString);
79      void DeleteRunFiles(TList *);      void DeleteRunFiles(TList *);
80      void UpdateDB(TList *);      void UpdateDB(TList *);
81        void SetUpgrade(Bool_t set){fUpgrade=set;};    
82      //      //
83      // inline methods      // inline methods
84      //      //
85      Bool_t End(){return(fEnd);};      Bool_t End(){return(fEnd);};
86      Bool_t FileIsOpen(){return(fOpen);};      Bool_t FileIsOpen(){return(fOpen);};
87      Bool_t DebugMode(){return(fDBG);};      Bool_t DebugMode(){return(fDBG);};
88        Bool_t GetUpgrade(){return(fUpgrade);};    
89        Bool_t HasDiscardedRuns(){return(discarded);};    
90      TString GetFilename(){return(fFilename);};      TString GetFilename(){return(fFilename);};
91      //      //
92      //      //
93      //      //
94      //      //
95      ClassDef(RunGlue,1);      ClassDef(RunGlue,3);
96      //      //
97  };  };
98    

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

  ViewVC Help
Powered by ViewVC 1.1.23