Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added the option to return the full waveform #34

Open
wants to merge 59 commits into
base: caribou
Choose a base branch
from

Conversation

lhuth
Copy link

@lhuth lhuth commented Jun 30, 2022

For now, this is a hacky approach to reading the full waveform to corry. On the longer term I'd like to improve this... but for now it works as long as one configures the EventLoaderEUDAQ2 correctly. Compare https://gitlab.cern.ch/corryvreckan/corryvreckan/-/merge_requests/535

simonspa and others added 30 commits February 4, 2022 12:15
…gured but no DAQ ist started and no readout is attempted.
AD: Fixed `ts_i` reset condition.
@simonspa
Copy link
Owner

simonspa commented Aug 8, 2022

This needs updating since we have waveform support in StandardPlane now. @lhuth I'll leave this down for reference anyway, feel free to use this PR for updates.

@lhuth
Copy link
Author

lhuth commented Aug 8, 2022

Aye - I'll take care of it later (or tomorrow)

@simonspa
Copy link
Owner

63 changed files? Seems odd. Could you make sure to use my latest caribou branch and add towards that?

@lhuth
Copy link
Author

lhuth commented Aug 10, 2022

I assumed that this will change after you update your branch :) I'll check again...

@lhuth
Copy link
Author

lhuth commented Aug 10, 2022

🚀

@simonspa
Copy link
Owner

  • Mind documenting the parameter in the README?
  • Mind fixing the formatting a bit?

@lhuth
Copy link
Author

lhuth commented Aug 10, 2022

Autoformatting was mindblowing :)...

Readme is updated...

* `threshold_low`: Threshold in ADC counts to add to a cluster with a seed hit with a charge above `threshold_trig`. Defaults to 101
* `use_time_stamp`: Defines if a time stamp is added to the event. Defaults to `false`
* "use_waveform": Copy the full waveform with a pixel hit. If set, `threshold_trig` and `threshold_low` are ignored. Defaults to `false`
* `wavefrom_filename`: Name of a potential file to txt dump the waveforms. Defaultts to "".
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wavefrom_filename -> waveform_filename
Defaultts -> Defaultts

Add that waveform files are only written if filename is not empty.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and single backticks around use_waveform

@simonspa simonspa force-pushed the caribou branch 2 times, most recently from bccd51c to f7b6f9b Compare November 8, 2022 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants