You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REve operate like any ROOT based GUI program, using a TApplication setup.
The issue is that I want to enter information in the GUI text field. The display manager( which is added here: https://github.com/Mu2e/REve/blob/main/src/REveEventDisplay_module.cc#L466) sets up the text boxes on the display and takes input from the user...I want to use that information in the module (e.g. for event selection, time cuts, energy cuts, things like that).
So here is the current situation:
https://github.com/Mu2e/REve/blob/main/src/EventDisplayManager.cc#L41 is where the event display takes in the user input (here we assume a run and event number is what the user is asking for, it could be anything). This works, the print statments you see return the user input values.
Hi Kyle, at this point I want to either really. But the usecase is more general than that....the usecase of user input via GUI can be applied to anything for example, it could be a time or energy cut, we could be asking for a specific track to be shown etc....so its not just about solving the "go to an event" use case here
Describe your request or issue
Hello,
i'm currently developing the REveMu2e framework for our event display: https://github.com/Mu2e/REve .
we currently have this module: https://github.com/Mu2e/REve/blob/main/src/REveEventDisplay_module.cc which launches a two-threaded process. This is to allow the application to stay open, pause for user input and skip between events.
REve operate like any ROOT based GUI program, using a TApplication setup.
The issue is that I want to enter information in the GUI text field. The display manager( which is added here: https://github.com/Mu2e/REve/blob/main/src/REveEventDisplay_module.cc#L466) sets up the text boxes on the display and takes input from the user...I want to use that information in the module (e.g. for event selection, time cuts, energy cuts, things like that).
So here is the current situation:
I think the reason is this:
https://github.com/Mu2e/REve/blob/main/src/REveEventDisplay_module.cc#L268
which sets up the function where I'm trying access that value and the function which makes. the display object in different threads.
My query is, what would be the best way to pass the value (e.g. run number) from the display class to the event class such that I can use it?
Is this a high-priority issue?
The text was updated successfully, but these errors were encountered: