| 58 |
UInt_t idroot; |
UInt_t idroot; |
| 59 |
UInt_t pktfirst; |
UInt_t pktfirst; |
| 60 |
UInt_t obtfirst; |
UInt_t obtfirst; |
| 61 |
|
UInt_t ppktfirst; |
| 62 |
|
UInt_t pobtfirst; |
| 63 |
Long64_t upperobt; |
Long64_t upperobt; |
| 64 |
Long64_t upperpkt; |
Long64_t upperpkt; |
| 65 |
UInt_t upperentry; |
UInt_t upperentry; |
| 85 |
TString tlefilename; |
TString tlefilename; |
| 86 |
|
|
| 87 |
// flag to control profiler actions |
// flag to control profiler actions |
| 88 |
|
Bool_t STATIC; |
| 89 |
Bool_t INSERT_RAW; |
Bool_t INSERT_RAW; |
| 90 |
Bool_t INSERT_ROOT; |
Bool_t INSERT_ROOT; |
| 91 |
Bool_t VALIDATE; |
Bool_t VALIDATE; |
| 180 |
|
|
| 181 |
public: |
public: |
| 182 |
// |
// |
| 183 |
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 |
| 184 |
// |
// |
| 185 |
void Close(); // destructor |
void Close(); // destructor |
| 186 |
// |
// |
| 200 |
void SetNOBOOT(Bool_t noboot); |
void SetNOBOOT(Bool_t noboot); |
| 201 |
void SetOlderThan(Long64_t oldthan); |
void SetOlderThan(Long64_t oldthan); |
| 202 |
void SetTLEPath(TString str); |
void SetTLEPath(TString str); |
| 203 |
void SetOrbitNo(); |
void SetOrbitNo(UInt_t dwinput); |
| 204 |
void SetNoFrag(Bool_t nf); |
void SetNoFrag(Bool_t nf); |
| 205 |
void SetAutoBoot(Bool_t nf); |
void SetAutoBoot(Bool_t nf); |
| 206 |
// |
// |
| 222 |
const PacketType* GetPacketType(const char* type); |
const PacketType* GetPacketType(const char* type); |
| 223 |
// |
// |
| 224 |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
|
TString GetRawPath(){return((TString)gSystem->DirName(filerawname.Data())+'/');}; |
|
| 225 |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
|
TString GetRootPath(){return((TString)gSystem->DirName(filerootname.Data())+'/');}; |
|
| 226 |
TString GetRootName(){return(filerootname);}; |
TString GetRootName(){return(filerootname);}; |
| 227 |
TString GetRawName(){return(filerawname);}; |
TString GetRawName(){return(filerawname);}; |
| 228 |
|
TString GetRawPath(); |
| 229 |
|
TString GetRootPath(); |
| 230 |
|
|
| 231 |
const char* GetCleanTime(){return clean_time->AsSQLString();}; |
const char* GetCleanTime(){return clean_time->AsSQLString();}; |
| 232 |
// |
// |
| 260 |
|
|
| 261 |
// Functions for TLE |
// Functions for TLE |
| 262 |
Int_t populateTLE(); |
Int_t populateTLE(); |
| 263 |
|
|
| 264 |
|
UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h); |
| 265 |
|
UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h); }; |
| 266 |
|
|
| 267 |
|
UInt_t Check(); |
| 268 |
|
|
| 269 |
}; |
}; |
| 270 |
#endif /* PAMELA_DB_OPERATIONS_H */ |
#endif /* PAMELA_DB_OPERATIONS_H */ |