Skip to content

Commit da30207

Browse files
authored
Update DetectorSimulation.md
Add information about MCStepLogger.
1 parent 0b1ec2c commit da30207

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/DetectorSimulation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ Use the **`-g extkin`** command line option:
8080
o2sim -g extkin --extKinFile Kinematics.root ...
8181
```
8282

83+
#### 4. **How can I obtained detailed stepping information?**
84+
Run the simulation (best in version `o2sim_serial`) with a preloaded library:
85+
```
86+
MCSTEPLOG_TTREE=1 LD_PRELOAD=$O2_ROOT/lib/libMCStepLogger.so o2sim_serial -j 1 -n 10
87+
```
88+
This will produce a file `MCStepLoggerOutput.root` containing detailed information about steps and processes (where, what, ...). The file can be analysed using a special analysis framework. See https://github.com/AliceO2Group/AliceO2/blob/dev/Utilities/MCStepLogger/README.md for more documentation.
89+
8390
## Development
8491

8592
# Documentation of `digitizer-workflow`

0 commit comments

Comments
 (0)