Hi,
I have now a mini working setup to get the events from the new buffer:
TEST(Analyzer, GetBuffer)
{
INT status, request_id;
HNDLE hBufEvent;
INT EVENT_BUFFER_SIZE = 10000 * (1 << 25);
status = cm_connect_experiment("", "Mu3e", "Simple Analyzer", NULL);
if (status != CM_SUCCESS)
ASSERT_TRUE(false);
bm_open_buffer("ANALYZER", EVENT_BUFFER_SIZE, &hBufEvent);
bm_request_event(hBufEvent, 1, TRIGGER_ALL, GET_ALL, &request_id, process_event);
cm_disconnect_experiment();
ASSERT_TRUE(true);
}
For sending the events I am not sure how to do this in the correct way. Since all the methods like bk_init etc. require some kind of frontend logic. Is there an easy way to create a MIDAS event without having a frontend?
Also when I created the new buffer I saw that there is no option to create an uint ODB entry (see file).
Best,
Marius
|