Possibility to globally bias MeanVertex objects via env.var#15549
Open
shahor02 wants to merge 1 commit into
Open
Possibility to globally bias MeanVertex objects via env.var#15549shahor02 wants to merge 1 commit into
shahor02 wants to merge 1 commit into
Conversation
Following ITS realignment the mean vertex position may change.
To avoid recalibration of the huge amount of MeanVertex objects in the CCDB,
one can globally bias them via env.var O2_DPL_MVBIAS providing the
--configKeyValues-like string for the MeanVertexBiasParam
ConfigurableParam ("mvbias"). E.g.
export O2_DPL_MVBIAS="mvbias.xyz[0]=0.002;mvbias.xyz[1]=-0.12;mvbias.slopeY=0.0005"
will shift all loaded positions by 0.002 cm in X and -0.12 cm in y and increase the
y slope by 0.5mrad.
At the very first call of MeanVertex constructor the bias will be reported as:
root [0] o2::dataformats::MeanVertexObject mv;
[INFO] Mean vertex is biased by: XYZ: 0.0020,-0.1200,0.0000 SlopeXY: 0.000e+00,5.000e-04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following ITS realignment the mean vertex position may change. To avoid recalibration of the huge amount of MeanVertex objects in the CCDB, one can globally bias them via env.var O2_DPL_MVBIAS providing the --configKeyValues-like string for the MeanVertexBiasParam ConfigurableParam ("mvbias"). E.g.
will shift all loaded positions by 0.002 cm in X and -0.12 cm in y and increase the y slope by 0.5mrad.
At the very first call of MeanVertex constructor, the bias will be reported.
Example: