Skip to content

Conversation

@GernotMaier
Copy link
Member

No description provided.

@GernotMaier GernotMaier self-assigned this Jan 5, 2026
@GernotMaier GernotMaier marked this pull request as ready for review January 10, 2026 12:13
@GernotMaier GernotMaier requested a review from Copilot January 10, 2026 12:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request enhances the XGBoost integration in the codebase by separating stereo reconstruction and gamma-hadron separation functionalities into two distinct XGB file suffixes. The changes refactor how XGB data files are loaded and accessed, introducing a more modular approach.

Changes:

  • Split single XGB file suffix parameter into two separate parameters: fXGB_stereo_file_suffix for stereo analysis and fXGB_gh_file_suffix for gamma-hadron classification
  • Refactored CData class to manage two separate friend trees (stereo and gamma-hadron) instead of one
  • Added XGBoost gamma-hadron separation analysis type (selector 52) with support for 70% signal efficiency cuts

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
inc/CData.h Updated to support two friend trees (stereo and gamma-hadron) with new constructor signatures and getter methods
inc/VAnaSumRunParameter.h Split fXGB_file_suffix into fXGB_stereo_file_suffix and fXGB_gh_file_suffix
inc/VGammaHadronCuts.h Added XGBoostAnalysis enum type and useXGBoostCuts() method, incremented ClassDef version
inc/VInstrumentResponseFunctionRunParameter.h Split fXGB_file_suffix into two separate suffix parameters
inc/VStereoAnalysis.h Removed XGB file member variables (moved to CData)
src/CData.cpp Added two constructors, XGB tree loading logic, and initialization methods for friend trees
src/VGammaHadronCuts.cpp Implemented XGBoost cut application logic with 70% signal efficiency threshold
src/VAnaSumRunParameter.cpp Updated parameter reading to handle both stereo and gamma-hadron file suffixes
src/VInstrumentResponseFunctionRunParameter.cpp Updated parameter reading and printing for split XGB suffixes
src/VStereoAnalysis.cpp Removed inline XGB file handling, delegated to CData constructor
src/makeEffectiveArea.cpp Updated CData instantiation to use new constructor with separate suffixes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GernotMaier GernotMaier merged commit b75bf5c into main Jan 11, 2026
6 of 7 checks passed
@GernotMaier GernotMaier deleted the v492-14-xgb-gh branch January 11, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants