Back Midas Rome Roody Rootana
  Root Analyzer Framework  Not logged in ELOG logo
Entry  04 Apr 2023, Marius Koeppel, Suggestion, Python Plotting 
    Reply  04 Apr 2023, Stefan Ritt, Suggestion, Python Plotting 
       Reply  04 Apr 2023, Marius Koeppel, Suggestion, Python Plotting 
          Reply  04 Apr 2023, Stefan Ritt, Suggestion, Python Plotting 
             Reply  04 Apr 2023, Marius Koeppel, Suggestion, Python Plotting 
                Reply  04 Apr 2023, Marius Koeppel, Suggestion, Python Plotting Cheese_Tue-04Apr23_18.02.png
                   Reply  04 Apr 2023, Stefan Ritt, Suggestion, Python Plotting 
                   Reply  04 Apr 2023, Stefan Ritt, Suggestion, Python Plotting Screenshot_2023-04-04_at_18.53.04.png
                Reply  05 Apr 2023, Stefan Ritt, Suggestion, Python Plotting 
                   Reply  05 Apr 2023, Marius Koeppel, Suggestion, Python Plotting1 
                      Reply  05 Apr 2023, Stefan Ritt, Suggestion, Python Plotting1 
                         Reply  15 Jun 2023, Marius Koeppel, Suggestion, Python Plotting1 
                            Reply  15 Jun 2023, Stefan Ritt, Suggestion, Python Plotting1 
Message ID: 55     Entry time: 04 Apr 2023     In reply to: 54     Reply to this: 56   57
Author: Marius Koeppel 
Topic: Suggestion 
Subject: Python Plotting 
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


 
Attachment 1: Cheese_Tue-04Apr23_18.02.png  65 kB  Uploaded 04 Apr 2023  | Show | Show all
ELOG V3.1.4-2e1708b5