---
name: root-data-analyzer
description: ROOT/CERN data analysis skill for high-energy physics data processing, histogramming, and statistical analysis
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  specialization: physics
  domain: science
  category: particle-physics
  phase: 6
---

# ROOT Data Analyzer

## Purpose

Provides expert guidance on ROOT data analysis for high-energy physics, including TTree manipulation, histogram fitting, and statistical modeling with RooFit.

## Capabilities

- TTree/TChain manipulation
- Histogram creation and fitting
- RooFit statistical modeling
- TCanvas visualization
- ROOT macro development
- PyROOT integration

## Usage Guidelines

1. **Data Access**: Use TTree and TChain for efficient data access
2. **Histogramming**: Create and fill histograms with proper binning
3. **Fitting**: Use RooFit for advanced statistical modeling
4. **Visualization**: Create publication-quality plots with TCanvas
5. **Python Integration**: Use PyROOT for Python-based analysis

## Tools/Libraries

- ROOT
- RooFit
- RooStats
- uproot
