--- chewbacca/YodaProfiler/inc/PamelaDBOperations.h 2008/11/04 09:44:48 1.4 +++ chewbacca/YodaProfiler/inc/PamelaDBOperations.h 2014/10/14 12:59:12 1.9 @@ -98,6 +98,7 @@ Bool_t NOFRAG; Bool_t AUTOBOOT; Bool_t PEDANTIC; + Bool_t RELAXED; // flags and variables for chewbacca Bool_t chewbacca; @@ -110,6 +111,7 @@ UInt_t chpktfinal; UInt_t chobtinit; UInt_t chobtfinal; + UInt_t chrtinit; Int_t nrhbef; Int_t nrhaf; Int_t nrtbef; @@ -122,6 +124,7 @@ UInt_t chobtts; UInt_t chlastts; UInt_t chresursts; + UInt_t idresof; UInt_t chboot; UInt_t chminentry; @@ -193,14 +196,15 @@ void ValidationOFF(); void ReArrangeRUNS(); void RemoveRUNS(); - void RemoveFILES(); + void RemoveFILES(UInt_t idtsy); // Bool_t IsDebug(){return(debug);}; Bool_t IsRunAlreadyInserted(); Bool_t IsRunConsistent(Bool_t mishead, Bool_t mistrail, UInt_t &firstev, UInt_t &lastev); Bool_t AutoBoot(){return(AUTOBOOT);}; // - Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); + // Bool_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); + UInt_t MissingTRK_CALIB(UInt_t t1,UInt_t t2); // Long64_t PKT(UInt_t pkt_num); // @@ -240,6 +244,7 @@ void SetNoFrag(Bool_t nf); void SetAutoBoot(Bool_t nf); void SetPedantic(Bool_t pd); + void SetRelaxed(Bool_t pd){ if ( pd ) printf(" WARNING: USING RELAXED CONDITIONS, ARE YOU SURE ON WHAT YOU'RE DOING? \n"); RELAXED=pd;}; void SetPhysEndRunVariables(); // void SetTag(TString ntag){tag=ntag;}; @@ -291,6 +296,7 @@ Int_t ValidateRuns(); Int_t ValidateRuns(TString valfile); Int_t assignVALIDATION(UInt_t ,Bool_t ); + Int_t assignVALIDATION(UInt_t ,UInt_t ); Int_t removeFile(TString rootfilename); // Bool_t IsChewbacca(){return chewbacca;}; @@ -302,6 +308,8 @@ void LockTables(); void UnLockTables(); // + void NotChewbacca(UInt_t boot, UInt_t tsync, UInt_t obt0, Bool_t gpamela); + // Bool_t NoFrag(){return(NOFRAG);}; Bool_t InsertRoot(){return(INSERT_ROOT);};