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

Diff of /yoda/techmodel/CalibTofReader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6.1 by kusanagi, Tue May 30 19:10:01 2006 UTC revision 6.3 by mocchiut, Fri Sep 29 10:19:20 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/CalibTofReader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTofReader.cpp,v $
3   * $Id: CalibTofReader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $   * $Id: CalibTofReader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the LogReader class.   * Implementation of the LogReader class.
# Line 29  CalibTofReader::CalibTofReader(void): Line 29  CalibTofReader::CalibTofReader(void):
29   */   */
30  std::string CalibTofReader::GetVersionInfo(void) const {  std::string CalibTofReader::GetVersionInfo(void) const {
31    return    return
32      "$Header: /home/cvsmanager/yoda/techmodel/CalibTofReader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $\n";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTofReader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $\n";
33  }  }
34    
35  /**  /**
# Line 47  void CalibTofReader::Init(PamelaRun *run Line 47  void CalibTofReader::Init(PamelaRun *run
47   */   */
48  void CalibTofReader::RunEvent(int EventNumber, long int dataLength) throw (Exception){  void CalibTofReader::RunEvent(int EventNumber, long int dataLength) throw (Exception){
49      char      subData[dataLength];      char      subData[dataLength];
50        memset(subData,  0, dataLength*sizeof(char));
51      InputFile->read(subData, sizeof(subData));      InputFile->read(subData, sizeof(subData));
52      calibTof->calibTofData        = new TArrayC(dataLength, subData);      calibTof->calibTofData        = new TArrayC(dataLength, subData);
53  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23