1 |
/** @file |
/** @file |
2 |
* $Author: mocchiut $ |
* $Author: mocchiut $ |
3 |
* $Date: 2006/09/29 10:19:22 $ |
* $Date: 2006/11/13 11:45:49 $ |
4 |
* $Revision: 6.9 $ |
* $Revision: 6.10 $ |
5 |
* |
* |
6 |
* Implementation of the functions of a sample Algorithm class. |
* Implementation of the functions of a sample Algorithm class. |
7 |
* This file can be used as a templace to develop your own algorithm. |
* This file can be used as a templace to develop your own algorithm. |
87 |
*/ |
*/ |
88 |
std::string EventReader::GetVersionInfo(void) const { |
std::string EventReader::GetVersionInfo(void) const { |
89 |
return |
return |
90 |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/EventReader.cpp,v 6.9 2006/09/29 10:19:22 mocchiut Exp $\n"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/EventReader.cpp,v 6.10 2006/11/13 11:45:49 mocchiut Exp $\n"; |
91 |
} |
} |
92 |
|
|
93 |
/** |
/** |
120 |
stringstream oss; |
stringstream oss; |
121 |
int step = 0; |
int step = 0; |
122 |
const PacketType* type; |
const PacketType* type; |
123 |
while (!InputFile->eof() && ((step++ < maxPackets) || (maxPackets == 0))){ |
while (InputFile->good() && !InputFile->eof() && ((step++ < maxPackets) || (maxPackets == 0))){ |
124 |
try { |
try { |
125 |
if (FindStart()) { |
if (FindStart()) { |
126 |
UnpackPscuHeader(); |
UnpackPscuHeader(); |