10 ,
const int subeventid
13 ,
const int trigger_enabled)
16 m_eventType = eventtype;
17 m_subeventid = subeventid;
18 number_of_ticks = n_ticks;
19 number_of_words = n_words;
48 if (etype != m_eventType )
53 if ( number_of_ticks) usleep ( number_of_ticks);
65 sevt->
sub_id = m_subeventid;
69 int padding = number_of_words%2;
81 sevt->sub_id = m_subeventid;
83 sevt->sub_decoding =
ID4EVT;
84 sevt->reserved[0] = 0;
85 sevt->reserved[1] = 0;
87 sevt->sub_padding = number_of_words%2;
88 sevt->sub_length += number_of_words + sevt->sub_padding;
89 return sevt->sub_length;
99 os <<
"Deadtime Device Event Type: " << m_eventType
100 <<
" n_ticks: " << number_of_ticks <<
" n_words: " << number_of_words;
104 os <<
" ** Trigger enabled";
113 if (etype != m_eventType)
return 0;
115 if ( number_of_words)