/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkParams.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkParams.cpp

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

revision 1.4 by pam-fi, Mon Mar 19 17:24:29 2007 UTC revision 1.5 by pam-fi, Wed Mar 21 11:05:39 2007 UTC
# Line 103  UInt_t TrkParams::ValidateTrkCalib( Cali Line 103  UInt_t TrkParams::ValidateTrkCalib( Cali
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  //  -----------------------  //  -----------------------

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23