| 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. |
| 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 |
/** |
/** |
| 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 |
|
|