Skip to main content
QUICK REVIEW

[Paper Review] User Manual for the Corryvreckan Test Beam Data Reconstruction Framework, Version 1.0

Kröger, Jens, Simon Spannagel|arXiv (Cornell University)|Dec 2, 2019
Particle Detector Development and PerformancePhysics and Astronomy13 references10 citations
TL;DR

Corryvreckan is a modular, lightweight C++ framework for reconstructing test beam data from heterogeneous detector setups, supporting triggered, frame-based, and data-driven readout schemes. It enables flexible event building, configuration-driven analysis, and seamless integration with batch job systems, with key contributions including minimal external dependencies, full user configurability without code changes, and interoperability with Allpix2 for simulation-data comparisons.

ABSTRACT

Test beam data reconstruction is a task that requires a large amount of flexibility due to the heterogeneous data acquisition environments found in these experiments. Often, detectors with different readout schemes such as triggered, frame-based or data driven approaches are combined in a single setup. In order to correlate these data and to reconstruct particle tracks, a versatile event building algorithm and analysis framework is required. Corryvreckan is a flexible, fast and lightweight test beam data reconstruction framework based on a modular concept of the reconstruction chain. It is written in modern C++ , requires a minimum of external dependencies and is designed to be fully configurable by the user without the need to alter code. This document presents the user manual of the software as of release version 1.0.

Motivation & Objective

  • To provide a flexible, fast, and lightweight framework for reconstructing test beam data from heterogeneous detector setups with varying readout architectures.
  • To reduce external dependencies by implementing a simple, self-contained data format for intermediate and final results.
  • To enable full user configurability without code modification through a modular framework and configuration files.
  • To support integration with batch job systems like HTCondor for efficient re-analysis of large test beam campaigns.
  • To facilitate data/Monte Carlo comparisons by enabling interoperability with the Allpix2 simulation framework.

Proposed method

  • The framework uses a modular reconstruction chain where each processing step is encapsulated as a configurable module with defined input/output and execution order.
  • Event building is driven by configuration-defined logic, with support for event definition via frame-based, triggered, or data-driven detectors.
  • A metronome mechanism synchronizes event building across detectors with different timing characteristics.
  • The framework parses configuration files in multiple formats (e.g., CSV, INI, org-mode) and supports dynamic parameter scanning via curly braces for batch runs.
  • Input and output handling, logging, and coordinate system transformations are abstracted through a central framework, allowing modules to focus on core logic.
  • The system supports Docker, CVMFS, and direct compilation from source, with automated deployment and continuous integration pipelines.

Experimental results

Research questions

  • RQ1How can a unified reconstruction framework be designed to handle diverse test beam detector readout architectures such as triggered, frame-based, and data-driven systems?
  • RQ2What is the most effective way to decouple user configuration from source code while maintaining performance and flexibility?
  • RQ3How can event building be synchronized across detectors with different timing and data formats?
  • RQ4What mechanisms enable efficient batch processing of large test beam campaigns across cluster environments?
  • RQ5How can the framework ensure interoperability with simulation tools like Allpix2 for direct data/Monte Carlo comparisons?

Key findings

  • Corryvreckan successfully supports event reconstruction across heterogeneous detector setups, including triggered, frame-based, and data-driven readout schemes, through a modular and configurable framework.
  • The framework enables full user configuration without code changes, using a flexible configuration system that supports dynamic parameter scanning via sets and ranges in CSV templates.
  • Event building is robustly synchronized via a metronome mechanism, ensuring consistent event formation even with asynchronous data sources.
  • The system reduces external dependencies to a minimum by using a custom, lightweight data format for intermediate and final results.
  • Integration with batch systems like HTCondor is streamlined through job submission tools like jobsub, which automatically handle output file naming and path management.
  • Interoperability with Allpix2 is demonstrated, allowing direct comparison of simulated and real test beam data using identical analysis parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.