Skip to content
Snippets Groups Projects
Commit 257becad authored by Igor Denisenko's avatar Igor Denisenko
Browse files

Default simulation scripts update, README (macro)

parent 216a5e43
No related branches found
No related tags found
No related merge requests found
This file describes the most important files in this directory.
# `rootlogon.C` and `rootlogoff.C`.
These files are needed to load necessary dynamic libraries and headers before running your script or properly exiting the ROOT session. The `spdroot.py` script is a wrapper that runs `rootlogon.C` first, then your scripts, and finally `rootlogoff.C`. You can copy them to your working directory and use `root' instead.
# Simulation
Historically, the reference simulation file is called `SimQslPy8.C`. This is the only simulation file that is kept up to date. You can find a Pythia6 usage example in `SimuQslPy6.C`, but the detector description there is outdated.
# Reconstruction
Historically, the reference reconstruction file is `analysis/RecoEventFull.C`. Similar to `SimuQslPy8.C`, this is the only file that is kept up to date.
# Performance tests
The `performance-tests` folder contains maintained simulation files and reference numbers for detector performance.
# Other Files
The other files can be useful for various purposes, such as visualizing detectors, checking radiation length, etc., but they are mostly not maintained. You can use them as a starting point for your studies.
\ No newline at end of file
This diff is collapsed.
......@@ -392,6 +392,16 @@ void RecoEventFull()
//========================================================================//
SpdMCAegParticleProducer* mcaeg_part = new SpdMCAegParticleProducer();
//
//mctof_part->SaveParticles(false);
mcaeg_part->SetVerboseLevel(1);
//
Run->AddTask(mcaeg_part);
cout << "Start ... " << endl;
Run->Initialize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment