27 virtual const dd4hep::Detector*
GetDD4hepGeo() {
return m_dd4hepGeo; };
32 virtual std::shared_ptr<richgeo::ReadoutGeo>
GetReadoutGeo(std::string detector_name,
33 std::string readout_class);
37 void acquire_services(JServiceLocator*)
override;
39 std::mutex m_init_lock;
40 std::map<std::string, std::once_flag> m_init_irt;
41 std::map<std::string, std::once_flag> m_init_acts;
42 std::map<std::string, std::once_flag> m_init_readout;
44 const dd4hep::Detector* m_dd4hepGeo =
nullptr;
45 const dd4hep::rec::CellIDPositionConverter* m_converter =
nullptr;
48 std::shared_ptr<richgeo::ReadoutGeo> m_readoutGeo;
50 std::shared_ptr<spdlog::logger> m_log;