Skip to content

ZDC: change bool storage type to char

The decoration centroidEventValid in container ZdcSums is currently stored with type bool. Boolean types are implicitly converted to char to save disk space. This is causes an error when executing algorithms ZdcRecRun3 and ZdcNtuple separately (i.e., when variables are stored on disk between executions):

AnalysisAlg         ERROR SG::ExcAuxTypeMismatch: Type mismatch for aux variable `::centroidEventValid' (330); old type is char new type is bool.  Old allocator type is std::allocator<char> new allocator type is std::allocator<bool>

This merge request changes the storage type of centroidEventValid from bool to char and solves this problem.

Merge request reports