#include <BPhysBlindingTool.h>
- Author
- Wolfgang Walkowiak Wolfg.nosp@m.ang..nosp@m.Walko.nosp@m.wiak.nosp@m.@cern.nosp@m..ch
Dual-use tool for blinding and unblinding certain float values provided as variables in a container.
This tool can be used in two ways:
- As a tool to blind or unblind arbitrary positive float values using doBlind(float val) or doUnblind(float val). For this mode to work only the corresponding key (JO BlindingKey or UnblindingKey) needs to be set.
As a tool to blind a list of variables (VarToBlindNames) for a certain xAOD::VertexContainer's vertices. Since this only works for positive float values, an the values may be scaled by a factor and an offset may be added to the values, specified separately for each variable (BlindingFactors, BlindingOffsets). In addition a negative sign may be added to the resulting blinded value (NegativeSigns) as a convenience. If this tool is used for unblinding the same values for BlindingFactors, BlindingOffsets and NegativeSigns need to be provided. Depending on the mode, the BlindingKey or Unblindingkey need to be set.
@Note: Key pairs may be produced using the createBlindingKeys utility.
Job options:
- BlindingKey Hex string providing the (public) blinding key.
- UnblindingKey Hex string providing the (private) unblinding key.
- VertexContainerName Name of the vertex container to be used
- BlindingFlag Flag to indicate candidates for blinding ("pass_XXXX") Blind values for all candidates if empty.
- VarToBlindNames String with list of float variables to blind (delimiter: .)
- BlindingOffsets Offsets applied to values before blinding List must have same length as VarToBlindNames or zero.
- BlindingFactors Scale factors applied before blinding List must have same length as VarToBlindNames or zero.
- NegativeSigns Flip signs to negative range? List must have same length as VarToBlindNames or zero.
The documentation for this class was generated from the following file: