57 |
UInt_t id; |
UInt_t id; |
58 |
UInt_t idroot; |
UInt_t idroot; |
59 |
UInt_t pktfirst; |
UInt_t pktfirst; |
60 |
ULong64_t obtfirst; |
UInt_t obtfirst; |
61 |
ULong64_t upperobt; |
UInt_t ppktfirst; |
62 |
UInt_t upperpkt; |
UInt_t pobtfirst; |
63 |
|
Long64_t upperobt; |
64 |
|
Long64_t upperpkt; |
65 |
UInt_t upperentry; |
UInt_t upperentry; |
66 |
Int_t rtev; |
Int_t rtev; |
67 |
Int_t rhev; |
Int_t rhev; |
89 |
Bool_t INSERT_ROOT; |
Bool_t INSERT_ROOT; |
90 |
Bool_t VALIDATE; |
Bool_t VALIDATE; |
91 |
Bool_t NOFRAG; |
Bool_t NOFRAG; |
92 |
|
Bool_t AUTOBOOT; |
93 |
|
|
94 |
TDatime *clean_time; |
TDatime *clean_time; |
95 |
|
|
163 |
Bool_t IsDebug(){return(debug);}; |
Bool_t IsDebug(){return(debug);}; |
164 |
Bool_t IsRunAlreadyInserted(); |
Bool_t IsRunAlreadyInserted(); |
165 |
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); |
166 |
|
Bool_t AutoBoot(){return(AUTOBOOT);}; |
167 |
// |
// |
168 |
Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); |
Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); |
169 |
// |
// |
170 |
UInt_t PKT(UInt_t pkt_num); |
Long64_t PKT(UInt_t pkt_num); |
171 |
// |
// |
172 |
ULong64_t OBT(UInt_t obt); |
Long64_t OBT(UInt_t obt); |
173 |
// |
// |
174 |
UInt_t AssignRunID(); |
UInt_t AssignRunID(); |
175 |
|
|
179 |
|
|
180 |
public: |
public: |
181 |
// |
// |
182 |
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); // constructor |
183 |
// |
// |
184 |
void Close(); // destructor |
void Close(); // destructor |
185 |
// |
// |
199 |
void SetNOBOOT(Bool_t noboot); |
void SetNOBOOT(Bool_t noboot); |
200 |
void SetOlderThan(Long64_t oldthan); |
void SetOlderThan(Long64_t oldthan); |
201 |
void SetTLEPath(TString str); |
void SetTLEPath(TString str); |
202 |
void SetOrbitNo(); |
void SetOrbitNo(UInt_t dwinput); |
203 |
void SetNoFrag(Bool_t nf); |
void SetNoFrag(Bool_t nf); |
204 |
|
void SetAutoBoot(Bool_t nf); |
205 |
// |
// |
206 |
Bool_t SetID_RAW(); |
Bool_t SetID_RAW(); |
207 |
// |
// |
259 |
|
|
260 |
// Functions for TLE |
// Functions for TLE |
261 |
Int_t populateTLE(); |
Int_t populateTLE(); |
262 |
|
|
263 |
|
UInt_t ValidateTrkCalib( CalibTrk1Event* calibtrk , EventHeader* h); |
264 |
|
UInt_t ValidateTrkCalib( CalibTrk2Event* calibtrk , EventHeader* h){return ValidateTrkCalib((CalibTrk1Event*)calibtrk,h); }; |
265 |
|
|
266 |
|
UInt_t Check(); |
267 |
|
|
268 |
}; |
}; |
269 |
#endif /* PAMELA_DB_OPERATIONS_H */ |
#endif /* PAMELA_DB_OPERATIONS_H */ |