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

Diff of /yoda/techmodel/RunHeaderReader.cpp

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

revision 4.1 by kusanagi, Sun Mar 13 02:36:47 2005 UTC revision 4.2 by kusanagi, Tue Mar 15 10:54:17 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/RunHeaderReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/RunHeaderReader.cpp,v $
3   * $Id: RunHeaderReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $   * $Id: RunHeaderReader.cpp,v 4.1 2005/03/13 02:36:47 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the RunHeader class.   * Implementation of the RunHeader class.
# Line 41  RunHeaderReader::RunHeaderReader(void): Line 41  RunHeaderReader::RunHeaderReader(void):
41   */   */
42  std::string RunHeaderReader::GetVersionInfo(void) const {  std::string RunHeaderReader::GetVersionInfo(void) const {
43    return    return
44      "$Header: /home/cvsmanager/yoda/techmodel/RunHeaderReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/RunHeaderReader.cpp,v 4.1 2005/03/13 02:36:47 kusanagi Exp $\n";
45  }  }
46    
47  /**  /**
# Line 81  void RunHeaderReader::RunEvent(int Event Line 81  void RunHeaderReader::RunEvent(int Event
81      RunHeader->RM_ACQ_AFTER_CALIB         = (BYTE)subData[23];      RunHeader->RM_ACQ_AFTER_CALIB         = (BYTE)subData[23];
82      RunHeader->TRK_CALIB_USED             = (((UINT32)subData[24]<<24)&0xFF000000) + (((UINT32)subData[25]<<16)&0x00FF0000) +  (((UINT32)subData[26]<<8)&0x0000FF00) + (((UINT32)subData[27])&0x000000FF);      RunHeader->TRK_CALIB_USED             = (((UINT32)subData[24]<<24)&0xFF000000) + (((UINT32)subData[25]<<16)&0x00FF0000) +  (((UINT32)subData[26]<<8)&0x0000FF00) + (((UINT32)subData[27])&0x000000FF);
83      RunHeader->ACQ_BUILD_INFO             = (((UINT32)subData[28]<<24)&0xFF000000) + (((UINT32)subData[29]<<16)&0x00FF0000) +  (((UINT32)subData[30]<<8)&0x0000FF00) + (((UINT32)subData[31])&0x000000FF);      RunHeader->ACQ_BUILD_INFO             = (((UINT32)subData[28]<<24)&0xFF000000) + (((UINT32)subData[29]<<16)&0x00FF0000) +  (((UINT32)subData[30]<<8)&0x0000FF00) + (((UINT32)subData[31])&0x000000FF);
84      RunHeader->ACQ_VAR_INFO               = (BYTE)subData[32];      RunHeader->ACQ_VAR_INFO               = ((((UINT16)subData[32]<<8)&0xFF00) + (((UINT16)subData[33])&0x00FF));
85      RunHeader->CAL_DSP_MASK               = (BYTE)subData[33];      RunHeader->CAL_DSP_MASK               = (BYTE)subData[34];
86            
87  }  }

Legend:
Removed from v.4.1  
changed lines
  Added in v.4.2

  ViewVC Help
Powered by ViewVC 1.1.23