Skip to main content

A package to compare cutflow histograms from ROOT files.

Project description

cutflow_compare

Overview

cutflow_compare is a Python package designed to compare cutflow histograms from ROOT files. It provides a straightforward command-line interface for users to analyze and visualize differences in cutflow data across different regions.

Features

  • Compare cutflow histograms from multiple ROOT files.
  • Generate a CSV report of the comparison results.
  • Easy to use with command-line arguments for file input and region selection.

Installation

You can install the package using pip:

pip install cutflow_compare

Usage

To compare cutflow histograms, run the following command:

python cutflow_compare.py --files histoOut-compared.root histoOut-reference.root -r region1 region2 region3

Arguments

  • --files: List of input ROOT files to compare.
  • --regions: List of regions to compare within the cutflow histograms.

Example

python cutflow_compare.py --files histoOut-compared.root histoOut-reference.root -r region1 region2

This command will compare the specified regions in the two provided ROOT files and output the results to cutflow_comparison_result.csv.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.

Acknowledgments

This package utilizes the ROOT framework for data analysis and visualization.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cutflow_compare-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cutflow_compare-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file cutflow_compare-0.1.0.tar.gz.

File metadata

  • Download URL: cutflow_compare-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for cutflow_compare-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aa80ce78c5a4e907b137df51884a30e7b3def99b7d48bd64bc240b6ef06cc8ce
MD5 3744410587ab568a6a5545499cc7bcaa
BLAKE2b-256 3938bab37b4a74cf6698f42fcdcbdb39c58367193a505925671ba97884752173

See more details on using hashes here.

File details

Details for the file cutflow_compare-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cutflow_compare-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46db7345a42dedf0e50e4f54dfc27fda2e9884af6ea4652397c30e1ddb3c8cef
MD5 1959063936a316c9d7d4daffc62f8be0
BLAKE2b-256 556039a695db2ed9aada7cc08097fb17e47cae82e1781b67140e17a265b6ccc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page