Skip to content

Read trigger mode field and adjust options accordingly #30

@coderdj

Description

@coderdj

There is a trigger mode field in the runs db. Looks like:

        run['trigger']['mode'] = string field

Wax should use this mode field to decide what type of data is being written by the run and adjust itself accordingly.

Right now we want three modes for testing:

  • 'bern_test_daq' - Normal peak finding. Data is usually NaI pulses.
  • 'bern_test_led' - No peak finding. Triggered data. Group occurrences that come at the same time and shovel them to the output. If that's difficult you don't even have to group occurrences at the moment (will talk to LED group later what they want data to look like).
  • 'bern_test_off' - Don't look for a run in the buffer DB. There isn't one. We're testing something that doesn't need the event builder but will still put an entry in the runs DB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions