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

Note:

Make sure the same regions are present in both file with thesame name.

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 WZ

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.# cutflow_compare

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.3.tar.gz (4.1 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.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cutflow_compare-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 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.3.tar.gz
Algorithm Hash digest
SHA256 fc1642e5ebe98f772d3362a3cc40be0fd300e82ff341323f6420d6c4cb7e46e9
MD5 1d3e5874996fed18b5072591831cb0ed
BLAKE2b-256 9ee8470397bc1804999484b652c7d4f49dc538a7a089c140b65ae4bec928a8aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cutflow_compare-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3177293f3ad011dd46628db0a07fcc1d673f3f9dafd07c3c79db623f8ad8e8b
MD5 6764e2fb0de898ba93042a1402dad9af
BLAKE2b-256 520590ba9995bee18c44affb0937a82552eff8edf50b8c2cc65c9f6dc31a7e7d

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