Skip to content

Commit

Permalink
Merge pull request #167 from JeffersonLab/rftime_float
Browse files Browse the repository at this point in the history
fix bug found by Tyler Viducic: rftime should be Float_t instead of B…
  • Loading branch information
aaust authored Oct 11, 2023
2 parents fbe9fa2 + 31dba32 commit 0757da1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/DSelector/DSelector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void DSelector::Create_FlatTree(void)
dFlatTreeInterface->Create_Branch_Fundamental<Bool_t>("is_truecombo");
dFlatTreeInterface->Create_Branch_Fundamental<Bool_t>("is_bdtcombo");
}
dFlatTreeInterface->Create_Branch_Fundamental<Bool_t>("rftime");
dFlatTreeInterface->Create_Branch_Fundamental<Float_t>("rftime");
if(dTreeInterface->Get_Branch("ChiSq_KinFit") != NULL)
{
dFlatTreeInterface->Create_Branch_Fundamental<Float_t>("kin_chisq");
Expand Down Expand Up @@ -696,7 +696,7 @@ void DSelector::Fill_FlatTree(void)
dFlatTreeInterface->Fill_Fundamental<Bool_t>("is_truecombo", dComboWrapper->Get_IsTrueCombo());
dFlatTreeInterface->Fill_Fundamental<Bool_t>("is_bdtcombo", dComboWrapper->Get_IsBDTSignalCombo());
}
dFlatTreeInterface->Fill_Fundamental<Bool_t>("rftime", dComboWrapper->Get_RFTime());
dFlatTreeInterface->Fill_Fundamental<Float_t>("rftime", dComboWrapper->Get_RFTime());
if(dTreeInterface->Get_Branch("ChiSq_KinFit") != NULL)
{
dFlatTreeInterface->Fill_Fundamental<Float_t>("kin_chisq", dComboWrapper->Get_ChiSq_KinFit( "" ));
Expand Down

0 comments on commit 0757da1

Please sign in to comment.