betaFeedback

WorksPhysics and Astronomy

Data handling, production, and simulation in the Muon g-2 Experiment at Fermilab

Abstract

This paper details the computing strategies of the Muon g-2 Experiment at Fermilab, which measured the muon's anomalous magnetic moment with a precision of 127 ppb by processing over 10 petabytes of detector and simulation data. This paper discusses the computational and operational challenges of data production, data handling, and data analysis of such large datasets. These challenges were overcome by using Fermilab-developed software infrastructure and production tools, making efficient use of resources, and improving the collaboration-developed reconstruction workflow. By overcoming these challenges, the experiment improved the data throughput capacity and reduced the analysis turnaround time by an order of magnitude over the course of its lifetime.

(The Muon g−2g-2 Collaboration)

^1 Argonne National Laboratory, Lemont, Illinois, USA. ^2 Boston University, Boston, Massachusetts, USA. ^3 Brookhaven National Laboratory, Upton, New York, USA. ^4 Budker Institute of Nuclear Physics, Novosibirsk, Russia. ^5 Center for Axion and Precision Physics (CAPP) / Institute for Basic Science (IBS). ^6 Cornell University, Ithaca, New York, USA. ^7 Fermi National Accelerator Laboratory, Batavia, Illinois, USA.

{sup}8`INFN, Laboratori Nazionali di Frascati, Frascati, Italy.

{sup}9`INFN, Sezione di Napoli, Naples, Italy.

{sup}10`INFN, Sezione di Pisa, Pisa, Italy.

{sup}11`INFN, Sezione di Roma Tor Vergata, Rome, Italy.

{sup}12`INFN, Sezione di Trieste, Trieste, Italy.

{sup}13`Department of Physics and Astronomy, James Madison University, Harrisonburg, Virginia, USA.

{sup}14`Institute of Physics and Cluster of Excellence PRISMA++, Johannes Gutenberg University Mainz, Mainz, Germany.

{sup}15`Korea Advanced Institute of Science and Technology (KAIST).

{sup}16`Michigan State University, East Lansing, Michigan, USA.

{sup}17`North Central College, Naperville, Illinois, USA.

{sup}18`Northern Illinois University, DeKalb, Illinois, USA.

{sup}19`Regis University, Denver, Colorado, USA.

{sup}20`School of Physics and Astronomy, Shanghai Jiao Tong University, Shanghai, China.

{sup}21`Tsung-Dao Lee Institute, Shanghai Jiao Tong University, Shanghai, China.

{sup}22`Department of Physics and Astronomy, Trinity University, San Antonio, Texas, USA.

{sup}23`Institut für Kern- und Teilchenphysik, Technische Universität Dresden, Dresden, Germany.

{sup}24`Università del Molise, Campobasso, Italy.

{sup}25`Università di Udine, Udine, Italy.

{sup}26`Department of Physics and Astronomy, University College London, London, United Kingdom.

{sup}27`University of Illinois at Urbana-Champaign, Urbana, Illinois, USA.

{sup}28`University of Kentucky, Lexington, Kentucky, USA.

{sup}29`University of Liverpool, Liverpool, United Kingdom.

{sup}30`Department of Physics and Astronomy, University of Manchester, Manchester, United Kingdom.

{sup}31`Department of Physics, University of Massachusetts, Amherst, Massachusetts, USA.

{sup}32`University of Michigan, Ann Arbor, Michigan, USA.

{sup}33`University of Mississippi, University, Mississippi, USA.

{sup}34`University of Virginia, Charlottesville, Virginia, USA.

{sup}35`University of Washington, Seattle, Washington, USA.

{sup}36`City University of New York at York College, Jamaica, New York, USA.

Introduction

The Muon g−2g-2 Experiment conducted a multi-year research program in particle physics hosted at Fermilab[1, 2]. During beam data collection, the Muon g−2g-2 Experiment accumulated about 15,000 files per day, each one 2 GB in size. Over the course of six years of data taking we collected approximately 10 PB of data corresponding to about 10710^7 files. In addition, physics simulations produced about 2 PB of data. The role of production is to perform the physics reconstruction of all the acquired data and select good quality data. The reconstruction process needed to be highly reproducible and capable of running multiple reconstruction algorithms so that several independent analyses could be performed for cross checks and systematic uncertainty estimations. Each file had to be processed at least twice: first, a pre-production stage determined data-dependent calibrations, and then the full production stage performed the reconstruction. Data quality was assessed and reconstruction performance was validated throughout the processing chain. Given that all the data had to be reconstructed and analyzed, the speed and efficiency of the reconstruction process was of crucial importance and represented a significant computing challenge.

In this paper, we describe how the collaboration successfully performed this computing task. § 2 will provide an overview of Muon g−2g-2 computing and the overall computing strategy adopted. § 3 will describe the hardware and software frameworks provided by Fermilab that are used by multiple experiments. § 4, § 5 and § 6 will describe how these framework tools are used to address the Muon g−2g-2 production reconstruction, simulation, and analysis objectives. Finally, § 7 will discuss the improvements that were made in our computing over the course of the experiment. § 8 offers some conclusions and lessons learned.

Muon g−2g-2 Computing Strategy

The main goal of the Muon g−2g-2 computing infrastructure was to support analysis workflows that extracted physics results from processed data. Calorimeter data were analyzed to extract the muon magnetic anomaly and tracker data were analyzed to understand the beam dynamics effects that can affect the results. A description of the g−2g-2 apparatus can be found in Ref. [1] and references therein. The extracted physics results had to be precise, robust, and reproducible while also making efficient use of resources (both computing and personnel). The g−2g-2 computing model encompassed two production workflows: experimental data processing (§ 3-§ 5) and Monte Carlo (MC) simulation (§ 6).

Experimental data processing began with the raw detector data and organized it into discrete events corresponding to muon fills or magnetic field measurement periods, with each event serving as a processing unit. Upon collection, raw data were first stored on Fermilab’s shared computing infrastructure and archived to tape storage. This file transfer system had to be robust to failures such as accidental file deletion and duplication.

Subsequently, the stored data were processed through multiple production stages that progressively transformed raw detector waveforms into calibrated, physics analysis-ready data products (§ 4 and § 5). This processing began with minimal reconstruction to extract calibration constants using multiple independent reconstruction algorithms and was followed by complete detector reconstruction that applied these calibrations, ultimately producing the high-level data products used in the analysis workflows. This required an event-processing framework and conditions database that could handle changes in calibration constants throughout the lifetime of the experiment.

The precision targeted by the analyses required the minimization of both statistical and systematic errors. Lowering the statistical error required analyzing every detected positron and evaluating the systematic error required that the full analysis be performed multiple times using a variety of techniques. To ensure that the physics results were robust, there were four independent calorimeter data reconstruction methods [4, 5, 6] [3] that transformed the raw waveform data from calorimeter modules into deposited energies and times. Data from the tracker stations were also reconstructed. For this to be reproducible we needed a job submission system that could submit jobs to the grid and automatically recover failed jobs to ensure that all data were successfully processed every iteration.

The Muon g−2g-2 computing model had to optimize the use of both limited computing and personnel resources. Limited human resources strongly encouraged the use of common infrastructure services developed by Fermilab computing experts and intended for use by multiple experiments (§ 3). Furthermore, data processing was organized into a set of production steps so that all members of the experiment had easy access to different stages of data, and the full collaboration signed up for “offline production shifts” to manage the stages of data production based on guidance from experiment production experts. The entire process was fully documented and explained in detail to all collaborators, and the code was version-controlled for reproducibility. This meant all the systems used by shifters had to be user friendly. Resource limitations encouraged the use of grid resources for processing and efficiently sharing both production and storage resources among multiple experiments based on annual presentations of overall computing needs.

During the course of the experimental data taking we went through six different running periods, roughly one per year. Each successive running period included improved experimental conditions, larger numbers of events, greater sophistication of analysis techniques, and additional calibration and sensitivity measurements, to provide a continual reduction in both statistical and systematic errors. Production strategies evolved over the experiment lifetime to cope with the order of magnitude increases in the amount of data and to preserve timely publication schedules. To benefit from the increase in data, a greater efficiency was required: this was made possible by more efficient resource usage, increased management and organization of production activities, collaboration-wide agreements on definitions of skimmed datasets (to allow the larger numbers of events in later datasets to be preserved online in roughly constant disk space), and, for the final year of data taking, running data pre-production in a near real-time basis so that we were able to start full production much earlier than in previous runs.

Computing infrastructure

Fermilab Computing Environment and Services

The Muon g−2g-2 Experiment at Fermilab required a robust and scalable computing infrastructure to process large volumes of detector and simulation data efficiently. The infrastructure supported the full data life cycle, from raw acquisition and archival storage to calibration extraction, reconstruction, validation, skimming, and final analysis.

The computing model of the Muon g−2g-2 Experiment was built on Fermilab-developed infrastructure and production tools, including FabrIc for Frontier Experiments (FIFE) [7]. FIFE provides a common service layer used by multiple Fermilab experiments, reducing duplication of effort and providing a consistent interface to storage, data handling, grid submission, monitoring, and production management.

The lowest layer of the infrastructure consists of dCache [8] disk pools, long-term tape storage, and database services. In this section, a pool denotes a disk-backed staging or cache area rather than a processing algorithm. The GM2 Write Pool temporarily buffers newly acquired MIDAS raw-data files, denoted by the .mid extension, before archival to tape. The GM2 Read Pool stages raw files recalled from tape for large-scale production, while the General Read/Write Pool holds reconstructed and simulated outputs for downstream processing and analysis. Conditions, calibration, simulation, and data-quality information are stored in database services that are accessed during reconstruction and validation.

The Muon g−2g-2 Experiment employed a distributed computing model to provide the required processing capacity. This model used resources from FermiGrid, the Open Science Grid (OSG) [9, 10], and the National Energy Research Scientific Computing Center (NERSC), which allowed CPU slots to be allocated dynamically according to production and simulation needs. The scalability of the workflow followed from the parallel nature of Muon g−2g-2 offline jobs: each job processed an independent set of input files, typically using a single CPU core and memory below the per-slot limit, and produced a corresponding set of output files. This structure allowed thousands of jobs to run concurrently, provided that the storage and output-throughput requirements were also satisfied.

On top of these raw infrastructure services, the experiment used SAM (Sequential Access via Metadata) [11] to define datasets, track file locations, and provide metadata-driven access to files. The Intensity Frontier Data Handling (IFDH) tools [12] staged input files to worker nodes, while the File Transfer Service (FTS) cataloged and archived output files according to configured rules. Production campaigns were submitted, monitored, and recovered through FIFE job-submission tools and the POMS tool [13].

The data processing layer running on the worker nodes was the art framework [14]. In the Muon g−2g-2 workflow, art executed experiment-specific reconstruction, calibration, validation, and simulation modules and stored the outputs as ROOT files with typed data products and provenance information. The resulting production files were commonly referred to as art-ROOT files, or .art files in the workflow diagram. ROOT provided the underlying object I/O and was also the standard lightweight analysis environment. After production and skimming, selected reconstructed quantities were converted into standalone .root files containing trees and histograms, which are more convenient for high-level physics analyses that do not require the full art environment.

Figure 1 gives a overview of the Muon g−2g-2 computing infrastructure. Figure 2 complements it by showing how the Fermilab-developed services were used by the experiment. Together, two figures connect the experiment’s computing workflow stages to the underlying storage systems, metadata services, and job management tools.

Overview of the Muon $g-2$ computing infrastructure

Figure 1. Overview of the Muon g−2g-2 computing infrastructure. In the experimental data path (upper branch), the DAQ writes raw .mid files to the GM2 Write Pool, a temporary disk buffer, and the files are archived to tape. Pre-production retrieves configuration and calibration information from the database and performs an initial processing pass to prepare the data for calibration extraction. The extracted constants are written to the central conditions database. For full production, raw files are recalled from tape into the GM2 Read Pool and reconstructed using constants from this database. Full production .art files are written to the General Read/Write Pool, a shared disk staging area, and archived to tape. In parallel, DQC & Validation stores quality results in a dedicated database and updates the SAM metadata catalog. Skimming produces reduced .art or .root datasets for analysis, with skimmed outputs archived as needed. In the MC path (lower branch), MC Simulation provides generated events to Simulation production, which uses conditions from the central database and writes .art files to the General Read/Write Pool; from there, simulated and experimental samples share the same storage, skimming, and analysis path. Blue boxes denote data sources and disk storage pools; lavender boxes denote pre-processing and calibration; green boxes denote production or data-reduction stages; red denotes data-quality validation; yellow denotes database services; orange denotes the SAM metadata catalog; gray cylinders denote long-term tape storage; and the dashed white box denotes the user-analysis stage. The .mid extension identifies raw MIDAS files, .art denotes art-ROOT production files containing art data products and provenance, and .root denotes ROOT analysis files.

Diagram of the Fermilab-developed infrastructure and how it was used in the Muon $g-2$ experiment

Figure 2. Diagram of the Fermilab-developed infrastructure and how it was used in the Muon g−2g-2 experiment. Muon g−2g-2 collaboration configures a campaign in POMS, while SAM provides the dataset definition, file metadata, and file locations. POMS uses FIFE job-submission tools to submit, schedule and monitor jobs on grid worker nodes. IFDH stages input files from tape-backed storage to the worker nodes. Output files are passed to FTS, which catalogs them, archives them through the dCache [8] and Enstore [15] storage systems, and registers the corresponding metadata in SAM. Note that Fermilab replaced the Enstore system with the CERN Tape Archive (CTA) system [16] in May 2025.

Data Processing Framework

The art data processing framework [14] was used to process both offline and simulation data on an event-by-event basis, where for most g−2g-2 data, an event corresponds to a muon fill. The art framework comprises libraries and runtime-configurable main programs, all written in the C++ language. There is a clear boundary between the framework and the user code. The former is developed and maintained by Fermilab software engineers specializing in particle physics infrastructure software. The latter is developed by Muon g−2g-2 physicists to define analysis modules that process experimental and simulation data in a coordinated workflow.

In addition to its event-handling capabilities, the use of the art framework facilitates a systematic approach to data management through the concept of “data products.” In art terminology, a data product is an output object produced by a reconstruction, calibration, validation, or simulation module, for example a fitted pulse, a reconstructed calorimeter cluster, or a reconstructed track in the tracker. These objects are stored together with metadata that identify the producing module and process, thereby preserving the provenance of each processing stage. This structure allows physicists to trace how reconstructed quantities were produced, including the transformations, calibrations, and selections applied at each step. Such traceability is essential for validating data integrity, comparing independent reconstruction methods, and refining the accuracy of the physics measurements derived from these events.

Database Applications

The Muon g−2g-2 Experiment used a Fermilab conditions database system, originally developed for MINERvA [17], to manage both data-calibration and simulation constants. The g−2g-2 conditions database organized constants by schemas that specify the constant data types and purposes. These constants were organized into folders, each folder serving a specific calibration or configuration purpose, for example detector gain constants, timing offsets, or magnetic-field harmonics. Within each folder, data were stored as time-segmented entries, each tagged with an “interval of validity” (IOV) that defined the time range or run period over which the constants were to be applied. Although the numerical values differed from one IOV to another, the underlying database schema, namely the structure and field definitions used to describe the constants, remained identical across all IOVs. This uniform schema ensured that the same software interface can access and interpret data across different validity intervals without modification. Additionally, constants could be tagged for further categorization. Constants were systematically arranged by “channel”, where each channel, identified by a long integer starting from 1, represented a specific detector element such as a calorimeter crystal. For global values applicable across multiple channels, a separate single-channel folder was used to optimize database storage.

When reading the conditions database, customized tools verified the IOV, thereby avoiding the retrieval of incorrect constants. The production workflow used a “data product-producing service” in art to read constants from the database at the start of each subrun. These constants were then transferred into a data product, which was subsequently used within the analysis modules, bypassing direct database access. This method functioned as an internal caching mechanism, ensuring that constants were not retrieved multiple times for the same IOV, thereby enhancing safety and efficiency by reducing repeated database queries for constants.

Data Handling and Management

Data handling is the layer that connects file locations, metadata, transfer services, and grid execution. Raw data from the Muon g−2g-2 DAQ were initially stored in the GM2 Write Pool, a dedicated disk storage area of about 60 TB designed for rapid data ingestion. This temporary storage provided prompt access for early processing steps before the data were transferred to long-term tape storage.

Following initial storage and archival, the data underwent pre-production processing, during which calibration constants were extracted. After calibration, the data were staged or moved to the GM2 Read Pool, a dedicated storage area optimized for transferring raw files to full-production jobs. The processed data were subsequently validated through the Data Quality Control (DQC) process and recorded in the experiment’s database.

After successful production, the data were made available in the General Read/Write Pool, a shared disk storage area among most experiments at Fermilab. At this stage, additional processing, such as skimming, was conducted to extract relevant event subsets. The final data products, stored in .art and .root formats, were then used for physics analysis. Output files were organized in the Fermilab pnfs storage namespace, which provided a filesystem-like interface to the experiment’s centrally managed disk and tape-backed storage areas. In practice, production workflows limited each pnfs directory to about 5000 files. This was an operational limit rather than a data-integrity limit: exceeding it can make directory listings and metadata operations slow or unreliable for production workflows, so files were distributed across multiple directories.

The Muon g−2g-2 Experiment generated approximately 9 PB of raw data, with the size of the reconstructed data being about the same. In addition, simulation data occupied around 2-3 PB.

Given this data volume and the large fraction stored on tape, efficient data handling and management mechanisms were required. SAM provides the metadata catalog that connected dataset definitions to physical file locations across disk and tape storage. Through SAMWeb interfaces, users and production jobs queried metadata, defined datasets, and obtained file-delivery information without needing to know where each file was physically located.

SAM was originally developed at Fermilab and used by the D0 and CDF experiments [18, 19]. It was later modernized to use a lightweight interface [11]. SAM indexes and manages file locations using experiment-specific metadata, enabling file access through metadata-driven queries and allowing the definition of datasets. During production, multiple worker nodes can connect to a SAM project, which consisted of a collection of files that met a specific metadata query, with SAM providing access through URL links. Using the IFDH tools [12], worker nodes retrieved files via these URLs. This setup streamlined job execution on external grids by abstracting the complexities of data sourcing and transfer protocols, ensuring seamless access to the required data without requiring detailed knowledge of its origin or the transfer protocol involved.

Data Retrieval and Prestaging

The SAM framework enabled the efficient distribution of files across multiple worker nodes. However, accessing a large volume of data stored on tape can significantly slow down data retrieval. To mitigate this, traditional prestaging transfers files from tape storage to disk storage in anticipation of their use in grid jobs, usually at the dataset level. This approach is inefficient when the files in a dataset are distributed over many tapes or when only a small number of files are needed from each tape. Frequent tape mounts and dismounts introduce substantial overhead, because each access requires the tape to be loaded, positioned, read, and unloaded. This frequent mechanical handling not only prolongs the data retrieval process but also increases wear and tear on the tape hardware, compounding the inefficiencies associated with small, discrete data access operations. Given the shared tape storage system at Fermilab and its limited throughput, prestaging must therefore be planned carefully to support seamless offline data processing.

By the final production campaigns, the Muon g−2g-2 Experiment predominantly used migration mode for prestaging. Unlike traditional dataset-level prestaging, migration mode operates at the tape level by transferring all files from selected tapes to disk. This reduces repeated tape handling and improves throughput when most of the files on the selected tapes are needed. The tradeoff is disk space efficiency: migration mode can stage files that are not immediately needed if only a small fraction of a tape is required. For large production campaigns, however, this tradeoff is favorable because it minimizes tape mounts and improves the overall data-processing rate. Figure 3 illustrates the mapping of Run-5 full-production datasets onto tape volumes. It shows why dataset-level prestaging can be inefficient: individual datasets can span many tapes, and individual tapes can contain files from multiple datasets. This structure motivated the use of migration mode for campaigns in which most of the contents of the relevant tapes were eventually required.

Dataset mapping to tapes for full production

Figure 3. Example mapping of Run-5 full-production datasets onto tape volumes. Each vertical bar represents a tape volume, and the stacked colors show the amount of data from each dataset stored on that tape. The plot illustrates why dataset-level prestaging can be inefficient: a single dataset may be distributed over many tapes, while a single tape may contain files from multiple datasets. Migration mode reduces repeated tape mounts by staging complete selected tape volumes when most of their contents are needed.

File Transfer

The FTS is designed for file transfer between tape systems and disk locations. It monitors selected directories, usually those designated as output directories via the POMS tool [13] during job submissions, for new files. It then catalogs and archives any discovered files to specified locations based on predefined rules set in a configuration file. Additionally, FTS supports customized plugins capable of extracting experiment-specific metadata. This metadata is then used to register associated files with the SAM system.

Automation and Workflow Optimization

Muon g−2g-2 offline and simulation processing were largely automated using the POMS tool. POMS offers a web service for automated job submission to distributed resources as requested by the user. It also facilitated monitoring, recovery of failed submissions, debugging, and record-keeping. POMS supported the execution of multiple dependent stages, where a secondary stage starts only after the primary stage has completed and uses the output of the primary stage as its input. This feature has been used extensively in the g−2g-2 experiment, enabling seamless progression between stages of data processing. This automation has reduced manual intervention significantly, allowing the production team to focus on high-level optimization rather than routine task execution.

Additionally, a dedicated POMS user profile called “production-shifter” allowed non-expert collaborators to assist the production team. This profile granted permissions to a selection of commands, enabling these collaborators to monitor and launch processing campaigns as needed. This enhancement streamlined the workflow and improved the efficiency of data processing in the g−2g-2 experiment.

Offline production workflow

The production of the experimental data was divided into two major phases. The first phase (“preproduction”) prepared the dataset and consisted of a minimal reconstruction of the calorimeter data to extract calibration constants. The second phase (“production”) produced the dataset by performing the complete reconstruction of the calorimeter and tracker data and applying the calibration constants determined in the first phase. Both phases started from the raw data and incorporated Data Quality Control (DQC) tests to ensure that the data satisfied nominal running conditions. The production workflow was broken down into 7 steps as illustrated in Figure 4: Pre-production, Calibration extraction and In-Fill DQC, Database upload, Test production, Test DQC and Validation, Full production, and Subrun DQC. To maximize resource usage and minimize overall production time, each step ran on at least one dataset at any given time. Each step generated one output file per input file so that failed files could be easily identified and reprocessed.

Offline production workflow of the Muon $g-2$ Experiment

Figure 4. Offline production workflow of the Muon g−2g-2 Experiment.

Preparing the datasets

The first step to prepare the dataset was to decompress the raw binary files and perform a minimal reconstruction of the calorimeter data. At this stage, only signal pulse fitting and energy calibration were performed. The waveform templates for the pulse fitting and the energy calibration constants were previously extracted in dedicated workflows on laser and beam data at the start of each running period.

The second step analyzed the reconstructed data to extract gain calibration constants and determine the quality of individual muon fills. A muon fill could be used for analysis if the data from all subsystems were within a nominal range. This step was highly automated and divided into independent tasks: one task for each subsystem. These tasks ran in parallel and produced either json files or ROOT files with trees and histograms. These files were used by calibration experts to verify the results before uploading them to the database.

Both of these steps were run with POMS, which executed the second step automatically after the first step completed. Dataset slices consisting of O(1000)O(1000) files were produced in each grid submission. A grid submission was made every 4 to 6 hours depending on grid node availability. A final recovery pass ran on the files that did not complete in the first submission. This resubmission was automatically handled by POMS.

The final step in this preparatory phase was to verify the extracted calibration constants were correct and to upload them to the conditions database. Calibration experts manually ran the validation routines and the database upload. The calibration constants and quality flags were stored in data and status tables. The former contained the constants themselves, and the latter contained metadata and activation flags. Each table was finally marked with an interval of validity (IOV) stating the range of runs that the constants had been extracted from. The tables were uploaded to a development database first and, upon validation that no error occurred during upload, were then cloned to the production database. Finally, any raw files that failed to run through the pre-production process or that were found to contain no beam data were marked as such by updating its SAM metadata and did not proceed to full production.

Producing the datasets

After the calibration constants were extracted and the good-quality files were identified, the dataset was ready for full production. This phase started from the raw data once again and performed a full reconstruction of all detectors, applying the calibration constants extracted during the data preparation phase. The full production involved the reconstruction of calorimeter data, tracker data, and auxiliary detectors. Four different reconstructions were performed on the same calorimeter data.

Before proceeding with the production of the entire dataset, a test production was performed on a subset of it. A selection of ∼10%\sim10\% of the files, uniformly distributed throughout the dataset, was processed first to detect potential reconstruction problems. A DQC step was performed on the produced files to ensure there were no errors or anomalies that needed further investigation. This validation step proved to be very effective in identifying software bugs and unexpected experimental conditions, as well as preventing a waste of grid resources on data that would be discarded or re-processed.

The DQC step was performed by shifters. The shifter checked two PDF booklet files: one containing gain validation histograms, and the other containing reconstruction validation histograms, as well as timelines of quantities such as the number of reconstructed positrons in each file. The shifter checked the PDF booklet files against reference booklets. The gain booklet contained information about laser-based gain calibrations for each calorimeter crystal, positron energy spectra for each calorimeter before and after gain corrections, and mean positron energies across the whole dataset. The reconstruction booklet plotted the positron energy and time spectra from the different reconstructions together to ensure consistency between the reconstructions. The shifter checked the timelines to ensure that quantities were stable. An example timeline is shown in Figure 5.

Example timeline generated during the DQC step

Figure 5. Example timeline generated during the DQC step showing the number of reconstructed positrons (“CTAGs”) normalized to the muon beam intensity as a histogram (right) and as a function of file number (left). The red dashed line in the left-hand plot corresponds to the minimum value required for a file to pass this check. Blue points correspond to files that do not pass this check, orange points correspond to files that pass this check but do not pass other checks, and green points correspond to files that pass all checks in the DQC step. Only files represented by the green points are provided to analyzers for analysis.

Once any reconstruction anomalies or timeline instabilities in the test production were solved, full production resumed on the remainder of the dataset. When full production was complete, the DQC step was repeated with the results now uploaded to a Postgres database. This database contained a table for each DQC check with each row representing an individual file. Finally, the list of files that passed all DQC categories was extracted and the metadata flags on the raw MIDAS files were updated in SAM. These metadata flags were then used to define the final datasets delivered to analyzers.

Computing workflow for analysis

The output of the data production described in § 4 were art-root files containing the reconstructed data in the form of art data products. While the format of these files was convenient for preserving the history of the reconstruction steps and the associated quality filters, they presented some challenges to the analyzers:

  • Large number of files: because each data file was processed separately, the total number of files that passed all data quality checks was roughly 3.6 million for Run-1 to Run-6. Analyzers needed to analyze every single file in order to achieve the experiment’s precision goal. The handling of such a large number of files posed a challenge. For example, if an analyzer’s grid job failed, they needed to identify which files needed processing again.

  • Very large dataset size: each output file contained the complete reconstruction chain of both calorimeter and tracker data, as well as auxiliary detectors. The complete reconstruction chain allowed analyzers to retrieve partially-reconstructed events to conduct systematic studies. However, this brought the total size of Run-1 to Run-6 reconstructed data to almost 9 PB.

  • Availability: the size of the reconstructed data was too large to keep them staged on disk at all times. The analysis teams required frequent and on-demand access to the data in order to iterate their analysis algorithms and to conduct systematic studies. The size of Run-1 (0.3 PB) and Run-2/3 (1.7 PB) reconstructed data was small enough that they could be staged on the Fermilab general cache pool. However, this was not the case for the Run-4 to Run-6 analysis (6.6 PB).

  • Portability: any analysis to be conducted on the art-root files required the art framework, which is a powerful tool but with a steep learning curve. Many analyzers preferred to handle their data using standard ROOT files that can be easily processed and inspected on personal computers.

To address these issues, most analyzers extracted their information of interest into a collection of ROOT files containing trees and histograms and run their analyses on those. As the data sets grew from Run-1 to Run-6, the production team gradually took care of creating these data-reduced “analysis files” for the analyzers.

Art skims

While ROOT files proved to be an efficient solution for the analyzers, access to the full offline files was sometimes needed to rerun full analysis routines or perform novel ones. As mentioned, the Run-4/5/6 dataset was too large to be stored on disk and be accessible at all times. A solution was found in creating a reduced version of the art files, named “art-skims”, by removing all the data products that were not needed for the typical analysis.

For this purpose, only the uncalibrated and fully-calibrated calorimeter hits are kept, which achieved a five-fold size reduction. A further reduction could have been achieved by dropping the uncalibrated hits, but their presence ensured that custom gain calibrations can be applied for systematic studies. The disk cache needed to store Run-4/5/6 therefore reduced from 6.6 PB to 1.3 PB.

To reduce the number of overall files as well, the reduced art-skims went through a merging process. Each final file contained 10 random files belonging to the same run number. We kept track of which files were merged as metadata.

When analyzers needed production data that was not part of the permanently cached datasets, they submitted a request to the production managers who prestaged the required data on demand. Depending on the available resources, these operations could take between a few hours and a few days to complete.

Analysis Files

Toward the end of the experiment, five different types of analysis files were managed by the production team: two for the tracker data, and three for the calorimeter data. These contained the ROOT trees or ROOT histograms that analyzers needed for their analyses. For all of them, submissions were executed with POMS and the output was assigned with metadata with the same tools as the offline production.

The production was always conducted by generating one output file per input file. Therefore, an extra step was needed to merge the output to reduce the overall number of files that the analyzers needed to handle. As the analysis files were always ROOT files, the built-in hadd tool was used to merge them.

The merging procedure was performed in two or three steps, reducing the number of files by some orders of magnitude each time. The merging routines were performed either on the FermiGrid with POMS submissions or on local machines. Considering a typical dataset contained 100,000 files, the first step merged the files into groups of 100 on the grid. This way, the job could be parallelized over 1000 cores. The final step, consisting of merging the 1000 intermediate files into one, was performed locally on a server with a high core count. This way, the single hadd job could be run multi-threaded. While the intermediate files were stored on scratch disks, the final results were stored either on tape or persistent disks.

Computing resources for analyzers

The analysis of Muon g−2g-2 data was performed by the analyzers over multiple Fermilab-owned servers or on resources locally owned by the participating institutions. The collaboration-wide resources made available by Fermilab consisted of eight virtual machines and one high-performance workstation. The virtual machines had four CPU threads and 12 GB of memory each. Each user was given 400 GB disk space for storing personal data. The workstation hosted 48 CPU threads, 187 GB of memory, and 7 TB of local disk space. This workstation was used for running local file merging jobs during production, as described in § 5.2. These were characterized by having high-count CPU threads, large memory, and a combination of large disks and network-attached storage (NAS) servers for data storage.

CPU-intensive analysis jobs were run on FermiGrid and OSG, using the same resources shared by the Muon g−2g-2 production. In addition to the reserved grid quota for production, there was always some overhead that allowed analyzers to run their jobs. The submission scripts were the same as for official production, and they provided failure recovery routines. They were generally executed manually via the virtual machines, with the exception of a few cases where POMS was used for analysis jobs.

While institution-owned NAS servers proved to be very useful in holding skimmed datasets for analysis, they presented a bottleneck when CPU intensive jobs had to be executed over the data stored there. The grid nodes can only interface to Fermilab central disk cache for I/O, so any NAS data required as input for the grid jobs had to be temporarily copied to a scratch cache folder on the corresponding node first. Because the NAS servers were not within the faster FermiGrid Network, copy speeds were limited to 10 Gbps, with effective speeds as low as 100 MB/s when the network is busy. As the size of a typical analyzed dataset is on the order of 10 TB, the required copy could take a few days.

The workflow schemes described in this section allowed all analyzers, despite having different requirements, to efficiently run their analyses. They ran on a reduced number of files and could access the data at any time without needing to prestage from tape. They could also use the production grid submission scripts for their own data processing needs and had access to dedicated machines to analyze the data. These procedures were developed for the aμa_\mu analysis but they are also being used for the EDM, CPTLV, and Dark Matter analyses on the experiment.

Simulation

The Muon g−2g-2 Experiment simulated the muon beam in the storage ring with several simulation packages. These simulations were used to optimize the experiment’s design and to understand the effect of beam dynamics on the final analysis. The most computationally-intensive simulation involved injecting muons into the storage region and tracking them for over 200 km as they go around the storage ring 4700 times in a single 700 μ\mus fill. Accurately tracking single muons in the simulation over this distance placed high demands on the tracking tools and required symplectic integrators that strictly enforced energy conservation throughout the entire path. Depending on the simulation package, these tasks could require long CPU running times resulting in ∼\sim500 seconds running time for each muon that was stored for the entire fill. All of these considerations meant it was not feasible to produce or store simulated samples that were the same size as the ∼1011\sim10^{11} muon decay data samples collected during the experiment’s lifetime. Instead, a variety of tools and techniques were optimized and deployed to answer the questions at hand. This Section will briefly introduce the various simulation packages, describe the primary application for each tool and document the computing resources needed to produce the simulation samples. An introduction to the muon campus, storage ring components, simulation packages and associated beam dynamics effects may be found in the first Muon g−2g-2 beam dynamics paper [20].

Simulation Packages

In the experiment, muons were produced from the decay of the pions that were generated by scattering protons on an iron-nickel-chromium target. This process was simulated with two packages, MARS[21][22] and G4Beamline[23]. The redundancy allowed for the vetting of the model implementation and the underlying physics in each program. The results from both packages were in turn benchmarked against Fermilab test beam data. The resulting positively charged pions, muons, positrons, and protons that emerge from the downstream exit of the lithium focusing lens were saved for further tracking in the G4Beamline model of the delivery ring and the BMAD[24] model of the final focus [1]. The primary goal of this combination of programs was to produce distributions of highly polarized μ+\mu^+ that can serve as input to the packages that simulate muon injection and storage in the ring.

The time-dependent electromagnetic fields present in the storage ring were modeled by three packages, BMAD, COSY INFINITY[25, 26] and GM2Ringsim[27][1]. The latter of these was based on Geant4 [28, 29, 30]. Furthermore, BMAD and GM2Ringsim implemented an injection model, including the orientation of the beam as it exits the final focus beamline and enters the storage ring.

The graphic in Figure 6 shows the simulation data production stages for the Muon g−2g-2 experiment and the programs used to generate these data. The blue blocks represent packages that contribute to each stage and the green arrows represent the muon distributions that result from each stage and are subsequently fed into a new stage. COSY INFINITY did not include an injection model so the input muon distributions were extracted at the inflector exit from either BMAD or GM2Ringsim. Once inside the storage ring, each package has the ability to track the location, momentum, and spin of the muons at specific times around the ring. The GM2Ringsim package can also track muon decay products and particles produced in material interactions. Although the three packages all used the same field maps as input, there were important differences in how muon tracking is performed. For example, GM2Ringsim is the only package that fully accounts for material effects, while COSY INFINITY is capable of using fully symplectic integration. The complementarity of these tools provided essential consistency checks on the extracted physics observables.

Figure 6. This diagram shows the stages of the Muon g−2g-2 simulation infrastructure and the relationship between the packages discussed in § 6. Either MARS or G4Beamline is used to simulate particle production at the target, followed by transport through the beamlines and delivery ring via a combinations of BMAD and G4Beamline. The output of these packages is the phase-space distribution of the muons at the end of the M5 line, which in turn serves as input to injection through the inflector in the BMAD and GM2Ringsim implementations of the storage ring. The COSY INFINITY package takes the muon distributions evaluated at the end of the inflector in GM2Ringsim or BMAD as input.

Simulation Production and Workflow

MARS simulations of the target station

The MARS studies were initially run at the RHIC ATLAS Computing Facility and then later on FermiGrid. The MARS package was used to produce ∼109\sim10^{9} protons-on-target (POT) over the course of several days. Note this number is three orders of magnitude less than the typical POT per muon fill during the experiment and a subsequent implementation in G4Beamline was used to produce ∼1012\sim10^{12} POT samples. The storage requirements for MARS were low, only 0.2 GB of disk space needed for a 1B POT sample. The output was stored in a format compatible with other tools for input.

G4beamline simulations of the target station and particle transport beamlines

A G4beamline Docker image was used to run at NERSC as well as OSG. Several days to a week on the OSG were needed to simulate ∼1012\sim10^{12} POT, depending on the availability of computing resources. The generation of particle distributions at the point of injection into the delivery ring required about 1.8 GB per ∼1012\sim10^{12} POT for muons and pions.

BMAD

BMAD simulations were run at several sites. For the delivery ring and beamline simulations, BMAD was compiled and run on either a local laptop or a local workstation (16 core, 32 thread processor). Typically, a run of 3×10123 \times10^{12} POT completed within 24 hours and required ∼300\sim300 MB of storage space once converted to G4beamline’s BLTrackFile2 format.

The BMAD simulations of the injection line and storage ring were typically run on the CLASSE computing grid at Cornell University. The typical running time there was about 12 hours, with an output size on the order of a GB stored on a local pair of Tier-1 dedicated disks. The output of the simulation was stored in text files and the data was processed with some combination of custom Fortran programs and gnuplot.

COSY INFINITY

COSY INFINITY productions were run at the Michigan State University computing clusters and on the Cori supercomputer at the NERSC. Beam dynamics corrections and magnetic field convolutions required about 2 days per experimental setting, one day to prepare the non-linear transfer maps and another day for beam tracking. About one TB of disk space was required for map and beam-distribution storage.

GM2Ringsim

The GM2Ringsim package was typically run in two different modes. The first, called beamgun mode, injected a distribution of muons and tracked them for a finite time around the ring. Particle interactions with the detectors, as well as their position, momentum, and spin were recorded in ghost tracking planes, which are virtual detectors placed in strategic locations on the inside of the ring. These ghost tracking planes used the parallel world functionality in GEANT4 [28, 29, 30], which allowed users to extract information about a particle at a specific location without imposing effects from material interactions. Often it was more efficient to artificially extend the lifetime of the circulating motions as well, for example to study the time dependence of radial and vertical positions and betatron oscillations. Typically a 3 M event sample was produced with decay turned off for each set of experimental conditions. Unlike the other simulation packages, production of GM2Ringsim beam gun simulation data closely followed the production of the experimental data. Jobs were submitted using POMS to FermiGrid and the OSG. The simulation output was stored in art-ROOT files. The output files were transferred back to Fermilab and then to tape using FTS. Datasets were logged in the SAM dataset access system. In the case of the second publication from the Muon g−2g-2 experiment (Runs 2 + 3) thirty simulated datasets were produced to study beam dynamics corrections and to estimate systematic errors. Each dataset took approximately three days to produce, using the 2000 slots allocated by Fermilab for the g−2g-2 simulation production team. The storage output for each dataset was on the order of 5 TB. A summary of the simulation production is give in Table 1.

Run PeriodGun#Events (M)Data Volume (PB)
Run 1gas10,8000.8
Run 1beam13302.21
Run 2beam10661.78
Run 3beam780.12
Run 4beam46090.69
Run 5/6beam1220.17

Table 1. Table of simulation dataset sizes for each running period. Note that Run 5 and Run 6 had the same experimental configuration and so a common simulation dataset was produced.

The second mode, called gas-gun mode, skipped injection completely and instead populated the ring with muons that decay immediately to positrons that are then tracked through the electromagnetic fields and into the calorimeter and straw tracker detectors that were used to reconstruct the positron energy and muon decay location. This mode allowed for efficient simulation production for studies that focused on the interaction of the decay positrons with the detectors, for example acceptance effects and any correlations with spin and momentum. Since the positrons traverse less than half of the ring before exiting, the time needed to track each event is orders of magnitude less when running in gas-gun mode. That said, acceptance studies required a much higher fidelity than the beam dynamics studies that used the beam gun. A 10 B event gas-gun simulation sample was produced to study the phase acceptance correction and systematic error for the analysis. The sample was produced at NERSC, which was chosen for its high throughput. Jobs were launched from both FermiGrid and NERSC. A test job on one 68 core NERSC KNL node took 100 minutes to produce 5.4 M events. The output was again stored in art data products and in ROOT files totaling 0.8 PB. It took several months to complete the entire 10 billion events. The data was temporarily stored on NERSC’s Cori system as it was produced and then transfered to FermiGrid via a specialized FTS protocol.

Timeline and improvements

The Muon g−2g-2 Experiment at Fermilab collected physics data from 2018 to 2023. By the end of data taking, production was processing datasets as they were collected. To get to this position we made many improvements over the years, which we will outline in this section.

Offline reconstruction began slowly after Run-1, as the software was still being finalized and the data was used to refine the process. Consequently, the Run-1 datasets were reprocessed multiple times — Run-1A alone was processed eleven times before reaching publication-ready form. Additionally, the offline production workflow was not optimized to process large amounts of data efficiently. The production turnaround time, i.e. the time elapsed between the end of beam data taking and production completion, was 1.5 years as shown in Table 2.

DatasetN° of filesSize [TB]Production time [days]Rate [files/day]Days after run ended
Run-1258108544572451565
Run-22671525631292071750
Run-353862210661224415794
Run-499200519531118937550
Run-51453853283814110311305
Run-67487241760106706374

Table 2. Production turnaround time per aggregated dataset. Except for Run-1, where the pre-production phase was not established yet, only the full-production processing time has been considered.

The collected statistics and data size then increased by a factor of five from Run-1 to Run-2/3 and then an additional factor of four from Run-2/3 to Run-4/5/6. The experiment, together with the support from the Fermilab computing division, managed to catch up with the data processing backlog after Run-1 and then kept pace with the ever-increasing amount of data by continuously improving on the efficiency of the production processes, the production data rate capability, and the production management.

After Run-1 reconstruction was finalized and ready for analysis, a multi-phase production workflow was developed for Run-2 production, as described in § 4. At the same time, the production management tool POMS and the conditions database described in § 3 were implemented. Before the implementation of the database, the Run-1 calibration constants were stored in text files. The time to implement these software and workflow renovations further delayed the production of the Run-2 and Run-3 datasets. However, the new procedures allowed for further optimization, parallelization, and automation of the processes, consequently speeding up the production rate by an order of magnitude overall.

Despite the much larger size of Run-4, Run-5, and Run-6, together contributing to ∼75%\sim75\% of the total statistics and size, their production turnaround time was continuously reduced to the final 2.5 months for Run-6. Figure 7 shows the data production timeline across the years.

Figure 7. Cumulative number of raw data files collected by the DAQ (blue) and cumulative number of files processed through the offline production workflow and used in the final analyses (orange) from Run-2 to Run-6. The vertical separation between the curves represents the processing backlog at a given time, while their convergence near the end of the experiment shows that production caught up with data collection.

The most impactful improvements were:

  • Computing resources.

    • The number of slots in Fermigrid reserved to g−2g-2 was increased from 2500 to 5700 slots, with each slot representing 1 CPU thread and 2 GB of memory. This allowed us to run more jobs in parallel.

    • The memory footprint of the production jobs was decreased to be less than 2 GB, so that each would occupy only one grid slot. This required optimizations in both the production code and the art job configurations.

    • The number of files processed per grid submission was increased from 5000 to 20000, and the number of files processed per job was increased from 2 to 8. This increased the grid occupancy by reducing the amount of time passing between the processing of consecutive slices of 5000 files. In fact, the time it took for a job to process any particular file strongly depended on both the number of stored muons and the specific CPU model where the job ended up running. As a consequence, while some jobs might end earlier, some others could take up to twice the time to run in any specific slice of 5000 files. Increasing the slice size helped take advantage of the faster nodes and increase the overall efficiency.

  • Data handling.

    • The implementation of the conditions database, optimized with an HTTPS interface for multiple concurrent requests, streamlined the management of data calibration and simulation constants.

    • The introduction of “migration mode”, described in § 3, increased the prestaging speed by a factor of 3 to 5, effectively addressing one of the largest bottlenecks in offline production by enabling faster data transfer from tape to disk storage.

    • Optimal dataset size was found to be 100,000 files. This change leveraged the larger processing slices of 20,000 and minimized the

number of steps that had to be repeated for each dataset, such as recoveries and validation routines. In principle, larger datasets, e.g. totaling 200k files, would have been even more efficient. However, some processes, such as the histogram merging, would have then exceeded the local resources available.

  • During Run-6 data taking the pre-production phase ran automatically. This was done when the new raw files coming from DAQ were stored on the temporary disk cache pool while waiting to get copied to tape. The g−2g-2 data-taking speed was roughly 21 TB/day and the cache pool capacity was 114 TB, so newly acquired raw files were cached for five days before making space for the new incoming files. Each day, automatic jobs processed ∼104\sim10^4 raw files. The few files that failed this automated production step, typically ∼5%\sim5\%, were staged and reprocessed manually on a weekly basis. This automated process sped up the pre-production phase significantly and allowed for the Run-6 full-production to be completed promptly after data collection.

• Management and human resources.

  • Validation routines at the end of the full-production step and the introduction of the test production greatly helped uncover calibration errors and algorithm bugs. This substantially reduced the number of times that a given

dataset would be produced in order to reach the final production.

  • The entire collaboration participated in offline production shifts during the production of Run 3 in November 2021. These shifts counted towards collaborators’ shift credits. The preparation for getting the shifts ready required documenting the entire production process and facilitated the formalization of the core processes and the clean up of the unnecessary steps. Though time-consuming, this greatly benefited subsequent workflow optimization. The shifters schedule ensured that the production could run at maximum speed at all times, without being limited by the time availability of the few production experts.

  • Technical and resource support from Fermilab. Infrastructure bottlenecks were addressed individually by the infrastructure expert teams, most notably raw data cache availability, resolved via a dedicated cache pool and new prestaging mode. Computing priority was granted during peak demand to meet publication deadlines.

Thanks to these and other optimizations, the full production overall speed improved by a factor of two between Run-2 and Run-3 productions, and by another factor of two between Run-3 and Run-4 productions, as demonstrated in Table 2. The slightly slower Run-6 rate shown in the last row indicates that the production speed was sufficient to keep up with the experiment data taking rate.

Conclusions

We presented lessons learned from developing and operating the computing infrastructure for the Muon g−2g-2 Experiment, which may benefit future medium-sized experiments collecting data at the Petabyte scale.

  • Software and computing

    • Data availability at the multi-Petabyte scale has always been one of the main bottlenecks of Muon g−2g-2 production. A lot of effort went into easing the process of staging files from tape to disk. A dedicated cache pool and tape-based staging routine were implemented, complemented by collaboration-developed data staging schedules and monitoring tools.

    • Maintaining diverse, scalable computing resources proved essential. The use of off-site resources as OpenScienceGrid nodes was very helpful in times of high loads. Part of the simulation jobs were executed at the High Performance Computing (HPC) facility NERSC and tracker reconstruction was offloaded to UK resources.

    • Software readiness, including robust calibration infrastructure, is crucial for timely data processing. The Muon g−2g-2 experiment initially lacked a conditions database for its large volume of calibration constants; implementing one later required months of refactoring. While some fine-tuning with real data is inevitable, core infrastructure should be in place before data-taking begins.

  • Management

    • Software validation is crucial to avoid reprocessing and idle times. The highly modular structure of art code, useful for HEP reconstructions, allows independent people to work separately on various pieces of the reconstruction chain. However, a lack of communication between developers and no clear code review procedures in earlier times often resulted in subtle bugs going unnoticed and entering production, only to be found out at the analysis stage. The addition of validation steps throughout the production process, which performed physics sanity checks and calibration cross-checks, increased the bug-spotting efficiency and dramatically decreased the amount of reprocessing required. A stronger code review system would have been beneficial.

    • Offline computing was a collaboration-wide effort and, when running production at full speed needed 10 FTE to run at a steady state. The introduction of offline shifts helped keep the production running at all times. As the workflow was fine-tuned, further parallelization and automation of the process decreased the number of shifters from 8 to 3.

    • Documentation, instructions, and bookkeeping are essential. Sometimes a five-year-old file had to be recreated from scratch due to data corruption or similar issues. The exact same production process had to be easily replicated in the same way and by different people.

POMS was an excellent tool for bookkeeping and production management.

  • Support from the hosting laboratory on infrastructure and expertise has been crucial for the initial development of the experiment computing model and for the sustained operation. A computing liaison between the collaboration and the laboratory proved to be an important role. This person helped organize crisis response teams when major infrastructure bottlenecks or service interruptions occurred.

The computing model described in this paper, the involvement of the entire collaboration, and the support of the hosting laboratory were fundamental to the success of the Muon g−2g-2 Experiment. With approximately 20 PB of raw, reconstructed, and simulated data, and more than 150 million CPU hours of distributed computing, the Muon g−2g-2 collaboration transformed about 150 billion recorded muon decays into the most precise determination of the muon anomalous magnetic moment.

Acknowledgements

We thank the Fermilab management and staff, including many computing professionals, for their strong support of this experiment, as well as our university and national laboratory engineers, technicians, and workshops for their tremendous support.

The Muon g−2g-2 Experiment was performed at the Fermi National Accelerator Laboratory, a U.S. Department of Energy, Office of Science, HEP User Facility. Fermilab is managed by Fermi Forward Discovery Group, LLC, acting under Contract No. 89243024CSC000002. Additional support for the experiment was provided by the U.S. DOE Office of Science through the offices of HEP, NP, and ASCR, by the U.S.-Japan Science and Technology Cooperation Program in HEP, by the National Science Foundation (USA), by the Istituto Nazionale di Fisica Nucleare (Italy), by the Science and Technology Facilities Council (UK) and the Royal Society (UK) under Grant No. URF\R1\231503, by the National Natural Science Foundation of China (Grant No. 12475108, 12305217, 12075151), by the Ministry of Science, ICT and Future Planning (MSIP), the National Research Foundation of Korea (NRF), and the Institute for Basic Science under Project Code No. IBS-R017-D1 (Republic of Korea), by the German Research Foundation (DFG) through the Cluster of Excellence PRISMA+ (EXC 2118/1, Project ID 39083149) and the Cluster of Excellence PRISMA++ (EXC 2118/2, Project ID 39083149), by the European Union Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreements No. 101006726 and No. 734303, by the European Union STRONG 2020 project under Grant Agreement No. 824093, and by the Leverhulme Trust, LIP-2021-014.

References

  1. [1]Aguillard, D.P., et al.: Detailed report on the measurement of the positive muon anomalous magnetic moment to 0.20 ppm. Phys. Rev. D 110(3), 032009 (2024) https://doi.org/10.1103/PhysRevD.110.032009 arXiv:2402.15410 [hep-ex]
  2. [2]D. P. Aguillard et al. (Muon g − 2 Collaboration): Measurement of the positive muon anomalous magnetic moment to 127 ppb. Phys. Rev. Lett. 135, 101802 (2025) https://doi.org/10.1103/7clf-sm2v [3] Fienberg, A.: Measuring the precession frequency in the e989 muon g-2 experiment. PhD thesis, University of Washington (2019)
  3. [4]Sweigart, D.: A measurement of the anomalous precession frequency of the positive muon. PhD thesis, Cornell University (2020)DOI
  4. [5]Girotti, P.: Measurement of the muon anomalous precession frequency at the muon g-2 experiment at fermilab. PhD thesis, University of Pisa (2023)
  5. [6]Kelton, L.: An energy-integrated analysis for measuring the anomalous precession frequency for the muon g-2 experiment at fermilab. PhD thesis, University of Kentucky (2022)DOI
  6. [7]Herner, K.R., et al.: The FIFE Project at Fermilab: Computing for Experiments. PoS ICHEP2016, 176 (2017) https://doi.org/10.22323/1.282.0176
  7. [8]Deutsches Elektronen-Synchrotron DESY, Fermi National Accelerator Laboratory (FNAL), Nordic e-Infrastructure Collaboration (NeIC): dCache Software. Zenodo (2026). https://doi.org/10.5281/ZENODO.23085911 . https://zenodo.org/doi/10.5281/zenodo.23085911
  8. [9]Pordes, R., et al.: The open science grid. In: J. Phys. Conf. Ser. 78, vol. 78, p. 012057 (2007). https://doi.org/10.1088/1742-6596/78/1/012057
  9. [10]Sfiligoi, I., Bradley, D.C., Holzman, B., Mhashilkar, P., Padhi, S., Wurthwein, F.: The pilot way to grid resources using glideinwms. In: 2009 WRI World Congress on Computer Science and Information Engineering. 2, vol. 2, pp. 428–432 (2009). https://doi.org/10.1109/CSIE.2009.950
  10. [11]Illingworth, R.A.: A data handling system for modern and future fermilab experiments. Journal of Physics: Conference Series 513(3), 032045 (2014) https://doi.org/10.1088/1742-6596/513/3/032045
  11. [12]Lyon, A.L., Mengel, M.W.: The “last mile” of data handling: Fermilab’s ifdh tools. Journal of Physics: Conference Series 513(3), 032068 (2014) https://doi.org/10.1088/1742-6596/513/3/032068
  12. [13]Mengel, Marc, et al.: Production operations management system (poms) for fermilab experiments. EPJ Web Conf. 245, 03024 (2020) https://doi.org/10.1051/epjconf/202024503024
  13. [14]Green, C., et al.: The art framework. Journal of Physics: Conference Series 396(2), 022020 (2012) https://doi.org/10.1088/1742-6596/396/2/022020
  14. [15]Bakken, J., Berman, E., Huang, C.-H., Moibenko, A., Petravick, D., Zalokar, M.: The Status of the Fermilab Data Storage System. (2004). Fermi National Accelerator Laboratory (FNAL), Batavia, IL. https://www.osti.gov/biblio/15016939
  15. [16]Davis, M., Afonso, J., Bachmann, R., Bahyl, V., Vera, J.C., Leduc, J., Cortés, P.O., Rademakers, F., Wardenær, L., Yurchenko, V.: The CERN Tape Archive Beyond CERN An Open Source Data Archival System for HEP. EPJ Web Conf. 295, 01048 (2024) https://doi.org/10.1051/epjconf/202429501048
  16. [17]Aliaga, L., et al.: Design, calibration, and performance of the minerva detector. Nucl. Instrum. Methods Phys. Res. A 743, 130–159 (2014) https://doi.org/10.1016/j.nima.2013.12.053
  17. [18]Terekhov, I.: Meta-computing at d0. Nucl. Instrum. Methods Phys. Res. A 502, 402–406 (2003) https://doi.org/10.1016/S0168-9002(03)00452-2
  18. [19]Stonjek, S., Baranovski, A., Kreym er, A., Lueking, L., Ratnikov, F., et al.: Deployment of same for the cdf experiment. In: Proceedings of Computing in High Energy Physics 2004, pp. 1052–1054 (2005). CERN-2005-002DOI
  19. [20]Albahri, T., et al.: Beam dynamics corrections to the Run-1 measurement of the muon anomalous magnetic moment at Fermilab. Phys. Rev. Accel. Beams 24(4), 044002 (2021) https://doi.org/10.1103/PhysRevAccelBeams.24.044002 arXiv:2104.03240 [physics.acc-ph]
  20. [21]Mokhov, N.V., James, C.C.: The MARS Code System User’s Guide Version 15 (2016) (2017) https://doi.org/10.2172/1462233
  21. [22]Mokhov, N., et al.: MARS15 Code Developments Driven by the Intensity Frontier Needs. Prog. Nucl. Sci. Tech. 4, 496–501 (2014) https://doi.org/10.15669/pnst.4.496 arXiv:1409.0033 [physics.acc-ph]
  22. [23]Muons, Inc.: G4beamline (version 3.04) (2017). https://www.muonsinc.com/Website1/G4beamline
  23. [24]Sagan, D.: Bmad: A relativistic charged particle simulation library. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 558(1), 356–359 (2006) https://doi.org/10.1016/j.nima.2005.11.001 . Proceedings of the 8th International Computational Accelerator Physics Conference
  24. [25]Berz, M., Makino, K.: COSY INFINITY and its use for singlepass and multipass systems. Microscopy 75(S1), 15–23 (2026) https://doi.org/10.1093/jmicro/dfag016
  25. [26]Makino, K., Berz, M.: Rigorous computation of high-order aberrations and their errors. Microscopy 75(S1), 24–30 (2026) https://doi.org/10.1093/jmicro/dfag019
  26. [27]Albahri, T., et al.: Beam dynamics corrections to the run-1 measurement of the muon anomalous magnetic moment at fermilab. Phys. Rev. Accel. Beams 24, 044002 (2021) https://doi.org/10.1103/PhysRevAccelBeams.24.044002
  27. [28]Allison, J., et al.: Recent developments in geant4. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 835, 186–225 (2016) https://doi.org/10.1016/j.nima.2016.06.125
  28. [29]Allison, J., et al.: Geant4 developments and applications. IEEE Transactions on Nuclear Science 53(1), 270–278 (2006) https://doi.org/10.1109/TNS.2006.869826
  29. [30]Agostinelli, S., et al.: Geant4—a simulation toolkit. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 506(3), 250–303 (2003) https://doi.org/10.1016/S0168-9002(03)01368-8

Paper details

vlnc:W_ekwqh8gu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents