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

Diff of /yoda/techmodel/CalibAcReader.cpp

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

revision 1.2 by kusanagi, Sat Jul 17 20:03:38 2004 UTC revision 1.3 by kusanagi, Tue Aug 24 16:01:57 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v $
3   * $Id: CalibAcReader.cpp,v 1.1 2004/07/08 12:31:42 kusanagi Exp $   * $Id: CalibAcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the ArrDumpReader class.   * Implementation of the ArrDumpReader class.
# Line 36  CalibAcReader::CalibAcReader(void): Line 36  CalibAcReader::CalibAcReader(void):
36   * Get a string with the version info of the algorithm.   * Get a string with the version info of the algorithm.
37   */   */
38  std::string CalibAcReader::GetVersionInfo(void) const {  std::string CalibAcReader::GetVersionInfo(void) const {
39    return "$Header: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v 1.1 2004/07/08 12:31:42 kusanagi Exp $\n";    return "$Header: /home/cvsmanager/yoda/techmodel/CalibAcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $\n";
40  }  }
41    
42  /**  /**
# Line 87  void CalibAcReader::RunEvent(int EventNu Line 87  void CalibAcReader::RunEvent(int EventNu
87          CalibAc->iCRC = output.iCRC;          CalibAc->iCRC = output.iCRC;
88          CalibAc->tail = output.tail;          CalibAc->tail = output.tail;
89          CalibAc->CRC  = output.CRC;          CalibAc->CRC  = output.CRC;
         free(subData);  
90      } else {      } else {
91          cat <<  log4cpp::Priority::ERROR          cat <<  log4cpp::Priority::ERROR
92              <<  "Wrong CRC on Subpacket in ArrDump Packet "              <<  "Wrong CRC on Subpacket in ArrDump Packet "
93              <<  "\n " << log4cpp::CategoryStream::ENDLINE;              <<  "\n " << log4cpp::CategoryStream::ENDLINE;
94      }      }
95        delete [] subData;
96    }    }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23