Rework cluster / hit branches.
Rework cluster and hit branches. These are the most important changes:
-
Added CbmContainer class. Acts as a wrapper around std::vector by default. Optionally allows to store auxilliary info alongside data if needed (e.g. CbmMatch, digis of a cluster, ...). Also can seperate data into sections, where each section has a seperate address. Thus the address does not have to be stored in the datastructure itself.
-
Changed Sts, Trd, Tof, Rich, Mvd, Much cluster and hit branches to type CbmContainer
-
Removed inheritance from TObject and vtable from CbmCluster and CbmHit base classes
-
Further optimized StsHit and StsCluster:
- Both no longer inherit from CbmCluster or CbmHit
- All fields that are not required for reconstruction have been moved into seperated classes StsHitAux, StsClusterAux
- Addresses are now stored in header of respective containers not the class itself.
Marked as draft for now. I expect some problems with the CI and there are still some minor things I want to change.
Edited by Felix Weiglhofer