From 501c1868d640ab9fc03874588d7a33878677efba Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Thu, 29 Feb 2024 13:52:43 +0100
Subject: [PATCH] Adape documentation for Tube(...) constructor to reality.
 (Issue https://github.com/AIDASoft/DD4hep/issues/1236)

---
 doc/usermanuals/DD4hep/chapters/basics.tex | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/usermanuals/DD4hep/chapters/basics.tex b/doc/usermanuals/DD4hep/chapters/basics.tex
index ab25d6e47..3daf1ebc9 100644
--- a/doc/usermanuals/DD4hep/chapters/basics.tex
+++ b/doc/usermanuals/DD4hep/chapters/basics.tex
@@ -830,15 +830,15 @@ std::vector<double> zPlaneRmax() const;
 
 \item \texttt{TubeSegment} shape represented by the \tgeo{TGeoTubeSeg}{\texttt TGeoTubeSeg} class. To create a new tube segment object call one of the following constructors:
 \begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos,fontsize=\small]{c++}
-Tube(double rmin, double rmax, double z, double deltaPhi=2*M_PI)
-Tube(double rmin, double rmax, double z, double startPhi, double deltaPhi)
+Tube(double rmin, double rmax, double z, double endPhi=2*M_PI)
+Tube(double rmin, double rmax, double z, double startPhi, double endPhi)
 
-template<typename RMIN, typename RMAX, typename Z, typename DELTAPHI>
-Tube(const RMIN& rmin, const RMAX& rmax, const Z& z, const DELTAPHI& deltaPhi)  
+template<typename RMIN, typename RMAX, typename Z, typename ENDPHI>
+Tube(const RMIN& rmin, const RMAX& rmax, const Z& z, const ENDPHI& endPhi)  
 
-template<typename RMIN, typename RMAX, typename Z, typename STARTPHI, typename DELTAPHI>
+template<typename RMIN, typename RMAX, typename Z, typename STARTPHI, typename ENDPHI>
 Tube(const std::string& name, const RMIN& rmin, const RMAX& rmax, const Z& z, 
-     const STARTPHI& startPhi, const DELTAPHI& deltaPhi)  
+     const STARTPHI& startPhi, const ENDPHI& endPhi)  
 
 /// Accessor: start-phi value
 double startPhi() const;
-- 
GitLab