22 cout <<
"---Dcc Frame Size : " << size <<
" CH : " << ChannelNum() << endl
23 <<
" Ver : " << swversion <<
" pkg type : " << pkgtype << endl
24 <<
" Dcc idx : " << dccindex <<
" Fem idx : " << femindex << endl
25 <<
" Fem Type: " << msgtype <<
" Evt cnt : " << femecnt << endl;
27 cout <<
"fe:" << fecerror
29 <<
"L:" << lostsynch << endl;
33 cout << hex <<
" Zero Suppression : " <<
compress <<
" Args1 : " << arg1
34 <<
" Arg2 : " << arg2 << endl
35 <<
" Time Stamp : " << dec << timestamp << endl;
37 cout <<
" Fem Evt Type : " << evttype <<
" Evt cnt : " << evtcnt << endl;
45 cout <<
"Frame adress : " <<
this << endl;
55 UShort_t arg1,UShort_t arg2,
56 UShort_t *fec,UShort_t *asic,
57 UShort_t *channel)
const
61 *fec = (10*(arg1%6)/2 + arg2)/4;
62 *asic = (10*(arg1%6)/2 + arg2)%4;
64 if ((*fec > 5) || (*asic > 3))
68 *channel = (arg1 - 4) / 6;
71 else if (fec_per_fem == 1)
74 *asic = (arg1%6) + arg2;
77 else if (fec_per_fem == 4)
79 *fec = (6*(arg1%6)/2 + arg2)/4;
80 *asic = (6*(arg1%6)/2 + arg2)%4;
97 return (a*(72+4) + (c-3));
104 size(0),swversion(0),pkgtype(0),dccindex(0),femindex(0),msgtype(0),
105 femecnt(0),fecerror(0),synchfail(0),lostsynch(0),readmode(0),
compress(0),
106 arg1(0),arg2(0),timestamp(0),evttype(0),evtcnt(0),chwdcnt(0),
107 dccHeader(NULL),dccData(NULL),dccTrailer(NULL)
Int_t Arg12ToFecAsicChannel(UShort_t fec_per_fem, UShort_t arg1, UShort_t arg2, UShort_t *fec, UShort_t *asic, UShort_t *channel) const
A generic class for HARPO datectors The class is ....
void reset()
reset - clear all fields
static UShort_t FecPerFem
UInt_t size
reset - clear all fields