From 8fd724c6336b0a8c314d4f234c97551574ec3ede Mon Sep 17 00:00:00 2001 From: Chengdong Fu <fucd@ihep.ac.cn> Date: Tue, 26 Oct 2021 16:53:25 +0800 Subject: [PATCH] add unit information --- Simulation/DetSimSD/include/DetSimSD/DDG4SensitiveDetector.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Simulation/DetSimSD/include/DetSimSD/DDG4SensitiveDetector.h b/Simulation/DetSimSD/include/DetSimSD/DDG4SensitiveDetector.h index b4084be5..687771e3 100644 --- a/Simulation/DetSimSD/include/DetSimSD/DDG4SensitiveDetector.h +++ b/Simulation/DetSimSD/include/DetSimSD/DDG4SensitiveDetector.h @@ -52,7 +52,9 @@ public: // from the current sensitive volume to the world volume virtual long long getCellID(const G4Step* step); - // Returns the position of center of cell + // Returns the position of center of cell, according cell ID + // if cellID not set, getCellID(step) will be invoke + // unit mm virtual dd4hep::Position getNominalPosition(const G4Step* step, const long long cellID=0); protected: -- GitLab