| 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,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 |
| 184 |
// |
// |
| 185 |
void Close(); // destructor |
void Close(); // destructor |
| 186 |
// |
// |
| 189 |
// |
// |
| 190 |
void SetConnection(TString host, TString user, TString password); |
void SetConnection(TString host, TString user, TString password); |
| 191 |
void SetBOOTnumber(UInt_t boot); |
void SetBOOTnumber(UInt_t boot); |
| 192 |
|
void SetBOOTnumber(UInt_t boot, Bool_t gpamela); |
| 193 |
void SetRawName(TString str); |
void SetRawName(TString str); |
| 194 |
void SetRootName(TString str); |
void SetRootName(TString str); |
| 195 |
void SetDebugFlag(Bool_t debug); |
void SetDebugFlag(Bool_t debug); |
| 196 |
void SetID_RAW(UInt_t idr); |
void SetID_RAW(UInt_t idr); |
| 197 |
void SetID_ROOT(UInt_t idr); |
void SetID_ROOT(UInt_t idr); |
| 198 |
void SetTsync(UInt_t ts); |
void SetTsync(UInt_t ts); |
| 199 |
|
void SetTsync(UInt_t ts, Bool_t gpamela); |
| 200 |
void SetObt0(UInt_t ts); |
void SetObt0(UInt_t ts); |
| 201 |
void SetCommonGLRUN(UInt_t absth, UInt_t abstt); |
void SetCommonGLRUN(UInt_t absth, UInt_t abstt); |
| 202 |
void SetNOBOOT(Bool_t noboot); |
void SetNOBOOT(Bool_t noboot); |
| 224 |
const PacketType* GetPacketType(const char* type); |
const PacketType* GetPacketType(const char* type); |
| 225 |
// |
// |
| 226 |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
|
TString GetRawPath(){return((TString)gSystem->DirName(filerawname.Data())+'/');}; |
|
| 227 |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
|
TString GetRootPath(){return((TString)gSystem->DirName(filerootname.Data())+'/');}; |
|
| 228 |
TString GetRootName(){return(filerootname);}; |
TString GetRootName(){return(filerootname);}; |
| 229 |
TString GetRawName(){return(filerawname);}; |
TString GetRawName(){return(filerawname);}; |
| 230 |
|
TString GetRawPath(); |
| 231 |
|
TString GetRootPath(); |
| 232 |
|
|
| 233 |
const char* GetCleanTime(){return clean_time->AsSQLString();}; |
const char* GetCleanTime(){return clean_time->AsSQLString();}; |
| 234 |
// |
// |