38 |
*/ |
*/ |
39 |
void S4InitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ |
void S4InitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ |
40 |
char subData[dataLength]; |
char subData[dataLength]; |
41 |
|
memset(subData, 0, dataLength*sizeof(char)); |
42 |
InputFile->read(subData, sizeof(subData)); |
InputFile->read(subData, sizeof(subData)); |
43 |
s4Init->s4InitData = new TArrayC(dataLength, subData); |
s4Init->s4InitData = new TArrayC(dataLength, subData); |
44 |
} |
} |