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

[ZDC] bug fix and plot addition #2484

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stefan-zugravel
Copy link

-> FIXED - bug that hard-coded two configuration parameter
-> ADDED - ADC and TDC plots with a cut
-> ADDED - centroid plot with cut
-> ADDED - axis label on SIGNAL plots
-> ADDED - rate histogram for trending plot

if (ih < (int)fMatrixHistoCounts_a[mod][ch].size()) {
getObjectsManager()->startPublishing(fMatrixHistoCounts_a[mod][ch].at(ih).histo);
try {
getObjectsManager()->addMetadata(fMatrixHistoCounts_a[mod][ch].at(ih).histo->GetName(), fMatrixHistoCounts_a[mod][ch].at(ih).histo->GetName(), "34");
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this ?

Copy link
Author

Choose a reason for hiding this comment

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

It is the same code used in line 965.
We want to use the histograms of type COUTSA to generate a trending plot of the rate during a run.
The difference between COUTS and COUTSA is the the second want is zeroed at each cycle and thus provides an estimate of the instantaneous rate and not the average one.

@stefan-zugravel
Copy link
Author

Resolved the clang-format issue and updated the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants