/[PAMELA software]/YodaProfiler/src/PamelaDBOperations.cpp
ViewVC logotype

Diff of /YodaProfiler/src/PamelaDBOperations.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by mocchiut, Mon Apr 30 15:57:06 2007 UTC revision 1.44 by mocchiut, Sun Jun 3 16:44:36 2007 UTC
# Line 1175  Int_t PamelaDBOperations::insertPamelaGL Line 1175  Int_t PamelaDBOperations::insertPamelaGL
1175          rh->GetEntry(i);          rh->GetEntry(i);
1176          //          //
1177          TSYNC = runh->LAST_TIME_SYNC_INFO;          TSYNC = runh->LAST_TIME_SYNC_INFO;
1178          OBT = runh->OBT_TIME_SYNC * 1000;          OBT = runh->OBT_TIME_SYNC;
1179          //          //
1180          TYPE = 20;          TYPE = 20;
1181          //          //
# Line 1198  Int_t PamelaDBOperations::insertPamelaGL Line 1198  Int_t PamelaDBOperations::insertPamelaGL
1198          rt->GetEntry(i);          rt->GetEntry(i);
1199          //          //
1200          TSYNC = runt->LAST_TYME_SYNC_INFO;          TSYNC = runt->LAST_TYME_SYNC_INFO;
1201          OBT = runt->OBT_TYME_SYNC * 1000;          OBT = runt->OBT_TYME_SYNC;
1202          //          //
1203          TYPE = 21;          TYPE = 21;
1204          //          //
# Line 4697  UInt_t PamelaDBOperations::Check(){ Line 4697  UInt_t PamelaDBOperations::Check(){
4697      //    if ( (thisrht < prevrtt || thisrtt < prevrht || thisrht > thisrtt) && (thisrht != prevrht) ){      //    if ( (thisrht < prevrtt || thisrtt < prevrht || thisrht > thisrtt) && (thisrht != prevrht) ){
4698      if ( (thisrht < prevrtt) && (thisrht != prevrht) ){      if ( (thisrht < prevrtt) && (thisrht != prevrht) ){
4699        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);
4700        printf(" CHECK n.1 TIME SCREW of %u s AROUND RUNs %u and %u \n",(thisrht-prevrtt),previd,thisid);        printf(" CHECK n.1 TIME SCREW of %i s AROUND RUNs %u and %u \n",(thisrht-prevrtt),previd,thisid);
4701        TString prevf = "";        TString prevf = "";
4702        TString thisf = "";        TString thisf = "";
4703        oss.str("");        oss.str("");
# Line 4718  UInt_t PamelaDBOperations::Check(){ Line 4718  UInt_t PamelaDBOperations::Check(){
4718      //      //
4719      if ( (thisrtt < prevrht) && (thisrht != prevrht) ){      if ( (thisrtt < prevrht) && (thisrht != prevrht) ){
4720        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);
4721        printf(" CHECK n.2 TIME SCREW of %u s AROUND RUNs %u and %u \n",(thisrtt-prevrht),previd,thisid);        printf(" CHECK n.2 TIME SCREW of %i s AROUND RUNs %u and %u \n",(thisrtt-prevrht),previd,thisid);
4722        TString prevf = "";        TString prevf = "";
4723        TString thisf = "";        TString thisf = "";
4724        oss.str("");        oss.str("");
# Line 4739  UInt_t PamelaDBOperations::Check(){ Line 4739  UInt_t PamelaDBOperations::Check(){
4739      //      //
4740      if ( (thisrht > thisrtt) && (thisrht != prevrht) ){      if ( (thisrht > thisrtt) && (thisrht != prevrht) ){
4741        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);        if ( IsDebug() ) printf(" IDprev %u ID %u    prevrht %u prevrtt %u  thisrht %u thisrtt %u \n",previd,thisid,prevrht,prevrtt,thisrht,thisrtt);
4742        printf(" CHECK n.3 TIME SCREW of %u s AROUND RUNs %u and %u \n",(thisrht-thisrtt),previd,thisid);        printf(" CHECK n.3 TIME SCREW of %i s AROUND RUNs %u and %u \n",(thisrht-thisrtt),previd,thisid);
4743        TString prevf = "";        TString prevf = "";
4744        TString thisf = "";        TString thisf = "";
4745        oss.str("");        oss.str("");

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.23