/[PAMELA software]/yoda/techmodel/EventReader.cpp
ViewVC logotype

Diff of /yoda/techmodel/EventReader.cpp

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

revision 2.8 by kusanagi, Tue Jan 11 14:59:31 2005 UTC revision 2.9 by kusanagi, Thu Jan 13 08:20:26 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2004/12/22 11:38:35 $   * $Date: 2005/01/11 14:59:31 $
4   * $Revision: 2.7 $   * $Revision: 2.8 $
5   *   *
6   * Implementation of the functions of a sample Algorithm class.   * Implementation of the functions of a sample Algorithm class.
7   * This file can be used as a templace to develop your own algorithm.   * This file can be used as a templace to develop your own algorithm.
# Line 88  EventReader::EventReader(int packetsLimi Line 88  EventReader::EventReader(int packetsLimi
88   */   */
89  std::string EventReader::GetVersionInfo(void) const {  std::string EventReader::GetVersionInfo(void) const {
90    return    return
91      "$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 2.7 2004/12/22 11:38:35 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 2.8 2005/01/11 14:59:31 kusanagi Exp $\n";
92  }  }
93    
94  /**  /**
# Line 240  void EventReader::UnpackPscuHeader(void) Line 240  void EventReader::UnpackPscuHeader(void)
240              }              }
241          if (finalPos > 0 && finalPos < 64) {          if (finalPos > 0 && finalPos < 64) {
242              oss.str("");              oss.str("");
243              oss << " Correct packet length: Padded of " << finalPos << " bytes";              oss << "\n Correct packet length: Padded of " << finalPos << " bytes";
244              logger->debug(oss.str().c_str());              logger->debug(oss.str().c_str());
245          }          }
246          if (finalPos > 64){          if (finalPos > 64){
247              oss.str("");              oss.str("");
248              oss << " The begin of the next packet is far more than 64 byte from the end of the previous."              oss << "\n The begin of the next packet is far more than 64 byte from the end of the previous."
249                  << Header->GetPscuHeader()->Print();                  << Header->GetPscuHeader()->Print();
250              logger->error(oss.str().c_str());              logger->error(oss.str().c_str());
251              //throw LengthException("The begin of the next packet is far more than 64 byte from the end of the previous.");              //throw LengthException("The begin of the next packet is far more than 64 byte from the end of the previous.");

Legend:
Removed from v.2.8  
changed lines
  Added in v.2.9

  ViewVC Help
Powered by ViewVC 1.1.23