Thanks a lot for adding this feature and spending your time for Ftf Direct!
I tried to run small test, but for some reason FtfEvtGen is not complied by default. I added it manually in CMakeLists, recompiled the pandaroot and in new attempt to run the macro I got following error:
dlopen error: /home/karavdin/pandaroot13/buildPanda/lib/libFtfGenDirect.so: undefined symbol: aDynamicParticleAllocator
Load Error: Failed to load Dynamic link library /home/karavdin/pandaroot13/buildPanda/lib/libFtfGenDirect.so
Error in <TCint::AutoLoadCallback>: failure loading library FtfGenDirect for class PndFtfDirect
Do you maybe have idea how to fix it?