/[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 2.0 by kusanagi, Tue Sep 21 20:50:54 2004 UTC revision 2.1 by kusanagi, Fri Dec 3 22:08:01 2004 UTC
# Line 1  Line 1 
1      /** @file      /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/PhysicsReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/PhysicsReader.cpp,v $
3   * $Id: PhysicsReader.cpp,v 1.9 2004/09/21 20:24:33 kusanagi Exp $   * $Id: PhysicsReader.cpp,v 2.0 2004/09/21 20:50:54 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the LogReader class.   * Implementation of the LogReader class.
# Line 48  PhysicsReader::PhysicsReader(void): Line 48  PhysicsReader::PhysicsReader(void):
48   */   */
49  std::string PhysicsReader::GetVersionInfo(void) const {  std::string PhysicsReader::GetVersionInfo(void) const {
50    return    return
51      "$Header: /home/cvsmanager/yoda/techmodel/PhysicsReader.cpp,v 1.9 2004/09/21 20:24:33 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/PhysicsReader.cpp,v 2.0 2004/09/21 20:50:54 kusanagi Exp $\n";
52  }  }
53    
54  /**  /**
# Line 68  void PhysicsReader::Init(PamelaRun *run) Line 68  void PhysicsReader::Init(PamelaRun *run)
68  /**  /**
69   * Unpack the Physics event from an input file.   * Unpack the Physics event from an input file.
70   */   */
71  void PhysicsReader::RunEvent(int EventNumber, long int dataLenght) {  void PhysicsReader::RunEvent(int EventNumber, long int dataLenght) throw (Exception){
72      char *subData = new char[dataLenght];      char *subData = new char[dataLenght];
73      InputFile->read(subData, sizeof(unsigned char)*dataLenght);      InputFile->read(subData, sizeof(unsigned char)*dataLenght);
74    

Legend:
Removed from v.2.0  
changed lines
  Added in v.2.1

  ViewVC Help
Powered by ViewVC 1.1.23