/[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 6.2 by kusanagi, Tue May 30 19:10:03 2006 UTC revision 6.3 by mocchiut, Fri Sep 29 10:19:19 2006 UTC
# Line 36  CalibCalPulse1Reader::CalibCalPulse1Read Line 36  CalibCalPulse1Reader::CalibCalPulse1Read
36   */   */
37  std::string CalibCalPulse1Reader::GetVersionInfo(void) const {  std::string CalibCalPulse1Reader::GetVersionInfo(void) const {
38    return    return
39      "$Header: /home/cvsmanager/yoda/techmodel/CalibCalPulse1Reader.cpp,v 6.1 2006/05/30 19:10:01 kusanagi Exp $\n";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibCalPulse1Reader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $\n";
40  }  }
41    
42  /**  /**
# Line 56  void CalibCalPulse1Reader::RunEvent(int Line 56  void CalibCalPulse1Reader::RunEvent(int
56      std::stringstream oss;            std::stringstream oss;      
57      char        packetData[dataLength];      char        packetData[dataLength];
58      int         ERROR;      int         ERROR;
59        memset(packetData,  0, dataLength*sizeof(char));
60      InputFile->read(packetData, sizeof(packetData));      InputFile->read(packetData, sizeof(packetData));
61    
62      calpulse_(packetData, &dataLength, &ERROR);      calpulse_(packetData, &dataLength, &ERROR);

Legend:
Removed from v.6.2  
changed lines
  Added in v.6.3

  ViewVC Help
Powered by ViewVC 1.1.23