DD4hep description of a dual-readout endcap calorimeter using the capillary tube technology
- FCC Full Simulation Meeting, 18/9/2024, SW performance of the IDEA Dual-Readout tubes-based calorimeter simulation
- FCC Full Simulation Meeting, 24/7/2024, DD4hep implementation of the IDEA Endcap Calo with the capillary tubes technology (errata corrige: slide 5 "~1.1 Gb" -> "~2.1 Gb")
git clone https://github.com/lopezzot/DREndcapTube.git
source /cvmfs/sw.hsf.org/key4hep/setup.sh
cd DREndcapTube
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=../install/ ..
make install
cd ../install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
geoDisplay DRdetector/DRcalo/compact/DREndcapTubes.xml
or
geoWebDisplay DRdetector/DRcalo/compact/DREndcapTubes.xml
Convert the geometry to root
./scripts/dd4hep2root -c DRdetector/DRcalo/compact/DREndcapTubes.xml -o DREndcapTubes.root
browse the root file
rootbrowse DREndcapTubes.root
The following command converts the geometry to geant4 and checks for overlaps
ddsim --compactFile DRdetector/DRcalo/compact/DREndcapTubes.xml --runType run --macroFile scripts/overlap.mac --part.userParticleHandler=''
The following command performs a material scan along a line from (0,0,0) to (10,200,500), unit must be cm.
materialScan ./DRdetector/DRcalo/compact/DREndcapTubes.xml 0 0 0 10 200 500
The following command does a simple simulation with the particle gun.
ddsim --compactFile DRdetector/DRcalo/compact/DREndcapTubes.xml --enableGun --gun.particle geantino --gun.energy 1000*MeV --gun.direction "0 0 -1" --gun.position "0 200*cm 0" --outputFile out_edm4hep.root -N 100 --part.userParticleHandler=""
The following command does a simulation according to a steering file.
ddsim --steeringFile scripts/steer_mu_0_5GeV.py
a steering file template can be obtained with ddsim --dumpSteeringFile
.
A geometry description gdml
file can be created using the dedicated entry in the steering file.
The following command does a simulation with optical photons and a DD4hep regex-sensitive-detector.
ddsim --steeringFile scripts/steer_e-_10GeV_regexSDAction.py
I experienced crashes while visualizing the geometry over ssh connection to lxplus-alma9 machines. The following are instructions on how to visualize the geometry using a local DD4hep installation.
git clone https://github.com/lopezzot/DREndcapTube.git
cd DREndcapTube/DRdetector/DRcalo/
mkdir build && cd build
cmake ../onlygeocmake/
make
source bin/thisDREndcapTubes.sh
geoDisplay ../compact/DREndcapTubes.xml