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

Diff of /yoda/techmodel/CalibCalReader.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 41  void CalibCalReader::Init(PamelaRun *run Line 41  void CalibCalReader::Init(PamelaRun *run
41   */   */
42  void CalibCalReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){  void CalibCalReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){
43      char      subData[dataLength];      char      subData[dataLength];
44        memset(subData,  0, dataLength*sizeof(char));
45      InputFile->read(subData, sizeof(subData));      InputFile->read(subData, sizeof(subData));
46      calibCal->calibCalData        = new TArrayC(dataLength, subData);      calibCal->calibCalData        = new TArrayC(dataLength, subData);
47  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23