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

Read cal par #29

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

Read cal par #29

wants to merge 3 commits into from

Conversation

jenegger
Copy link

I added this small macro which allows to have an insight into calibration parameters. Usually they are stored as .root files and the parameter values are usually not readable for the user. This minimal macro requests the calibration parameter file (either .par or .root file) and gives as output (either on terminal or redirected on a textfile) all the calibration parameter values stored in the calibration parameter file.

@klenze
Copy link
Contributor

klenze commented Jan 14, 2020

It should be noted that this concerns the CALIFA per-crystal energy calibration parameters.

I think that this macro will be very helpful as a reference to access rtdb parameters in a minimal way. (Note that this is not quite trivial: order matters. First rtdb->getContainer, then rtdb->initContainers, then access the container contents. Any other order will result in just reading the default data instead of the data from the file.)

The maintainers will probably ask you to squash the commits before merging the PR.

@kresan
Copy link
Contributor

kresan commented Sep 15, 2020

@jenegger please rebase and squash the commits

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