Unverified Commit f0495276 authored by Stephan Lachnit's avatar Stephan Lachnit
Browse files

docs: replace some toml code annotation with ini for better highlighting

parent 02f795ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ In addition, another Timepix3 detector is placed as device under test (DUT) betw
Here, the thickness is directly defined in the geometry file, overwriting the default value from the `timepix` model.
All planes are randomly mis-aligned at the beginning of the simulation using the alignment precision keywords:

```toml
```ini
alignment_precision_position = 1mm 1mm 100um
alignment_precision_orientation = 0.2deg 0.2deg 0.2deg
```
+6 −6
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ You can see the radial detector used in this simulation by enabling the `Visuali

Detector models for radial strip detectors are implemented in the `RadialStripDetectorModel` class. A radial strip detector model is defined using four parameters for each  strip row. In addition, its `type` has to be defined as `radial_strip`.

```toml
```ini
type = "radial_strip"
number_of_strips = 1026, 1026, 1154, 1154
angular_pitch = 0.19309mrad, 0.19309mrad, 0.17169mrad, 0.17169mrad
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ Note: Neutrons have a lifetime of 882 seconds and will not be propagated in the

## Usage

```toml
```ini
[DepositionCosmics]
physics_list = FTFP_BERT_LIV
number_of_particles = 2
+2 −2
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ All charge carriers are deposited at time zero, i.e. at the beginning of the eve

Example configuration for a point source at a defined position around which charge carriers are deposited with a Gaussian distribution:

```toml
```ini
[DepositionPointCharge]
source_type = "point"
model = "spot"
@@ -49,7 +49,7 @@ number_of_steps = 100

Example configuration for a MIP-like energy deposition along a line at a fixed position, with 63 electron-hole pairs deposited per micrometer of sensor material:

```toml
```ini
[DepositionPointCharge]
source_type = "mip"
model = "fixed"
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ The file should have its end-of-file marker (EOF) in a new line, otherwise the l
## Usage
An example for reading energy depositions from a ROOT file tree named `hitTree`, using only the first five characters of the volume name as detector identifier and meter as unit length, is the following:

```toml
```ini
[DepositionReader]
model = "root"
file_name = "g4_energy_deposits.root"
Loading