/[PAMELA software]/YodaProfiler/inc/PamelaDBOperations.h
ViewVC logotype

Diff of /YodaProfiler/inc/PamelaDBOperations.h

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

revision 1.12 by mocchiut, Mon Dec 4 11:32:06 2006 UTC revision 1.17 by mocchiut, Fri Oct 19 08:16:47 2007 UTC
# Line 4  Line 4 
4  #include <iostream>  #include <iostream>
5  #include <list>  #include <list>
6    
7    #include <TFile.h>
8  #include <TSQLServer.h>  #include <TSQLServer.h>
9  #include <EventHeader.h>  #include <EventHeader.h>
10  #include <PscuHeader.h>  #include <PscuHeader.h>
# Line 58  class PamelaDBOperations { Line 59  class PamelaDBOperations {
59      UInt_t idroot;      UInt_t idroot;
60      UInt_t pktfirst;      UInt_t pktfirst;
61      UInt_t obtfirst;      UInt_t obtfirst;
62        UInt_t ppktfirst;
63        UInt_t pobtfirst;
64      Long64_t upperobt;      Long64_t upperobt;
65      Long64_t upperpkt;      Long64_t upperpkt;
66      UInt_t upperentry;      UInt_t upperentry;
# Line 83  class PamelaDBOperations { Line 86  class PamelaDBOperations {
86      TString tlefilename;      TString tlefilename;
87                    
88      // flag to control profiler actions      // flag to control profiler actions
89        Bool_t STATIC;
90      Bool_t INSERT_RAW;      Bool_t INSERT_RAW;
91      Bool_t INSERT_ROOT;      Bool_t INSERT_ROOT;
92      Bool_t VALIDATE;      Bool_t VALIDATE;
# Line 177  class PamelaDBOperations { Line 181  class PamelaDBOperations {
181    
182   public:   public:
183      //      //
184      PamelaDBOperations(TString host, TString user, TString password, TString filerawname, TString filerootname, UInt_t boot, UInt_t tsync, UInt_t obt0, Bool_t debug, TString tlefilename); // constructor      PamelaDBOperations(TString host, TString user, TString password, TString filerawname, TString filerootname, UInt_t boot, UInt_t tsync, UInt_t obt0, Bool_t debug, TString tlefilename,UInt_t dwinput, Bool_t staticp, Bool_t gpamela); // constructor
185      //      //
186      void Close(); // destructor      void Close(); // destructor
187      //      //
# Line 186  class PamelaDBOperations { Line 190  class PamelaDBOperations {
190      //      //
191      void SetConnection(TString host, TString user, TString password);      void SetConnection(TString host, TString user, TString password);
192      void SetBOOTnumber(UInt_t boot);      void SetBOOTnumber(UInt_t boot);
193        void SetBOOTnumber(UInt_t boot, Bool_t gpamela);
194      void SetRawName(TString str);      void SetRawName(TString str);
195      void SetRootName(TString str);      void SetRootName(TString str);
196      void SetDebugFlag(Bool_t debug);      void SetDebugFlag(Bool_t debug);
197      void SetID_RAW(UInt_t idr);      void SetID_RAW(UInt_t idr);
198      void SetID_ROOT(UInt_t idr);      void SetID_ROOT(UInt_t idr);
199      void SetTsync(UInt_t ts);      void SetTsync(UInt_t ts);
200        void SetTsync(UInt_t ts, Bool_t gpamela);
201      void SetObt0(UInt_t ts);      void SetObt0(UInt_t ts);
202      void SetCommonGLRUN(UInt_t absth, UInt_t abstt);      void SetCommonGLRUN(UInt_t absth, UInt_t abstt);
203      void SetNOBOOT(Bool_t noboot);      void SetNOBOOT(Bool_t noboot);
204      void SetOlderThan(Long64_t oldthan);      void SetOlderThan(Long64_t oldthan);
205      void SetTLEPath(TString str);      void SetTLEPath(TString str);
206      void SetOrbitNo();      void SetOrbitNo(UInt_t dwinput);
207      void SetNoFrag(Bool_t nf);      void SetNoFrag(Bool_t nf);
208      void SetAutoBoot(Bool_t nf);      void SetAutoBoot(Bool_t nf);
209      //      //
# Line 219  class PamelaDBOperations { Line 225  class PamelaDBOperations {
225      const PacketType* GetPacketType(const char* type);      const PacketType* GetPacketType(const char* type);
226      //      //
227      TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));};      TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));};
     TString GetRawPath(){return((TString)gSystem->DirName(filerawname.Data())+'/');};  
228      TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));};      TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));};
     TString GetRootPath(){return((TString)gSystem->DirName(filerootname.Data())+'/');};  
229      TString GetRootName(){return(filerootname);};      TString GetRootName(){return(filerootname);};
230      TString GetRawName(){return(filerawname);};      TString GetRawName(){return(filerawname);};
231        TString GetRawPath();
232        TString GetRootPath();
233                    
234      const char*  GetCleanTime(){return clean_time->AsSQLString();};      const char*  GetCleanTime(){return clean_time->AsSQLString();};
235      //      //

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23