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.2.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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cutflow_compare-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 46c54bf0df8d6208d55ec9caec8755b1633eca6c24ec2b402c152e1c1d11edd5
MD5 5237c1a915eedb32fb89bc6695e0d27f
BLAKE2b-256 991d30e136b1589118729ea93179b78071b9551bf46095d2cd291dce287ab53c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cutflow_compare-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f43649ba724716a37dabdd1f0948421a24b199d82e9888c8ac6c87e8aef5f6c7
MD5 3d5c5fecffecd7e2f1d5df842a189109
BLAKE2b-256 1c8e07bbb2727273c557424268f8cdaef701d68d52ff5ba547a6d0cef7dabe1a

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