Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 2.38 KB

README.md

File metadata and controls

41 lines (25 loc) · 2.38 KB

CaloClouds II Model for Fast Calorimeter Simulation

arXiv License

PyTorch implementation of the CaloClouds II Model introduced in CaloClouds II: Ultra-Fast Geometry-Independent Highly-Granular Calorimeter Simulation (arXiv:2309.05704).

The model is an evolution of the CaloClouds model published in (arXiv:2305.04847).


The CaloClouds II Model generates photon showers in point cloud format with up to 6000 points per shower for an energy range between 10 and 90 GeV. It consists out of multiple sub-generative models, including the PointWise Net trained as a score-based generative model and a normalizing flow for generating shower observables. Further, consistency distllation is implemented to distill a trained CaloClouds II diffusion model into a consistency model dubbed CaloClouds II (CM). The training data is generated with a Geant4 simulation of the planned electromagnetic calorimeter of the International Large Detector (ILD).


The CaloClouds II Pointwise Net Diffusion Model can be trained via python training.py using the default parameters set in config.py.

A trained CaloClouds II Diffusion model can be distilled into a consistency model via python distillation.py.

The Shower Flow is trained via the notebook ShowerFlow.ipynb.

The polynomial fits for the occupancy calculations are performed in occupancy_scale.ipynb.

An outline of the sampling process for both CaloClouds II and CaloClouds II (CM) can be found in generate.py.

The timing of the models is benchmarked with calc_timing.py


The training dataset is available under the link: https://syncandshare.desy.de/index.php/s/XfDwx33ryERwPdi


Code references: