diff --git a/ACTSTracking/ACTSProcBase.hxx b/ACTSTracking/ACTSProcBase.hxx index ad939c2..39f81c7 100644 --- a/ACTSTracking/ACTSProcBase.hxx +++ b/ACTSTracking/ACTSProcBase.hxx @@ -63,6 +63,9 @@ class ACTSProcBase : public marlin::Processor { //! Path to tracker geometry file std::string _tgeoFile{}; + //! Path to tracker geometry configuration + std::string _tgeoJson{}; + std::shared_ptr geoIDMappingTool() const; const Acts::MagneticFieldContext& magneticFieldContext() const; diff --git a/src/ACTSProcBase.cxx b/src/ACTSProcBase.cxx index 0cba549..df368b2 100644 --- a/src/ACTSProcBase.cxx +++ b/src/ACTSProcBase.cxx @@ -33,6 +33,8 @@ ACTSProcBase::ACTSProcBase(const std::string& procname) : Processor(procname) { _matFile, std::string("")); registerProcessorParameter("TGeoFile", "Path to the tracker geometry file.", _tgeoFile, std::string("")); + registerProcessorParameter("TGeoJson", "Path to the tracker geometry configuration.", + _tgeoJson, std::string("")); } std::shared_ptr ACTSProcBase::geoIDMappingTool() const {