41 |
*/ |
*/ |
42 |
void CalibTrkBothReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ |
void CalibTrkBothReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ |
43 |
char subData[dataLength]; |
char subData[dataLength]; |
44 |
|
memset(subData, 0, dataLength*sizeof(char)); |
45 |
InputFile->read(subData, sizeof(subData)); |
InputFile->read(subData, sizeof(subData)); |
46 |
calibTrkBoth->calibTrkBothData = new TArrayC(dataLength, subData); |
calibTrkBoth->calibTrkBothData = new TArrayC(dataLength, subData); |
47 |
} |
} |