Skip to content

Commit

Permalink
[FullSim] Recipe and config files to run ALLEGRO with ddsim (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrieucF authored Jan 17, 2024
1 parent ebabff3 commit b0eeab1
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 0 deletions.
26 changes: 26 additions & 0 deletions FCCee/FullSim/ALLEGRO/ALLEGRO_o1_v02/README.md
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
```
Loading

0 comments on commit b0eeab1

Please sign in to comment.