103 |
// Check CRCs |
// Check CRCs |
104 |
// ---------- |
// ---------- |
105 |
for(Int_t ipkt=0; ipkt<6; ipkt++){ |
for(Int_t ipkt=0; ipkt<6; ipkt++){ |
106 |
if( caltrk->crc_hcal[ipkt] ){ |
cout << "DSP n. "<<caltrk->DSPnumber[ipkt]<<endl; |
107 |
cout << "ValidateTrkCalib: "<<classname<<" --WARNING-- CRC error in calibration header: pkt "<<ipkt<<endl; |
if(caltrk->DSPnumber[ipkt]>0 && caltrk->DSPnumber[ipkt]<=12){ |
108 |
return 0; // :-( |
if( caltrk->crc_hcal[ipkt] ){ |
109 |
} |
cout << "ValidateTrkCalib: "<<classname<<" --WARNING-- CRC error in calibration header: pkt "<<ipkt<<endl; |
110 |
for(Int_t ilad=0; ilad<3; ilad++)if( caltrk->crc_cal[ipkt][ilad] ){ |
// return 0; // :-( |
111 |
cout << "ValidateTrkCalib: "<<classname<<" --WARNING-- CRC error in calibration packet: pkt "<<ipkt<<endl; |
} |
112 |
return 0; // :-( |
for(Int_t ilad=0; ilad<3; ilad++)if( caltrk->crc_cal[ipkt][ilad] ){ |
113 |
|
cout << "ValidateTrkCalib: "<<classname<<" --WARNING-- CRC error in calibration packet: pkt "<<ipkt<<endl; |
114 |
|
// return 0; // :-( |
115 |
|
} |
116 |
} |
} |
117 |
} |
} |
118 |
// ----------------------- |
// ----------------------- |