This MR implements algorithms that allow to dump velo, UT and SciFi hits into CSV files from (X)DIGI files.
This is the equivalent of
PrTrackerDumper for CSV files.
The algorithms are located in
and are meant to be executed using Moore using the configurables in
A general Moore option file is accessible in
The 6 algorithms, as detailed in the table below.
|Dump velo hits
|Dump UT hits
|Dump SciFi hits
|Dump MC particles
AllMCParticles: whether to dump all MC particles
|Dump MC hits
|Dump information about event
PrCSVDumperMCParticles algorithm only dumps the MC particles that have hits in order to save space and time, if the parameter
AllMCParticles is set to
In addition, each algorithm has a parameter
OutputPath that indicates where the CSV file is dumped.
For reference, I have put some updated slides to this MR about the algorithms that are implemented: xdigi2csv_updated.pdf
In order not to repeat
PrTrackerDumper, some functions where added to a
Dumpers/RootDumpers/include/RootDumper/MCTools.h header file so that I can use them in my algorithm.
NB: Note that, unlike PrTrackerDumper, the PrCSVDumperVPHits algorithm uses full clusters instead of light clusters to dump the velo clusters. This decision was made because the MC particle-velo cluster linking uses full clusters as well, making the use of light clusters redundant. Please let me know if there are any issues with this decision.
PS: This is my first contribution and merge request, so please let me know if there are any issues or if I can improve anything. Thank you for taking the time to review this merge request!