Parent Directory | Revision Log | Patch
revision 6.1 by kusanagi, Tue May 30 19:10:02 2006 UTC | revision 6.3 by mocchiut, Fri Sep 29 10:19:29 2006 UTC | |
---|---|---|
# | Line 39 void TrkAlarmReader::Init(PamelaRun *run | Line 39 void TrkAlarmReader::Init(PamelaRun *run |
39 | void TrkAlarmReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){ | void TrkAlarmReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){ |
40 | ||
41 | char subData[length]; | char subData[length]; |
42 | memset(subData, 0, length*sizeof(char)); | |
43 | InputFile->read(subData, sizeof(subData)); | InputFile->read(subData, sizeof(subData)); |
44 | ||
45 | trkAlarm->TrigMask = (subData[0]&0xc0) >> 6; | trkAlarm->TrigMask = (subData[0]&0xc0) >> 6; |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |