Skip to main content
QUICK REVIEW

[Paper Review] MARS, the MAGIC Analysis and Reconstruction Software

A. Moralejo, M. Gaug|arXiv (Cornell University)|Jul 6, 2009
Astrophysics and Cosmic PhenomenaPhysics and Astronomy7 references85 citations
TL;DR

MARS is a ROOT-based C++ software framework developed for the MAGIC Cherenkov telescope collaboration to process raw data into physics parameters, enabling stereoscopic reconstruction of atmospheric showers with enhanced sensitivity. It integrates signal calibration, image cleaning, and background suppression techniques, including advanced time- and shape-based methods, to improve gamma-ray source detection and spectral analysis.

ABSTRACT

With the commissioning of the second MAGIC gamma-ray Cherenkov telescope situated close to MAGIC-I, the standard analysis package of the MAGIC collaboration, MARS, has been upgraded in order to perform the stereoscopic reconstruction of the detected atmospheric showers. MARS is a ROOT-based code written in C++, which includes all the necessary algorithms to transform the raw data recorded by the telescopes into information about the physics parameters of the observed targets. An overview of the methods for extracting the basic shower parameters is presented, together with a description of the tools used in the background discrimination and in the estimation of the gamma-ray source spectra.

Motivation & Objective

  • To develop a unified, extensible software framework for processing raw data from gamma-ray Cherenkov telescopes into physical parameters.
  • To enable stereoscopic reconstruction of atmospheric showers using data from two MAGIC telescopes, improving angular resolution and background rejection.
  • To support both real observations and Monte Carlo simulations for next-generation gamma-ray observatories like CTA.
  • To implement advanced background discrimination techniques using time- and shape-based image parameters to enhance sensitivity.
  • To provide absolute calibration of signal amplitudes in photoelectrons using the F-factor method for physical consistency.

Proposed method

  • Uses a modular, event-loop-based architecture in C++ with ROOT trees to manage data flow across independent analysis programs.
  • Applies cubic spline interpolation to digitized pulses for precise signal extraction and arrival time estimation at 50% peak amplitude.
  • Performs pedestal subtraction and flatfielding using dedicated calibration runs and interleaved calibration events to correct for gain and baseline drifts.
  • Employs a time- and amplitude-weighted image cleaning algorithm in the 'star' program to identify shower-related pixels and suppress night-sky background.
  • Utilizes a Gaussian folding method with two widths (σ and σ√2) to estimate background acceptance in sky maps, minimizing signal contamination.
  • Applies a distance-dependent correction factor to normalize background estimates and suppress residuals near the source position.

Experimental results

Research questions

  • RQ1How can raw data from Cherenkov telescopes be efficiently transformed into calibrated, physically meaningful parameters for gamma-ray analysis?
  • RQ2What methods improve background rejection in stereoscopic observations using time- and shape-based image parameters?
  • RQ3How can background acceptance be estimated robustly in the absence of OFF-source observations, especially for point-like sources?
  • RQ4To what extent does time-resolved image analysis reduce residual background in standalone MAGIC-I operations?
  • RQ5How can the software framework be adapted to support future large-scale arrays like CTA through Monte Carlo simulations?

Key findings

  • The integration of time-resolved image parameters reduces the residual background rate by approximately 50% in standalone MAGIC-I mode.
  • The Gaussian folding method (eq. 3) provides a background estimate with an approximation error of ~0.1, validated experimentally.
  • The background suppression factor at the source position is enhanced by a distance-dependent correction, improving local normalization.
  • The F-factor method enables absolute calibration of signal amplitudes in photoelectrons, ensuring physical consistency across data sets.
  • The software framework successfully supports both real data analysis and Monte Carlo simulations for CTA array studies.
  • The modular design allows independent processing of each telescope’s data up to image parametrization, enabling seamless stereoscopic reconstruction.

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.