Your version of “Analysis.h” (the “leaf types”) does not correspond to your “Analysis” tree.
I guess you get a SIGSEGV because you try to access a NULL pointer.
Try something like (note: some Valgrind functionality requires that the source code, that you want to analyse, is compiled with debug symbols):
valgrind --tool=memcheck --leak-check=full [--show-reachable=yes] [--track-origins=yes] [--num-callers=50] [--vgdb=full] --suppressions=`root-config --etcdir`/valgrind-root.supp `root-config --bindir`/root.exe -l -q 'YourMacro.cxx[++g][(Any, Parameters, You, Need)]'
valgrind --tool=exp-sgcheck [--num-callers=50] [--vgdb=full] --suppressions=`root-config…