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

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

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

revision 6.0 by kusanagi, Tue Feb 7 17:11:11 2006 UTC revision 6.1 by kusanagi, Wed Aug 16 08:20:29 2006 UTC
# Line 22  NeutronDetectorReader::NeutronDetectorRe Line 22  NeutronDetectorReader::NeutronDetectorRe
22   */   */
23  std::string NeutronDetectorReader::GetVersionInfo(void) const {  std::string NeutronDetectorReader::GetVersionInfo(void) const {
24    return    return
25      "$Header: /home/cvsmanager/yoda/techmodel/physics/NeutronDetectorReader.cpp,v 5.1 2006/02/04 12:37:46 kusanagi Exp $";      "$Header: /home/cvsmanager/yoda/techmodel/physics/NeutronDetectorReader.cpp,v 6.0 2006/02/07 17:11:11 kusanagi Exp $";
26  }  }
27    
28  /**  /**
# Line 78  void NeutronDetectorReader::RunEvent(int Line 78  void NeutronDetectorReader::RunEvent(int
78    
79  bool NeutronDetectorReader::haveData(const char data[], long int length){  bool NeutronDetectorReader::haveData(const char data[], long int length){
80      bool ret = false;      bool ret = false;
81      if (((UINT8)data[length - 1] == 0x0F)&&((UINT8)data[length - 5] == 0x0F)&&((UINT8)data[length - 9] == 0x0F) &&      if (((UINT8)data[length - 1] == 0x0F)&&((UINT8)data[length - 5] == 0x0F)&&((UINT8)data[length - 9] == 0x0F)) ret = true;
         ((UINT8)data[length - 2] == 0x00)&&((UINT8)data[length - 6] == 0x00)&&((UINT8)data[length - 10] == 0x00)) ret = true;  
82      return ret;      return ret;
83  }  }

Legend:
Removed from v.6.0  
changed lines
  Added in v.6.1

  ViewVC Help
Powered by ViewVC 1.1.23