/[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 2.2 by kusanagi, Fri Dec 3 22:08:01 2004 UTC revision 2.3 by kusanagi, Fri Dec 17 12:46:20 2004 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 2.1 2004/10/17 12:28:38 kusanagi Exp $   * $Id: RunHeaderReader.cpp,v 2.2 2004/12/03 22:08:01 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 2.1 2004/10/17 12:28:38 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/RunHeaderReader.cpp,v 2.2 2004/12/03 22:08:01 kusanagi Exp $\n";
45  }  }
46    
47  /**  /**
# Line 86  void RunHeaderReader::RunEvent(int Event Line 86  void RunHeaderReader::RunEvent(int Event
86      RunHeader->PRH_VAR_TRIGGER_MODE_A     = (((UINT32)subData[15]<<24)&0xFF000000) + (((UINT32)subData[16]<<16)&0x00FF0000) +  (((UINT32)subData[17]<<8)&0x0000FF00) + (((UINT32)subData[18])&0x000000FF);      RunHeader->PRH_VAR_TRIGGER_MODE_A     = (((UINT32)subData[15]<<24)&0xFF000000) + (((UINT32)subData[16]<<16)&0x00FF0000) +  (((UINT32)subData[17]<<8)&0x0000FF00) + (((UINT32)subData[18])&0x000000FF);
87      RunHeader->PRH_VAR_TRIGGER_MODE_B     = (((UINT32)subData[19]<<24)&0xFF000000) + (((UINT32)subData[20]<<16)&0x00FF0000) +  (((UINT32)subData[21]<<8)&0x0000FF00) + (((UINT32)subData[22])&0x000000FF);      RunHeader->PRH_VAR_TRIGGER_MODE_B     = (((UINT32)subData[19]<<24)&0xFF000000) + (((UINT32)subData[20]<<16)&0x00FF0000) +  (((UINT32)subData[21]<<8)&0x0000FF00) + (((UINT32)subData[22])&0x000000FF);
88      RunHeader->RM_ACQ_AFTER_CALIB         = (BYTE)subData[23];      RunHeader->RM_ACQ_AFTER_CALIB         = (BYTE)subData[23];
89            RunHeader->TRK_CALIB_USED             = (((UINT32)subData[24]<<24)&0xFF000000) + (((UINT32)subData[25]<<16)&0x00FF0000) +  (((UINT32)subData[26]<<8)&0x0000FF00) + (((UINT32)subData[27])&0x000000FF);
90            RunHeader->ACQ_BUILD_INFO             = (((UINT32)subData[28]<<24)&0xFF000000) + (((UINT32)subData[29]<<16)&0x00FF0000) +  (((UINT32)subData[30]<<8)&0x0000FF00) + (((UINT32)subData[31])&0x000000FF);
91            
92  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23