64 Int_t index = 0, value = 0, lwords = 0;
65 Int_t *pdata =
nullptr;
69 if( psubevt->GetSubcrate() == 1)
71 pdata=psubevt->GetDataField();
72 lwords= (psubevt->GetDlen() -2) *
sizeof(Short_t)/
sizeof(Int_t);
73 if(lwords >= 8) lwords=8;
74 for(Int_t i = 0; i<lwords; ++i)
79 if((value != 0) && (index >= 0)) {
98 Int_t index = 0, value = 0, lwords = 0;
99 Int_t *pdata =
nullptr;
103 if( psubevt->GetSubcrate() == 2)
105 pdata=psubevt->GetDataField();
106 lwords= (psubevt->GetDlen() -2) *
sizeof(Short_t)/
sizeof(Int_t);
107 if(lwords >= 8) lwords=8;
108 for(Int_t i = 0; i<lwords; ++i)
110 index = *pdata&0xfff;
113 if((value != 0) && (index >= 0)) {
131 Int_t index = 0, value = 0, lwords = 0;
132 Int_t *pdata =
nullptr;
136 if( psubevt->GetSubcrate() == 3)
138 pdata=psubevt->GetDataField();
139 lwords= (psubevt->GetDlen() -2) *
sizeof(Short_t)/
sizeof(Int_t);
140 if(lwords >= 8) lwords=8;
141 for(Int_t i = 0; i<lwords; ++i)
143 index = *pdata&0xfff;
146 if((value != 0) && (index >= 0)) {
void UnpackBranch1(TMeshB1InputEvent *target)
void UnpackBranch3(TMeshB3InputEvent *target)
static void Info(const char *text,...) GO4_PRINTF_ARGS
TGo4MbsSubEvent * NextSubEvent(Bool_t all=kFALSE)
void Unpack(TMeshRawEvent *target)
static void Error(const char *text,...) GO4_PRINTF_ARGS
TGo4EventElement * GetInputEvent()
void UnpackBranch2(TMeshB2InputEvent *target)
virtual ~TMeshUnpackProc()