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

Diff of /yoda/techmodel/CalibCalPulse1Reader.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 3.0 by kusanagi, Fri Mar 4 15:54:11 2005 UTC
# Line 45  CalibCalPulse1Reader::CalibCalPulse1Read Line 45  CalibCalPulse1Reader::CalibCalPulse1Read
45   */   */
46  std::string CalibCalPulse1Reader::GetVersionInfo(void) const {  std::string CalibCalPulse1Reader::GetVersionInfo(void) const {
47    return    return
48      "$Header: /home/cvsmanager/yoda/techmodel/CalibCalPulse1Reader.cpp,v 2.0 2004/09/21 20:50:54 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/CalibCalPulse1Reader.cpp,v 2.3 2005/02/09 22:20:48 kusanagi Exp $\n";
49  }  }
50    
51  /**  /**
# Line 69  void CalibCalPulse1Reader::RunEvent(int Line 69  void CalibCalPulse1Reader::RunEvent(int
69    
70      calpulse_(packetData, &dataLength, &ERROR);      calpulse_(packetData, &dataLength, &ERROR);
71            
72        calibCalPulse1->unpackError = ERROR;
73      oss.str("");          oss.str("");    
74      if (ERROR != 0) {      if (ERROR != 0) {
75          char *errmsg;          char *errmsg;
# Line 76  void CalibCalPulse1Reader::RunEvent(int Line 77  void CalibCalPulse1Reader::RunEvent(int
77              case 1: errmsg = "CALORIMETER NOT FOUND";              case 1: errmsg = "CALORIMETER NOT FOUND";
78          }          }
79          oss << "Fortran77 function calpulse error code = " << ERROR          oss << "Fortran77 function calpulse error code = " << ERROR
80              <<  "\n" << errmsg;              <<  " " << errmsg;
81          logger->warn(oss.str().c_str());          logger->warn(oss.str().c_str());
82      } else {      } else {
83        //Store the unpacked data        //Store the unpacked data

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

  ViewVC Help
Powered by ViewVC 1.1.23