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