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. |
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 |
/** |
/** |
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 |
} |
} |