/[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.7 by mocchiut, Fri Oct 20 11:11:11 2006 UTC revision 1.9 by mocchiut, Tue Oct 31 15:36:03 2006 UTC
# Line 21  Line 21 
21    
22  #include <GLTables.h>  #include <GLTables.h>
23    
24  #include <cTle.h>  #include <sgp4.h>
25    
26  using namespace pamela;  using namespace pamela;
27    
# Line 86  class PamelaDBOperations { Line 86  class PamelaDBOperations {
86      Bool_t INSERT_RAW;      Bool_t INSERT_RAW;
87      Bool_t INSERT_ROOT;      Bool_t INSERT_ROOT;
88      Bool_t VALIDATE;      Bool_t VALIDATE;
89        Bool_t NOFRAG;
90            
91      TDatime *clean_time;      TDatime *clean_time;
92            
# Line 150  class PamelaDBOperations { Line 151  class PamelaDBOperations {
151      void FillClass(Bool_t mishead, Bool_t mistrail, UInt_t firstev, UInt_t lastev);      void FillClass(Bool_t mishead, Bool_t mistrail, UInt_t firstev, UInt_t lastev);
152      void HandleTRK_CALIB(Bool_t pk1, Bool_t pk2);      void HandleTRK_CALIB(Bool_t pk1, Bool_t pk2);
153      //      //
154        void RemoveCALIBS();
155        void ValidationOFF();
156        void ReArrangeRUNS();
157        void RemoveRUNS();
158        void RemoveFILES();
159        //
160      Bool_t IsDebug(){return(debug);};      Bool_t IsDebug(){return(debug);};
161      Bool_t IsRunAlreadyInserted();      Bool_t IsRunAlreadyInserted();
162      Bool_t IsRunConsistent(Bool_t mishead, Bool_t mistrail, UInt_t &firstev, UInt_t &lastev);      Bool_t IsRunConsistent(Bool_t mishead, Bool_t mistrail, UInt_t &firstev, UInt_t &lastev);
# Line 189  class PamelaDBOperations { Line 196  class PamelaDBOperations {
196      void SetOlderThan(Long64_t oldthan);      void SetOlderThan(Long64_t oldthan);
197      void SetTLEPath(TString str);      void SetTLEPath(TString str);
198      void SetOrbitNo();      void SetOrbitNo();
199        void SetNoFrag(Bool_t nf);
200      //      //
201      Bool_t SetID_RAW();      Bool_t SetID_RAW();
202      //      //
# Line 214  class PamelaDBOperations { Line 222  class PamelaDBOperations {
222      TString GetRootName(){return(filerootname);};      TString GetRootName(){return(filerootname);};
223      TString GetRawName(){return(filerawname);};      TString GetRawName(){return(filerawname);};
224                    
225          const char*  GetCleanTime(){return clean_time->AsSQLString();};      const char*  GetCleanTime(){return clean_time->AsSQLString();};
226      //      //
227      // Functions      // Functions
228      //      //
# Line 227  class PamelaDBOperations { Line 235  class PamelaDBOperations {
235      Int_t insertTRK_CALIB();      Int_t insertTRK_CALIB();
236      Int_t insertS4_CALIB();      Int_t insertS4_CALIB();
237      Int_t CleanGL_RUN_FRAGMENTS();      Int_t CleanGL_RUN_FRAGMENTS();
238        Int_t CleanGL_RUN_FRAGMENTS(TString fcleanfile);
239      Int_t ValidateRuns();      Int_t ValidateRuns();
240        Int_t ValidateRuns(TString valfile);
241      Int_t assignVALIDATION(UInt_t ,Bool_t );      Int_t assignVALIDATION(UInt_t ,Bool_t );
242        Int_t removeFile(TString rootfilename);
243      //      //
244      //    void OpenFile();      //    void OpenFile();
245      void CheckValidate(Long64_t olderthan);      void CheckValidate(Long64_t olderthan);
# Line 236  class PamelaDBOperations { Line 247  class PamelaDBOperations {
247      void CheckFile();      void CheckFile();
248      //      //
249                    
250        Bool_t NoFrag(){return(NOFRAG);};
251      Bool_t InsertRoot(){return(INSERT_ROOT);};      Bool_t InsertRoot(){return(INSERT_ROOT);};
252      Bool_t InsertRaw(){return(INSERT_RAW);};      Bool_t InsertRaw(){return(INSERT_RAW);};
253      Bool_t Validate(){return(VALIDATE);};      Bool_t Validate(){return(VALIDATE);};

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

  ViewVC Help
Powered by ViewVC 1.1.23