From 0410020d27c3debac5878c0b4f788207f6cfd118 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Tue, 17 May 2022 15:11:14 +0200 Subject: [PATCH] Detector: swap two docstrings to their correct functions --- DDCore/include/DD4hep/Detector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDCore/include/DD4hep/Detector.h b/DDCore/include/DD4hep/Detector.h index cf9c65a6d..aa2724048 100644 --- a/DDCore/include/DD4hep/Detector.h +++ b/DDCore/include/DD4hep/Detector.h @@ -258,9 +258,9 @@ namespace dd4hep { virtual Readout readout(const std::string& name) const = 0; /// Retrieve a sensitive detector by it's name from the detector description virtual SensitiveDetector sensitiveDetector(const std::string& name) const = 0; - /// Retrieve a subdetector element by it's name from the detector description - virtual CartesianField field(const std::string& name) const = 0; /// Retrieve a field component by it's name from the detector description + virtual CartesianField field(const std::string& name) const = 0; + /// Retrieve a subdetector element by it's name from the detector description virtual DetElement detector(const std::string& name) const = 0; /// Add a new constant to the detector description -- GitLab