19 unsigned short* bemcData();
20 unsigned short* eemcData();
21 unsigned short bemcIn()
const;
22 unsigned short eemcIn()
const;
24 void setHeader(
const char*);
25 void setTriggerData(
char*);
26 void setBemcData(
unsigned short*);
27 void setEemcData(
unsigned short*);
29 friend istream& operator>>(istream& in,
JanEvent& event);
30 friend ostream& operator<<(ostream& out,
const JanEvent& event);
33 unsigned int mLength[4];
35 char mTriggerData[20232];
36 unsigned short mBemcData[4800];
37 unsigned short mEemcData[960];
40 inline char* JanEvent::header() {
return mHeader; }
41 inline char* JanEvent::triggerData() {
return mTriggerData; }
42 inline unsigned short* JanEvent::bemcData() {
return mBemcData; }
43 inline unsigned short* JanEvent::eemcData() {
return mEemcData; }
44 inline unsigned short JanEvent::bemcIn()
const {
return mLength[2] > 0; }
45 inline unsigned short JanEvent::eemcIn()
const {
return mLength[3] > 0; }