-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FullSim] Recipe and config files to run ALLEGRO with ddsim (#132)
- Loading branch information
Showing
3 changed files
with
470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Instructions | ||
|
||
## Setting the environment | ||
If you need to modify the geometry, follow instructions [here](https://fcc-ee-detector-full-sim.docs.cern.ch/Key4hep/) to set-up the paths to your local k4geo installation. If you want to just use the central version of the detector, directly proceed with the following. | ||
|
||
``` | ||
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh | ||
``` | ||
|
||
## Running the simulation | ||
``` | ||
ddsim --enableGun --gun.distribution uniform --gun.energy "10*GeV" --gun.particle e- --numberOfEvents 100 --outputFile ALLEGRO_sim.root --random.enableEventSeed --random.seed 42 --compactFile $K4GEO/FCCee/ALLEGRO/compact/ALLEGRO_o1_v02/ALLEGRO_o1_v02.xml | ||
``` | ||
|
||
## Running the digitization and reconstruction | ||
``` | ||
# if eos is mounted | ||
mkdir data | ||
cp /eos/user/b/brfranco/rootfile_storage/elecNoise_ecalBarrelFCCee_theta.root data/ | ||
cp /eos/user/g/gmarchio/rootfile_storage/neighbours_map_barrel_thetamodulemerged.root data/ | ||
cp /eos/user/g/gmarchio/rootfile_storage/cellNoise_map_electronicsNoiseLevel_thetamodulemerged.root data/ | ||
# if not, do the same as above with scp [email protected]:/eos/user/b/brfranco/rootfile_storage/elecNoise_ecalBarrelFCCee_theta.root data/ etc | ||
k4run run_digi_reco.py | ||
# you can inspect the rootfile content with | ||
podio-dump ALLEGRO_sim_digi_reco.root | ||
``` |
Oops, something went wrong.