--- YodaProfiler/inc/PamelaDBOperations.h 2006/11/27 14:25:34 1.10 +++ YodaProfiler/inc/PamelaDBOperations.h 2007/04/17 12:06:47 1.15 @@ -58,6 +58,8 @@ UInt_t idroot; UInt_t pktfirst; UInt_t obtfirst; + UInt_t ppktfirst; + UInt_t pobtfirst; Long64_t upperobt; Long64_t upperpkt; UInt_t upperentry; @@ -83,6 +85,7 @@ TString tlefilename; // flag to control profiler actions + Bool_t STATIC; Bool_t INSERT_RAW; Bool_t INSERT_ROOT; Bool_t VALIDATE; @@ -177,7 +180,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); // 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); // constructor // void Close(); // destructor // @@ -197,7 +200,7 @@ void SetNOBOOT(Bool_t noboot); void SetOlderThan(Long64_t oldthan); void SetTLEPath(TString str); - void SetOrbitNo(); + void SetOrbitNo(UInt_t dwinput); void SetNoFrag(Bool_t nf); void SetAutoBoot(Bool_t nf); // @@ -219,11 +222,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();}; // @@ -257,6 +260,11 @@ // Functions for TLE Int_t populateTLE(); + + UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h); + UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h); }; + + UInt_t Check(); }; #endif /* PAMELA_DB_OPERATIONS_H */