/[PAMELA software]/chewbacca/PamOffLineSW/PamOffLineSW_Main.cpp
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/PamOffLineSW_Main.cpp

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

revision 1.10 by mocchiut, Thu Feb 11 09:02:10 2010 UTC revision 1.11 by mocchiut, Fri Feb 12 04:46:53 2010 UTC
# Line 1  Line 1 
1  //============================================================================  //============================================================================
2  // $Id: PamOffLineSW_Main.cpp,v 1.9 2010/02/02 15:26:09 mocchiut Exp $  // $Id: PamOffLineSW_Main.cpp,v 1.10 2010/02/11 09:02:10 mocchiut Exp $
3  // Description : Pamela Off-Line Software  // Description : Pamela Off-Line Software
4  //============================================================================  //============================================================================
5    
# Line 67  Long64_t downcount = 1LL; Line 67  Long64_t downcount = 1LL;
67  TArrayL64 *dwin=new TArrayL64(12);  TArrayL64 *dwin=new TArrayL64(12);
68  Long64_t cadcount = 0LL;  Long64_t cadcount = 0LL;
69  Int_t horrorcount = 0;  Int_t horrorcount = 0;
70    Int_t hc = 0;
71    
72  bool skip_cadre = false;  bool skip_cadre = false;
73  long int iNumGoodCadres=0; //total number of good cadres  long int iNumGoodCadres=0; //total number of good cadres
# Line 953  void mainRead_RealData(char fni[]) Line 954  void mainRead_RealData(char fni[])
954                  //                  //
955                  // we completely missed more than 10 VRL packets                  // we completely missed more than 10 VRL packets
956                  //                  //
957                  //              if ( horrorcount > 10 ){                  if ( horrorcount > 10 && hc < 500 ){
958                  if ( horrorcount > 1 ){                          hc++;
959                    //if ( horrorcount > 1 ){
960                    stringstream os;                                                                  stringstream os;                                              
961                    os<<" NEW (EM) THIS IS TOO MUCH, LOST SYNC WITH VRL HEADERS! try to recover horrorcount = "<<horrorcount;                    os<<" NEW (EM) THIS IS TOO MUCH, LOST SYNC WITH VRL HEADERS! try to recover horrorcount = "<<horrorcount;
962                    os<<" new position in file "<<(streamposi-(10LL*1024LL)+1LL);                    os<<" new position in file "<<(streamposi-(10LL*1024LL)+1LL);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23