91 |
|
|
92 |
// flag to control profiler actions |
// flag to control profiler actions |
93 |
Bool_t STATIC; |
Bool_t STATIC; |
94 |
|
Bool_t KEEPENV; |
95 |
Bool_t INSERT_RAW; |
Bool_t INSERT_RAW; |
96 |
Bool_t INSERT_ROOT; |
Bool_t INSERT_ROOT; |
97 |
Bool_t VALIDATE; |
Bool_t VALIDATE; |
103 |
Bool_t chewbacca; |
Bool_t chewbacca; |
104 |
UInt_t chID; |
UInt_t chID; |
105 |
// |
// |
106 |
|
TString tag; |
107 |
|
TString chiby; |
108 |
|
// |
109 |
UInt_t chpktinit; |
UInt_t chpktinit; |
110 |
UInt_t chpktfinal; |
UInt_t chpktfinal; |
111 |
UInt_t chobtinit; |
UInt_t chobtinit; |
193 |
void ValidationOFF(); |
void ValidationOFF(); |
194 |
void ReArrangeRUNS(); |
void ReArrangeRUNS(); |
195 |
void RemoveRUNS(); |
void RemoveRUNS(); |
196 |
void RemoveFILES(); |
void RemoveFILES(UInt_t idtsy); |
197 |
// |
// |
198 |
Bool_t IsDebug(){return(debug);}; |
Bool_t IsDebug(){return(debug);}; |
199 |
Bool_t IsRunAlreadyInserted(); |
Bool_t IsRunAlreadyInserted(); |
214 |
|
|
215 |
public: |
public: |
216 |
// |
// |
217 |
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 |
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, Bool_t keepenv); // constructor |
218 |
// |
// |
219 |
void Close(); // destructor |
void Close(); // destructor |
220 |
// |
// |
242 |
void SetPedantic(Bool_t pd); |
void SetPedantic(Bool_t pd); |
243 |
void SetPhysEndRunVariables(); |
void SetPhysEndRunVariables(); |
244 |
// |
// |
245 |
|
void SetTag(TString ntag){tag=ntag;}; |
246 |
|
// |
247 |
Bool_t SetID_RAW(); |
Bool_t SetID_RAW(); |
248 |
// |
// |
249 |
Int_t SetUpperLimits(); |
Int_t SetUpperLimits(); |
264 |
// |
// |
265 |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
266 |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
267 |
TString GetRootName(){return(filerootname);}; |
TString GetRootName(){return((TString)gSystem->ExpandPathName(filerootname.Data()));}; |
268 |
TString GetRawName(){return(filerawname);}; |
TString GetRawName(){return(filerawname);}; |
269 |
TString GetRawPath(); |
TString GetRawPath(); |
270 |
TString GetRootPath(); |
TString GetRootPath(); |
293 |
Int_t assignVALIDATION(UInt_t ,Bool_t ); |
Int_t assignVALIDATION(UInt_t ,Bool_t ); |
294 |
Int_t removeFile(TString rootfilename); |
Int_t removeFile(TString rootfilename); |
295 |
// |
// |
296 |
|
Bool_t IsChewbacca(){return chewbacca;}; |
297 |
// void OpenFile(); |
// void OpenFile(); |
298 |
void CheckValidate(Long64_t olderthan); |
void CheckValidate(Long64_t olderthan); |
299 |
void CheckConnection(); |
void CheckConnection(); |