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

Diff of /yoda/techmodel/S4InitReader.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:26 2006 UTC
# Line 38  void S4InitReader::Init(PamelaRun *run) Line 38  void S4InitReader::Init(PamelaRun *run)
38   */   */
39  void S4InitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){  void S4InitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){
40      char      subData[dataLength];      char      subData[dataLength];
41        memset(subData,  0, dataLength*sizeof(char));
42      InputFile->read(subData, sizeof(subData));      InputFile->read(subData, sizeof(subData));
43      s4Init->s4InitData        = new TArrayC(dataLength, subData);      s4Init->s4InitData        = new TArrayC(dataLength, subData);
44  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23