1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTrk2Reader.cpp,v $ |
3 |
* $Id: CalibTrk2Reader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $ |
* $Id: CalibTrk2Reader.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. |
58 |
*/ |
*/ |
59 |
std::string CalibTrk2Reader::GetVersionInfo(void) const { |
std::string CalibTrk2Reader::GetVersionInfo(void) const { |
60 |
return |
return |
61 |
"$Header: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $\n"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTrk2Reader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $\n"; |
62 |
} |
} |
63 |
|
|
64 |
/** |
/** |
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 |
char *data = new char[dataLength]; |
char *data = new char[dataLength]; |
85 |
memcpy(data, subData, dataLength); |
memcpy(data, subData, dataLength); |