Skip to content

Commit 23b0235

Browse files
committed
fix initalize tree
1 parent 2be17e1 commit 23b0235

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/changes/337.feauture.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add XGB-based gamma/hadron classification routines. Use with `* cutselection 52 0` in cut file.

inc/CData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class CData
278278
float get_ErecdE( unsigned int method );
279279
float get_Xoff( unsigned int method );
280280
float get_Yoff( unsigned int method );
281-
void initialize_xgb_tree( TTree* stereoTree, TTree* ghTree );
281+
void initialize_xgb_tree();
282282
TTree* getXGBTree( string file_name, string suffix, string tree_name );
283283
pair<float, float> get_XYoff_derot( unsigned int method );
284284
virtual Long64_t LoadTree( Long64_t entry );

src/CData.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ Bool_t CData::Notify()
658658
}
659659

660660
/*
661-
Get Gamma/hadron decision from XGB friend tree.
661+
Get Get gamma prediction score.
662662
*/
663663
float CData::get_GH_Gamma_Prediction()
664664
{
@@ -1102,7 +1102,7 @@ TTree* CData::getXGBTree( string file_name, string file_suffix, string tree_name
11021102
* Initialize XGB trees as kind of friends
11031103
*
11041104
*/
1105-
void CData::initialize_xgb_tree( TTree* stereoTree, TTree* ghTree )
1105+
void CData::initialize_xgb_tree()
11061106
{
11071107
if( fStereoFriendTree )
11081108
{

0 commit comments

Comments
 (0)