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

Diff of /yoda/techmodel/PhysicsReader.cpp

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

revision 6.2 by pam-rm2, Wed Aug 23 14:39:44 2006 UTC revision 6.3 by mocchiut, Fri Sep 29 10:19:25 2006 UTC
# Line 1  Line 1 
1      /** @file      /** @file
2   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/PhysicsReader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/PhysicsReader.cpp,v $
3   * $Id: PhysicsReader.cpp,v 6.0 2006/02/07 17:11:10 kusanagi Exp $   * $Id: PhysicsReader.cpp,v 6.2 2006/08/23 14:39:44 pam-rm2 Exp $
4   * $Author: kusanagi $   * $Author: pam-rm2 $
5   *   *
6   * Implementation of the LogReader class.   * Implementation of the LogReader class.
7  * ToBeDone:  * ToBeDone:
# Line 54  PhysicsReader::PhysicsReader(void): Line 54  PhysicsReader::PhysicsReader(void):
54   */   */
55  std::string PhysicsReader::GetVersionInfo(void) const {  std::string PhysicsReader::GetVersionInfo(void) const {
56    return    return
57      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/PhysicsReader.cpp,v 6.0 2006/02/07 17:11:10 kusanagi Exp $\n";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/PhysicsReader.cpp,v 6.2 2006/08/23 14:39:44 pam-rm2 Exp $\n";
58  }  }
59    
60  /**  /**
# Line 79  void PhysicsReader::Init(PamelaRun *run) Line 79  void PhysicsReader::Init(PamelaRun *run)
79   */   */
80  void PhysicsReader::RunEvent(int EventNumber, long int dataLenght) throw (Exception){  void PhysicsReader::RunEvent(int EventNumber, long int dataLenght) throw (Exception){
81      char *subData = new char[dataLenght];      char *subData = new char[dataLenght];
82        memset(subData,  0, dataLenght*sizeof(char));
83      InputFile->read(subData, sizeof(unsigned char)*dataLenght);      InputFile->read(subData, sizeof(unsigned char)*dataLenght);
84    
85      /*-----------------*/      /*-----------------*/

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

  ViewVC Help
Powered by ViewVC 1.1.23