Remove singleton nature from TPC geometry - MpdTpcSectorGeo.h
This is a part of already larger work to unify TPC geometry #114 (closed)
Identified files which are currently using this singleton:
They will be adapted to use geometry by dependency injection through their constructors.
[slavomir@fedora mpdroot]$ grep -rnw '.' -e 'MpdTpcSectorGeo.h'
./detectors/tpc/MpdTpcClusterFinderAZ.cxx:24:#include "MpdTpcSectorGeo.h"
./detectors/tpc/MpdTpcClusterFinderMlem.cxx:25:#include "MpdTpcSectorGeo.h"
./detectors/tpc/MpdTpcDigitizerAZ.cxx:20:#include "MpdTpcSectorGeo.h"
./detectors/tpc/MpdTpcDigitizerAZlt.cxx:20:#include "MpdTpcSectorGeo.h"
./detectors/tpc/MpdTpcHitProducer.cxx:9:#include "MpdTpcSectorGeo.h"
./detectors/tpc/MpdTpcSectorGeo.cxx:6:#include "MpdTpcSectorGeo.h"
./detectors/tpc/clusterHitFinder/AbstractTpcClusterHitFinder.h:23:#include "MpdTpcSectorGeo.h"
./detectors/tpc/clusterHitFinder/TpcClusterHitFinderMlem.cxx:25:#include "MpdTpcSectorGeo.h"
./reconstruction/tracking/lheTrack/MpdTpcKalmanFilter.cxx:9:#include "MpdTpcSectorGeo.h"
./reconstruction/tracking/lheTrack/MpdTpcKalmanFilter.cxx:18:#include "MpdTpcSectorGeo.h"
./reconstruction/tracking/lheTrack/MpdTpcKalmanFilter.h:13:#include "MpdTpcSectorGeo.h"
./reconstruction/tracking/lheTrack/MpdVertexZfinder.cxx:16:#include "MpdTpcSectorGeo.h"
related constructor calls in the rest of the code must be adapted.
Whole change must be tested for reconstruction identity using tools/tdd/detectors/tpc/reco_identity.sh
Edited by Slavomir Hnatic