/[PAMELA software]/DarthVader/RunInfo/inc/RunInfo.h
ViewVC logotype

Diff of /DarthVader/RunInfo/inc/RunInfo.h

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

revision 1.4 by mocchiut, Mon Sep 4 15:43:49 2006 UTC revision 1.9 by mocchiut, Tue May 15 14:31:19 2012 UTC
# Line 18  class SoftInfo : public TObject { Line 18  class SoftInfo : public TObject {
18   private:   private:
19            
20   public:   public:
21        TString DV_ver;
22        TString ORB_ver;
23      TString TRIG_ver;      TString TRIG_ver;
24      TString TOF_ver;      TString TOF_ver;
25      TString AC_ver;      TString AC_ver;
# Line 25  class SoftInfo : public TObject { Line 27  class SoftInfo : public TObject {
27      TString CAL_ver;      TString CAL_ver;
28      TString S4_ver;      TString S4_ver;
29      TString ND_ver;      TString ND_ver;
     TString ORB_ver;  
30      //      //
31      // Default constructor      // Default constructor
32      //      //
33      SoftInfo();      SoftInfo();
34    
35      void Clear();      void Clear(Option_t *t="");
36      void GetLevel2Struct(cSoftInfo *l2) const;      void GetLevel2Struct(cSoftInfo *l2) const;
37      SoftInfo*   GetSoftInfo(){return this;};        SoftInfo*   GetSoftInfo(){return this;};  
38        UInt_t GetSWinfo(TString DEC);
39                
40      //      //
41      ClassDef(SoftInfo,1);      ClassDef(SoftInfo,2);
42      //      //
43  };  };
44    
# Line 64  class ItoRunInfo : public GL_RUN { Line 66  class ItoRunInfo : public GL_RUN {
66      //      //
67      SoftInfo *version;      SoftInfo *version;
68      //      //
69        //    GL_RUN *glrun;
70        //
71      // Default constructor      // Default constructor
72      //      //
73      ItoRunInfo();      ItoRunInfo();
74        ~ItoRunInfo();
75      //      //
76      // Other constructors...      // Other constructors...
77      //      //
# Line 82  class ItoRunInfo : public GL_RUN { Line 87  class ItoRunInfo : public GL_RUN {
87      //      //
88      Int_t Update(UInt_t run, TString Detector, TString Version);      Int_t Update(UInt_t run, TString Detector, TString Version);
89      Int_t Read(UInt_t run);      Int_t Read(UInt_t run);
90        void Write();
91      Int_t GetRunInfo(UInt_t run);      Int_t GetRunInfo(UInt_t run);
92      UInt_t GetRunForEntry(UInt_t entry);      UInt_t GetRunForEntry(UInt_t entry);
93      void Close();      void Close();
94      void Clear();      void Clear(Option_t *t="");
95      //      //
96      void *GetPointerToSI(){return &version;};      void *GetPointerToSI(){return &version;};
97      void *GetPointerToRI(){return this;};      void *GetPointerToRI(){return this;};
98      TChain *LoadRunInfoTree(TList *fl);      //void *GetPointerToRI(){return &glrun;};
99        TChain *GetRunTree(TList *fl);
100      //      //
101      UInt_t GetRunEntries(){return(totnorun);};      UInt_t GetRunEntries(){return(totnorun);};
102      UInt_t GetNoRun(){return(norun);};      UInt_t GetNoRun(){return(norun);};
# Line 97  class ItoRunInfo : public GL_RUN { Line 104  class ItoRunInfo : public GL_RUN {
104      Bool_t IsReprocessing(){return(reprocessing);};      Bool_t IsReprocessing(){return(reprocessing);};
105      UInt_t GetFirstEntry(){return(first_file_entry);};      UInt_t GetFirstEntry(){return(first_file_entry);};
106      UInt_t GetLastEntry(){return(last_file_entry-1);};      UInt_t GetLastEntry(){return(last_file_entry-1);};
107      UInt_t GetEntries(){return(last_file_entry-1-first_file_entry);};      UInt_t GetEntries(){Long64_t en = last_file_entry-1-first_file_entry; if ( en < 0LL ) en = 0LL; return((UInt_t)en);};
108      UInt_t GetFileEntries(){return(file_entries);};          UInt_t GetFileEntries(){return(file_entries);};    
109      //      //
110      ClassDef(ItoRunInfo,1);      ClassDef(ItoRunInfo,3);
111      //      //
112  };  };
113    

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

  ViewVC Help
Powered by ViewVC 1.1.23