1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/CalibTofReader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTofReader.cpp,v $ |
3 |
* $Id: CalibTofReader.cpp,v 6.1 2006/05/30 19:10:01 kusanagi Exp $ |
* $Id: CalibTofReader.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. |
29 |
*/ |
*/ |
30 |
std::string CalibTofReader::GetVersionInfo(void) const { |
std::string CalibTofReader::GetVersionInfo(void) const { |
31 |
return |
return |
32 |
"$Header: /home/cvsmanager/yoda/techmodel/CalibTofReader.cpp,v 6.1 2006/05/30 19:10:01 kusanagi Exp $\n"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/CalibTofReader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $\n"; |
33 |
} |
} |
34 |
|
|
35 |
/** |
/** |
47 |
*/ |
*/ |
48 |
void CalibTofReader::RunEvent(int EventNumber, long int dataLength) throw (Exception){ |
void CalibTofReader::RunEvent(int EventNumber, long int dataLength) throw (Exception){ |
49 |
char subData[dataLength]; |
char subData[dataLength]; |
50 |
|
memset(subData, 0, dataLength*sizeof(char)); |
51 |
InputFile->read(subData, sizeof(subData)); |
InputFile->read(subData, sizeof(subData)); |
52 |
calibTof->calibTofData = new TArrayC(dataLength, subData); |
calibTof->calibTofData = new TArrayC(dataLength, subData); |
53 |
} |
} |