\(\renewcommand\AA{\unicode{x212B}}\)

AndMD v1

../_images/ImageNotFound.png

Enable screenshots using DOCS_SCREENSHOTS in CMake

Summary

Perform the And boolean operation on two MDHistoWorkspaces

See Also

XorMD, OrMD, NotMD

Properties

Name

Direction

Type

Default

Description

LHSWorkspace

Input

IMDWorkspace

Mandatory

An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the left-hand side of the operation.

RHSWorkspace

Input

IMDWorkspace

Mandatory

An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the right-hand side of the operation.

OutputWorkspace

Output

IMDWorkspace

Mandatory

Name of the output MDEventWorkspace or MDHistoWorkspace.

Description

Perform the And boolean operation on two MDHistoWorkspaces. The & operation is performed element-by-element. A signal of 0.0 or a masked bin means “false” and any non-zero signal is “true”.

Categories: AlgorithmIndex | MDAlgorithms\MDArithmetic

Source

C++ header: AndMD.h

C++ source: AndMD.cpp