Implement Malta2TreeWriterModule
The Malta2TreeWriterModule should save the output from the AllPix2 simulation in the same format as the telescope software. This will allow the same reconstruction/analysis software to be used for the simulation as for real data.
The priority for this task is high, as it is the fastest way to a plot that can be easily compared with existing data. The work towards this has already started via:
-
telescope_sim.confallpix2 steering file that setups a copy of the telescope. A linear field is used for now. -
Malta2TreeWriterModuleskeleton that implements an emptyMalta2TreeTTree.
Examples on getting the simulation information from allpix2 are either:
- DetectorHistogrammer for a "detector specific" module.
- ROOTObjectWriterModule for a "unique" (global) module.
The chose of which to follow depends on if Malta2 DAQ software stores all planes in a single TTree or in multiple.