Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

CAD to Simulation — the Detectors/CADSupport tutorial

Start at docs/index.md, or read the pages in order:

Start

  1. Install the software
  2. Convert your first model

Converting

  1. How a part is represented
  2. Convert only part of a model
  3. Give it materials
  4. Field and cuts
  5. The geom.C file

Simulating

  1. Add passive geometry
  2. Make it produce hits
  3. Grow it into a real detector

Worked example

  1. The ITS, out and back again

Reference

  1. Check your geometry
  2. Limits and pain points

Reading it

Every page is plain Markdown and renders correctly in the GitHub file view: alerts use GitHub's own > [!NOTE] syntax, the diagrams are ```mermaid fences, and the figures are ordinary images in docs/images/. Nothing has to be published for someone to read this.

Building the site

The same sources build a browsable site with search and a sidebar:

pip install mkdocs-material
mkdocs serve        # http://127.0.0.1:8000
mkdocs build        # static site in ./site

hooks/github_alerts.py turns the GitHub alerts into Material admonitions at build time, so the Markdown stays GitHub-native and no extra plugin is needed.