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; |
187 |
void FillClass(); |
void FillClass(); |
188 |
void FillClass(Bool_t mishead, Bool_t mistrail, Int_t firstev, Int_t lastev); |
void FillClass(Bool_t mishead, Bool_t mistrail, Int_t firstev, Int_t lastev); |
189 |
void HandleTRK_CALIB(Bool_t pk1, Bool_t pk2); |
void HandleTRK_CALIB(Bool_t pk1, Bool_t pk2); |
190 |
|
void HandleTRK_CALIB(GL_TRK_CALIB*); |
191 |
// |
// |
192 |
void RemoveCALIBS(); |
void RemoveCALIBS(); |
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(); |
200 |
Bool_t IsRunConsistent(Bool_t mishead, Bool_t mistrail, UInt_t &firstev, UInt_t &lastev); |
Bool_t IsRunConsistent(Bool_t mishead, Bool_t mistrail, UInt_t &firstev, UInt_t &lastev); |
201 |
Bool_t AutoBoot(){return(AUTOBOOT);}; |
Bool_t AutoBoot(){return(AUTOBOOT);}; |
202 |
// |
// |
203 |
Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); |
// Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); |
204 |
|
UInt_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); |
205 |
// |
// |
206 |
Long64_t PKT(UInt_t pkt_num); |
Long64_t PKT(UInt_t pkt_num); |
207 |
// |
// |
215 |
|
|
216 |
public: |
public: |
217 |
// |
// |
218 |
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 |
219 |
// |
// |
220 |
void Close(); // destructor |
void Close(); // destructor |
221 |
// |
// |
243 |
void SetPedantic(Bool_t pd); |
void SetPedantic(Bool_t pd); |
244 |
void SetPhysEndRunVariables(); |
void SetPhysEndRunVariables(); |
245 |
// |
// |
246 |
|
void SetTag(TString ntag){tag=ntag;}; |
247 |
|
// |
248 |
Bool_t SetID_RAW(); |
Bool_t SetID_RAW(); |
249 |
// |
// |
250 |
Int_t SetUpperLimits(); |
Int_t SetUpperLimits(); |
265 |
// |
// |
266 |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
TString GetRawFile(){return((TString)gSystem->BaseName(filerawname.Data()));}; |
267 |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
TString GetRootFile(){return((TString)gSystem->BaseName(filerootname.Data()));}; |
268 |
TString GetRootName(){return(filerootname);}; |
TString GetRootName(){return((TString)gSystem->ExpandPathName(filerootname.Data()));}; |
269 |
TString GetRawName(){return(filerawname);}; |
TString GetRawName(){return(filerawname);}; |
270 |
TString GetRawPath(); |
TString GetRawPath(); |
271 |
TString GetRootPath(); |
TString GetRootPath(); |
276 |
// |
// |
277 |
Int_t assignBOOT_NUMBER(); |
Int_t assignBOOT_NUMBER(); |
278 |
Int_t insertPamelaRootFile(); |
Int_t insertPamelaRootFile(); |
279 |
|
Int_t insertPamelaRootFile(GL_ROOT*); |
280 |
Int_t insertPamelaRawFile(); |
Int_t insertPamelaRawFile(); |
281 |
|
Int_t insertPamelaRawFile(GL_RAW*); |
282 |
Int_t insertPamelaGL_TIMESYNC(); |
Int_t insertPamelaGL_TIMESYNC(); |
283 |
Int_t insertPamelaRUN(); |
Int_t insertPamelaRUN(); |
284 |
Int_t insertCALO_CALIB(); |
Int_t insertCALO_CALIB(); |
292 |
Int_t ValidateRuns(); |
Int_t ValidateRuns(); |
293 |
Int_t ValidateRuns(TString valfile); |
Int_t ValidateRuns(TString valfile); |
294 |
Int_t assignVALIDATION(UInt_t ,Bool_t ); |
Int_t assignVALIDATION(UInt_t ,Bool_t ); |
295 |
|
Int_t assignVALIDATION(UInt_t ,UInt_t ); |
296 |
Int_t removeFile(TString rootfilename); |
Int_t removeFile(TString rootfilename); |
297 |
// |
// |
298 |
|
Bool_t IsChewbacca(){return chewbacca;}; |
299 |
// void OpenFile(); |
// void OpenFile(); |
300 |
void CheckValidate(Long64_t olderthan); |
void CheckValidate(Long64_t olderthan); |
301 |
void CheckConnection(); |
void CheckConnection(); |
313 |
// Functions for TLE |
// Functions for TLE |
314 |
Int_t populateTLE(); |
Int_t populateTLE(); |
315 |
|
|
316 |
UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h); |
UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h, TFile* file); |
317 |
UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h); }; |
UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h, TFile* file){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h,file); }; |
318 |
|
|
319 |
|
UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h,file); }; |
320 |
|
UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h,file); }; |
321 |
|
|
322 |
UInt_t Check(); |
UInt_t Check(); |
323 |
UInt_t Check(UInt_t from, UInt_t to); |
UInt_t Check(UInt_t from, UInt_t to); |