This repository contains the source code used to produce the results of
"Anomaly detection with fast calorimeter simulators" by Claudius Krause, Benjamin Nachman, Ian Pang, David Shih and Yunhao Zhu, [arxiv: 2312.11618]
We consider a new sampling calorimeter version of the toy detector used in the original CaloGAN. The original dataset included energy contributions from both active and inactive calorimeter layers, whereas our new dataset only includes energy contributions from the active layers as would be available in practice. The sampling fraction of our calorimeter setup is
The new dataset can be found at https://zenodo.org/records/10393540.
Please see https://gitlab.com/claudius-krause/caloflow for instructions on training CaloFlow.
To use trained flows to compute likelihood for anomaly detection, run
python run.py -p=gamma --LL_analysis --data_dir=path/to/data/ --output_dir ./results/ --with_noise --sample_file_name=SAMPLE_FILE_NAME