4 |
#include <iostream> |
#include <iostream> |
5 |
#include <list> |
#include <list> |
6 |
|
|
7 |
|
#include <TFile.h> |
8 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
9 |
#include <EventHeader.h> |
#include <EventHeader.h> |
10 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
92 |
Bool_t VALIDATE; |
Bool_t VALIDATE; |
93 |
Bool_t NOFRAG; |
Bool_t NOFRAG; |
94 |
Bool_t AUTOBOOT; |
Bool_t AUTOBOOT; |
95 |
|
Bool_t PEDANTIC; |
96 |
|
|
97 |
TDatime *clean_time; |
TDatime *clean_time; |
98 |
|
|
182 |
|
|
183 |
public: |
public: |
184 |
// |
// |
185 |
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 |
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 |
186 |
// |
// |
187 |
void Close(); // destructor |
void Close(); // destructor |
188 |
// |
// |
191 |
// |
// |
192 |
void SetConnection(TString host, TString user, TString password); |
void SetConnection(TString host, TString user, TString password); |
193 |
void SetBOOTnumber(UInt_t boot); |
void SetBOOTnumber(UInt_t boot); |
194 |
|
void SetBOOTnumber(UInt_t boot, Bool_t gpamela); |
195 |
void SetRawName(TString str); |
void SetRawName(TString str); |
196 |
void SetRootName(TString str); |
void SetRootName(TString str); |
197 |
void SetDebugFlag(Bool_t debug); |
void SetDebugFlag(Bool_t debug); |
198 |
void SetID_RAW(UInt_t idr); |
void SetID_RAW(UInt_t idr); |
199 |
void SetID_ROOT(UInt_t idr); |
void SetID_ROOT(UInt_t idr); |
200 |
void SetTsync(UInt_t ts); |
void SetTsync(UInt_t ts); |
201 |
|
void SetTsync(UInt_t ts, Bool_t gpamela); |
202 |
void SetObt0(UInt_t ts); |
void SetObt0(UInt_t ts); |
203 |
void SetCommonGLRUN(UInt_t absth, UInt_t abstt); |
void SetCommonGLRUN(UInt_t absth, UInt_t abstt); |
204 |
void SetNOBOOT(Bool_t noboot); |
void SetNOBOOT(Bool_t noboot); |
207 |
void SetOrbitNo(UInt_t dwinput); |
void SetOrbitNo(UInt_t dwinput); |
208 |
void SetNoFrag(Bool_t nf); |
void SetNoFrag(Bool_t nf); |
209 |
void SetAutoBoot(Bool_t nf); |
void SetAutoBoot(Bool_t nf); |
210 |
|
void SetPedantic(Bool_t pd); |
211 |
// |
// |
212 |
Bool_t SetID_RAW(); |
Bool_t SetID_RAW(); |
213 |
// |
// |
243 |
Int_t insertPamelaGL_TIMESYNC(); |
Int_t insertPamelaGL_TIMESYNC(); |
244 |
Int_t insertPamelaRUN(); |
Int_t insertPamelaRUN(); |
245 |
Int_t insertCALO_CALIB(); |
Int_t insertCALO_CALIB(); |
246 |
|
Int_t insertCALOPULSE_CALIB(); |
247 |
Int_t insertTRK_CALIB(); |
Int_t insertTRK_CALIB(); |
248 |
Int_t insertS4_CALIB(); |
Int_t insertS4_CALIB(); |
249 |
Int_t CleanGL_RUN_FRAGMENTS(); |
Int_t CleanGL_RUN_FRAGMENTS(); |