4892 |
// |
// |
4893 |
}; |
}; |
4894 |
// |
// |
4895 |
|
|
4896 |
|
if( !(MISSING_pkt1&MISSING_pkt2) ){ |
4897 |
|
this->HandleTRK_CALIB(!MISSING_pkt1,!MISSING_pkt2); |
4898 |
|
ncalib++; |
4899 |
|
if( MISSING_pkt1||MISSING_pkt2||!valid )try_to_recover=true; |
4900 |
|
} |
4901 |
|
|
4902 |
|
|
4903 |
} else { |
} else { |
4904 |
// |
// |
4905 |
if ( IsDebug() ) printf(" Trk calibration1 at time %u obt %u pkt %u OUTSIDE the considered time interval \n",fromtime,obt1,pkt1); |
if ( IsDebug() ) printf(" Trk calibration1 at time %u obt %u pkt %u OUTSIDE the considered time interval \n",fromtime,obt1,pkt1); |
4906 |
// if ( PEDANTIC ) throw -79; |
// if ( PEDANTIC ) throw -79; |
4907 |
// |
// |
4908 |
}; |
}; |
4909 |
// |
// |
4910 |
|
|
|
if( !(MISSING_pkt1&MISSING_pkt2) ){ |
|
|
this->HandleTRK_CALIB(!MISSING_pkt1,!MISSING_pkt2); |
|
|
ncalib++; |
|
|
if( MISSING_pkt1||MISSING_pkt2||!valid )try_to_recover=true; |
|
|
} |
|
|
|
|
4911 |
}; //end loop on pkt1 |
}; //end loop on pkt1 |
4912 |
|
|
4913 |
|
|
5132 |
// ------------------------------------------------------ |
// ------------------------------------------------------ |
5133 |
// ... retrieve the calibration packets. |
// ... retrieve the calibration packets. |
5134 |
// ------------------------------------------------------ |
// ------------------------------------------------------ |
5135 |
TFile *file = new TFile((TString)gSystem->ExpandPathName(path)+"/"+name); // EM, path could be symbolic and we must expand it |
if ( IsDebug() ) printf(" file is %s/%s \n",((TString)gSystem->ExpandPathName(path.Data())).Data(),name.Data()); |
5136 |
|
TFile *file = new TFile(((TString)gSystem->ExpandPathName(path.Data()))+"/"+name); // EM, path could be symbolic and we must expand it |
5137 |
if(!file)throw -100; |
if(!file)throw -100; |
5138 |
if(file->IsZombie())throw -100; |
if(file->IsZombie())throw -100; |
5139 |
// |
// |