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

Diff of /yoda/techmodel/CalibTrk1Reader.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:21 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTrk1Reader.cpp,v $
3   * $Id: CalibTrk1Reader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $   * $Id: CalibTrk1Reader.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 58  CalibTrk1Reader::CalibTrk1Reader(void): Line 58  CalibTrk1Reader::CalibTrk1Reader(void):
58   */   */
59  std::string CalibTrk1Reader::GetVersionInfo(void) const {  std::string CalibTrk1Reader::GetVersionInfo(void) const {
60    return    return
61      "$Header: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $\n";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTrk1Reader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $\n";
62  }  }
63    
64  /**  /**
# Line 79  void CalibTrk1Reader::RunEvent(int Event Line 79  void CalibTrk1Reader::RunEvent(int Event
79      std::stringstream oss;          std::stringstream oss;    
80      char     subData[dataLength];      char     subData[dataLength];
81      int       ERROR;      int       ERROR;
82        memset(subData,  0, dataLength*sizeof(char));
83      InputFile->read(subData, sizeof(unsigned char)*dataLength);      InputFile->read(subData, sizeof(unsigned char)*dataLength);
84    
85      char *data = new char[dataLength];      char *data = new char[dataLength];

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

  ViewVC Help
Powered by ViewVC 1.1.23