-
Notifications
You must be signed in to change notification settings - Fork 1
v492 14 xgb gh #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v492 14 xgb gh #337
Conversation
There was a problem hiding this 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_suffixfor stereo analysis andfXGB_gh_file_suffixfor 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.
(Re-)introduce energy and direction method selector.
No description provided.