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.1.tar.gz (4.0 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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cutflow_compare-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 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.1.tar.gz
Algorithm Hash digest
SHA256 a292f4f68462b2f7dce8fadb6bd8ab17a4cdfab18d3c9f74728088f30becb712
MD5 3a04e4838b025527e75b0fe6a06fb950
BLAKE2b-256 df01aa722c8e52c8425faeeb35969aa304e3a84040fe2a2741a24343df828576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cutflow_compare-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b724b767c13c1f7e421c27fcbb0af81f59611c880cb85c8cbb593e498271834
MD5 d35f9f25efeda7a20d6a56e0300355b6
BLAKE2b-256 b4794a4af66a5bf3a7518d0d2653db2dfd644bafa19d0eb04f5ffec58ae25889

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