Refactored output plugin and added proper MC truth info to hits
- Refactored output plugin for better readability (this is almost a complete rewrite)
- Better const-correctness
- Add mutex locks to prepare for MT operation
- Added optional VectorMember to calorimeter hits to allow exporting all truth info (off by default)
- Now properly translate trackID into appropriate mcparticles index to allow hit --> particle mapping
Edited by Sylvester Joosten