Allow Exclusion of Auxiliary Detector Module Instantiations
This MR adds the functionality to exclude module instantiations for auxiliary detectors at compile level. For this purpose, a new CMake macro
CORRYVRECKAN_EXCLUDE_AUX(${MODULE_NAME})
is provided that can be placed below the definition of the module in its CMakeLists.txt
file. The macro only affects modules of the type DETECTOR
and results in no module instantiations created for detectors with type aux
or auxiliary
set in the configuration file.
This is handy e.g. for modules like the MaskCreator that operates on pixel data. Please feel free to comment on other modules that should receive this tag.
This MR comes with documentation as well as an extension of the addModule
script for this purpose.