Skip to content

Read cal par#29

Open
jenegger wants to merge 3 commits intoR3BRootGroup:masterfrom
jenegger:read_cal_par
Open

Read cal par#29
jenegger wants to merge 3 commits intoR3BRootGroup:masterfrom
jenegger:read_cal_par

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

Comments