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

Diff of /yoda/techmodel/CalibCalPulse2Reader.cpp

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

revision 2.1 by kusanagi, Fri Dec 3 22:08:00 2004 UTC revision 2.2 by kusanagi, Thu Jan 13 14:48:04 2005 UTC
# Line 45  CalibCalPulse2Reader::CalibCalPulse2Read Line 45  CalibCalPulse2Reader::CalibCalPulse2Read
45   */   */
46  std::string CalibCalPulse2Reader::GetVersionInfo(void) const {  std::string CalibCalPulse2Reader::GetVersionInfo(void) const {
47    return    return
48      "$Header: /home/cvsmanager/yoda/techmodel/CalibCalPulse2Reader.cpp,v 2.0 2004/09/21 20:50:54 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/CalibCalPulse2Reader.cpp,v 2.1 2004/12/03 22:08:00 kusanagi Exp $\n";
49  }  }
50    
51  /**  /**
# Line 66  void CalibCalPulse2Reader::RunEvent(int Line 66  void CalibCalPulse2Reader::RunEvent(int
66      char        packetData[dataLength];      char        packetData[dataLength];
67      int         ERROR;      int         ERROR;
68      InputFile->read(packetData, sizeof(packetData));      InputFile->read(packetData, sizeof(packetData));
69    
70      calpulse_(packetData, &dataLength, &ERROR);      calpulse_(packetData, &dataLength, &ERROR);
71    
72        calibCalPulse2->unpackError = ERROR;
73    
74      if (ERROR != 0) {      if (ERROR != 0) {
75          char *errmsg;          char *errmsg;
76          switch (ERROR){          switch (ERROR){

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

  ViewVC Help
Powered by ViewVC 1.1.23