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

Diff of /yoda/techmodel/CalibTrkBothReader.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:22 2006 UTC
# Line 41  void CalibTrkBothReader::Init(PamelaRun Line 41  void CalibTrkBothReader::Init(PamelaRun
41   */   */
42  void CalibTrkBothReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){  void CalibTrkBothReader::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      calibTrkBoth->calibTrkBothData        = new TArrayC(dataLength, subData);      calibTrkBoth->calibTrkBothData        = 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