1 #include "l3TrgReader.h"
2 #include "trgStructures.h"
8 int l3TrgReader::readV21(
void *buffer)
12 bunchXing_hi = swap32(trg->EvtDesc.bunchXing_hi);
13 bunchXing_lo = swap32(trg->EvtDesc.bunchXing_lo);
15 token = swap16(trg->EvtDesc.TrgToken);
16 triggerWord = swap16(trg->EvtDesc.TriggerWord);
17 physicsWord = swap16(trg->EvtDesc.physicsWord);
19 memcpy(ZDC, trg->rawTriggerDet[0].ZDC, 16);
20 memcpy(CTB, trg->rawTriggerDet[0].CTB, 256);
22 l2Result = swap32(trg->TrgSum.L2Sum[0]);