/[PAMELA software]/chewbacca/PamOffLineSW/techmodel/McmdReader.cpp
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/techmodel/McmdReader.cpp

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

revision 1.4 by mocchiut, Wed Sep 30 12:21:38 2009 UTC revision 1.5 by mocchiut, Thu Feb 11 09:02:12 2010 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/techmodel/McmdReader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/techmodel/McmdReader.cpp,v $
3   * $Id: McmdReader.cpp,v 1.3 2009/04/15 08:40:06 pam-fi Exp $   * $Id: McmdReader.cpp,v 1.4 2009/09/30 12:21:38 mocchiut Exp $
4   * $Author: pam-fi $   * $Author: mocchiut $
5   *   *
6   * Implementation of the McmdReader class.   * Implementation of the McmdReader class.
7   */   */
# Line 24  McmdReader::McmdReader(void) : Line 24  McmdReader::McmdReader(void) :
24   * Get a string with the version info of the algorithm.   * Get a string with the version info of the algorithm.
25   */   */
26  std::string McmdReader::GetVersionInfo(void) const {  std::string McmdReader::GetVersionInfo(void) const {
27    return "$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/techmodel/McmdReader.cpp,v 1.3 2009/04/15 08:40:06 pam-fi Exp $\n";    return "$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/techmodel/McmdReader.cpp,v 1.4 2009/09/30 12:21:38 mocchiut Exp $\n";
28  }  }
29    
30  /**  /**
# Line 95  void McmdReader::PKT_RunEvent(char* mysu Line 95  void McmdReader::PKT_RunEvent(char* mysu
95    while (start < (length - 2 - obt_len - subTrailer_len - subTrailer_len - subPckCRC_len))    while (start < (length - 2 - obt_len - subTrailer_len - subTrailer_len - subPckCRC_len))
96    //    while(start < (length-2))    //    while(start < (length-2))
97    {    {
98      //    printf(" 1data %X \n",(UINT8)mysubData[start]);      //    printf(" 1data %X \n",(UINT8)mysubData[start]);
99      //Read the OBT preceeding the subpacket then calculate a partial CRC for it      //Read the OBT preceeding the subpacket then calculate a partial CRC for it
100      //and update the partialCRC      //and update the partialCRC
101      for (int m = start; m < start + obt_len; m++) {      for (int m = start; m < start + obt_len; m++) {

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

  ViewVC Help
Powered by ViewVC 1.1.23