/[PAMELA software]/yoda/techmodel/physics/S4Reader.cpp
ViewVC logotype

Diff of /yoda/techmodel/physics/S4Reader.cpp

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

revision 2.3 by kusanagi, Thu Dec 16 17:33:03 2004 UTC revision 2.4 by kusanagi, Thu Jan 13 14:50:01 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v $
3   * $Id: S4Reader.cpp,v 2.2 2004/12/09 08:48:54 kusanagi Exp $   * $Id: S4Reader.cpp,v 2.3 2004/12/16 17:33:03 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the S4Reader class.   * Implementation of the S4Reader class.
# Line 29  S4Reader::S4Reader(void): Line 29  S4Reader::S4Reader(void):
29   */   */
30  std::string S4Reader::GetVersionInfo(void) const {  std::string S4Reader::GetVersionInfo(void) const {
31    return    return
32      "$Header: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v 2.2 2004/12/09 08:48:54 kusanagi Exp $";      "$Header: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v 2.3 2004/12/16 17:33:03 kusanagi Exp $";
33  }  }
34    
35  /**  /**
# Line 63  void S4Reader::RunEvent(int EventNumber, Line 63  void S4Reader::RunEvent(int EventNumber,
63     s4->S4_CMD_NUM           = (((UINT8)subData[offset+2])&0xFF);     s4->S4_CMD_NUM           = (((UINT8)subData[offset+2])&0xFF);
64     s4->S4_RESP_LENGHT       = ((((UINT16)subData[offset+3]<<8)&0xFF00) + (((UINT16)subData[offset+4])&0x00FF));     s4->S4_RESP_LENGHT       = ((((UINT16)subData[offset+3]<<8)&0xFF00) + (((UINT16)subData[offset+4])&0x00FF));
65     s4->S4_OVERALL_CHKCODE   = (((UINT8)subData[offset+5])&0xFF);     s4->S4_OVERALL_CHKCODE   = (((UINT8)subData[offset+5])&0xFF);
66       s4->unpackError          = 0;
67  }  }
68    

Legend:
Removed from v.2.3  
changed lines
  Added in v.2.4

  ViewVC Help
Powered by ViewVC 1.1.23