41 |
*/ |
*/ |
42 |
void CalibCalReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ |
void CalibCalReader::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 |
calibCal->calibCalData = new TArrayC(dataLength, subData); |
calibCal->calibCalData = new TArrayC(dataLength, subData); |
47 |
} |
} |