User Tools

Site Tools


latex:tikz:decay_planes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
latex:tikz:decay_planes [2018/06/23 13:08] – created iwnlatex:tikz:decay_planes [2021/10/02 08:53] (current) iwn
Line 7: Line 7:
 </WRAP></WRAP> </WRAP></WRAP>
  
-Example of drawing decay planes with LaTeX using the TikZ package.+Example of drawing decay planes with LaTeX using the TikZ package. For more, please visit https://tikz.net/category/physics/particle-physics/.
  
 <file python decay_planes.tex> <file python decay_planes.tex>
Line 41: Line 41:
 %                         PD________________PC %                         PD________________PC
 % %
- 
- 
- 
-% FALSE PERSPECTIVE - Higgs to tau lepton pair 
-\small 
-\tdplotsetmaincoords{90}{90} % look straight at yz plane  
-\begin{tikzpicture}[tdplot_main_coords,scale=0.85] 
- 
-  \def\W{5} 
-  \def\w{2.5} 
-  \def\R{0.7} 
-   
-  \coordinate (A)  at (0,-\W, 0); 
-  \coordinate (O)  at (0,  0, 0); 
-  \coordinate (B)  at (0, \W, 0); 
- 
-  \coordinate (P1) at (0,  0,   2); 
-  \coordinate (P2) at (0, \W,   2); 
-  \coordinate (P3) at (0, \W,  -2); 
-  \coordinate (P4) at (0,  0,  -2); 
-  \coordinate (P0) at (0, \w,   0); 
-  \coordinate (F1) at (0,3.5, 1.5); 
-  \coordinate (F2) at (0,1.5,-1.5); 
-   
-  \coordinate (phi) at (0,0,1.3); 
-     
-  \begin{scope}[xslant=-0.4,yscale=0.8] 
-    \coordinate (Q1) at (0, -\W,   2); 
-    \coordinate (Q2) at (0,   0,   2); 
-    \coordinate (Q3) at (0,   0,  -2); 
-    \coordinate (Q4) at (0, -\W,  -2); 
-    \coordinate (Q0) at (0, -\w,   0); 
-    \coordinate (F3) at (0,-3.3, 1.5); 
-    \coordinate (F4) at (0,-1.7,-1.5); 
-  \end{scope} 
- 
-  % plane 2 
-  \draw[thick]   
-        (Q1) %node at (Q1) {Q1} 
-     -- (Q2) %node at (Q2) {Q2} 
-     -- (Q3) %node at (Q3) {Q3} 
-     -- (Q4) %node at (Q4) {Q4} 
-     -- (Q1); 
-   
-  % plane 1 - filled white 
-  \fill[color=white,thick,draw=black] 
-        (P1) -- (P2) -- (P3) -- (P4) -- cycle; 
-     
-  % plane 2 - dashes corner 
-  \draw[dashed,thick] (Q2) -- (Q3) -- (Q4); 
-      
-  % axis and arrows 
-  \draw[dashed,thick] 
-    (A)  -- (Q0); 
-  \draw[dashed,thick] 
-    (B)  -- (P0); 
-  \draw[thick,->] 
-    (O)  -- node[red,below=-2pt]       {$\tau^+$} (P0); 
-  \draw[thick,->] 
-    (O)  -- node[red,below right=-2pt] {$\tau^-$} (Q0); 
-  \draw[thick,->] 
-    (P0) -- node[red,above left=-2pt]  {$\pi^+$} (F1); 
-  \draw[thick,dotted,->] 
-    (P0) -- node[red,below right=-1pt] {$\nu_\tau$} (F2); 
-  \draw[thick,->] 
-    (Q0) -- node[red,above right=-1pt] {$\pi^-$} (F3); 
-  \draw[thick,dotted,->] 
-    (Q0) -- node[red,below left=-2pt]  {$\overline{\nu}_\tau$} (F4); 
-   
-  % dots 
-  \fill[blue] (O) circle [radius=4pt]; 
-    \node [above=8pt,right=1pt,blue] at (O) {H}; % needs extra package 
-  %\fill (P0) circle [radius=2pt]; 
-  %\fill (Q0) circle [radius=2pt]; 
-   
-  % angles 
-  \draw[canvas is yz plane at x=0,rotate around z=20,->] 
-    (phi) arc [start angle=90,end angle=118,radius=1] 
-    node at (phi) [right=0pt] {$\phi^*$}; 
-  \draw[canvas is yz plane at x=0,->] 
-    (P0)+(\R,0,0)  arc [start angle=0,end angle=55,radius=\R] 
-    node[midway,above=1pt,right=1pt] {$\theta^*_+$}; 
-  \draw[canvas is yz plane at x=0,xslant=-0.4,yscale=0.8,->] 
-    (Q0)+(-\R,0,0) arc [start angle=180,end angle=120,radius=\R] 
-    node[midway,above=1pt,left=1pt] {$\theta^*_-$}; 
- 
-\end{tikzpicture} 
- 
- 
  
  
Line 179: Line 90:
          
   % plane 2 - dashes corner   % plane 2 - dashes corner
-  \draw[dashed,thick] (Q2) -- (Q3) -- (Q4);+  \begin{scope} 
 +    \clip (P1) -- (P2) -- (P3) -- (P4) -- cycle; 
 +    \draw[dashed,thick] (Q2) -- (Q3) -- (Q4); 
 +  \end{scope}
            
   % axis and arrows   % axis and arrows
Line 268: Line 182:
          
   % plane 2 - dashes corner   % plane 2 - dashes corner
-  \draw[dashed,thick] (Q2) -- (Q3) -- (Q4);+  \begin{scope} 
 +    \clip (P1) -- (P2) -- (P3) -- (P4) -- cycle; 
 +    \draw[dashed,thick] (Q2) -- (Q3) -- (Q4); 
 +  \end{scope}
            
   % axis and arrows   % axis and arrows
latex/tikz/decay_planes.1529752097.txt.gz · Last modified: 2018/06/23 13:08 by iwn