--- YodaProfiler/inc/PamelaDBOperations.h 2007/02/14 10:54:57 1.14 +++ YodaProfiler/inc/PamelaDBOperations.h 2007/10/25 13:23:35 1.18 @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -85,6 +86,7 @@ TString tlefilename; // flag to control profiler actions + Bool_t STATIC; Bool_t INSERT_RAW; Bool_t INSERT_ROOT; Bool_t VALIDATE; @@ -179,7 +181,7 @@ public: // - 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); // 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 // void Close(); // destructor // @@ -188,12 +190,14 @@ // void SetConnection(TString host, TString user, TString password); void SetBOOTnumber(UInt_t boot); + void SetBOOTnumber(UInt_t boot, Bool_t gpamela); void SetRawName(TString str); void SetRootName(TString str); void SetDebugFlag(Bool_t debug); void SetID_RAW(UInt_t idr); void SetID_ROOT(UInt_t idr); void SetTsync(UInt_t ts); + void SetTsync(UInt_t ts, Bool_t gpamela); void SetObt0(UInt_t ts); void SetCommonGLRUN(UInt_t absth, UInt_t abstt); void SetNOBOOT(Bool_t noboot); @@ -221,11 +225,11 @@ const PacketType* GetPacketType(const char* type); // TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; - TString GetRawPath(){return((TString)gSystem->DirName(filerawname.Data())+'/');}; TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; - TString GetRootPath(){return((TString)gSystem->DirName(filerootname.Data())+'/');}; TString GetRootName(){return(filerootname);}; TString GetRawName(){return(filerawname);}; + TString GetRawPath(); + TString GetRootPath(); const char* GetCleanTime(){return clean_time->AsSQLString();}; // @@ -237,6 +241,7 @@ Int_t insertPamelaGL_TIMESYNC(); Int_t insertPamelaRUN(); Int_t insertCALO_CALIB(); + Int_t insertCALOPULSE_CALIB(); Int_t insertTRK_CALIB(); Int_t insertS4_CALIB(); Int_t CleanGL_RUN_FRAGMENTS();