| 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 |
|
|
| 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 |
| 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); |