| 50 |
/** |
/** |
| 51 |
* Unpack the AcInit event from an input file. |
* Unpack the AcInit event from an input file. |
| 52 |
*/ |
*/ |
| 53 |
void NdInitReader::RunEvent(int EventNumber, long int length) { |
void NdInitReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){ |
| 54 |
|
/* |
| 55 |
|
rec = new NeutronRecord(); //aggiungo un nuovo NeutronRecord all'evento |
| 56 |
|
rec->upperTrig = (((BYTE)data[lenght-offset])>>4); |
| 57 |
|
rec->bottomTrig = (((BYTE)data[lenght-offset])&0x0F); |
| 58 |
|
rec->upperBack = (((BYTE)data[lenght-offset+1])>>4); |
| 59 |
|
rec->bottomBack = (((BYTE)data[lenght-offset+1])&0x0F); |
| 60 |
|
*/ |
| 61 |
} |
} |
| 62 |
|
|