@@ -796,8 +796,7 @@ class HfHelper
796796 // / \param pidTrackPi PID status of trackPi (prong1 of B0 candidate)
797797 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
798798 // / \return true if prong1 of B0 candidate passes all selections
799- template <typename T1 = int , typename T2 = bool >
800- bool selectionB0ToDPiPid (const T1& pidTrackPi, const T2& acceptPIDNotApplicable)
799+ bool selectionB0ToDPiPid (const int pidTrackPi, const bool acceptPIDNotApplicable)
801800 {
802801 if (!acceptPIDNotApplicable && pidTrackPi != TrackSelectorPID::Accepted) {
803802 return false ;
@@ -872,8 +871,7 @@ class HfHelper
872871 // / \param pidTrackPi PID status of trackPi (prong1 of B+ candidate)
873872 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
874873 // / \return true if prong1 of B+ candidate passes all selections
875- template <typename T1 = int , typename T2 = bool >
876- bool selectionBplusToD0PiPid (const T1& pidTrackPi, const T2& acceptPIDNotApplicable)
874+ bool selectionBplusToD0PiPid (const int pidTrackPi, const bool acceptPIDNotApplicable)
877875 {
878876 if (!acceptPIDNotApplicable && pidTrackPi != TrackSelectorPID::Accepted) {
879877 return false ;
@@ -972,8 +970,7 @@ class HfHelper
972970 // / \param pidTrackKa PID status of trackKa (prong1 of B+ candidate)
973971 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
974972 // / \return true if prong1 of B+ candidate passes all selections
975- template <typename T1 = bool >
976- bool selectionBplusToJpsiKPid (int pidTrackKa, const T1& acceptPIDNotApplicable)
973+ bool selectionBplusToJpsiKPid (const int pidTrackKa, const bool acceptPIDNotApplicable)
977974 {
978975 if (!acceptPIDNotApplicable && pidTrackKa != TrackSelectorPID::Accepted) {
979976 return false ;
@@ -1059,8 +1056,7 @@ class HfHelper
10591056 // / \param pidTrackPi PID status of trackPi (prong1 of Bs candidate)
10601057 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
10611058 // / \return true if prong1 of Bs candidate passes all selections
1062- template <typename T1 = bool >
1063- bool selectionBsToDsPiPid (int pidTrackPi, const T1& acceptPIDNotApplicable)
1059+ bool selectionBsToDsPiPid (const int pidTrackPi, const bool acceptPIDNotApplicable)
10641060 {
10651061 if (!acceptPIDNotApplicable && pidTrackPi != TrackSelectorPID::Accepted) {
10661062 return false ;
@@ -1169,8 +1165,7 @@ class HfHelper
11691165 // / \param pidTrackKa PID status of trackKa (prong1 of B+ candidate)
11701166 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
11711167 // / \return true if prong1 of B+ candidate passes all selections
1172- template <typename T1 = int , typename T2 = bool >
1173- bool selectionBsToJpsiPhiPid (const T1& pidTrackKa, const T2& acceptPIDNotApplicable)
1168+ bool selectionBsToJpsiPhiPid (const int pidTrackKa, const bool acceptPIDNotApplicable)
11741169 {
11751170 if (!acceptPIDNotApplicable && pidTrackKa != TrackSelectorPID::Accepted) {
11761171 return false ;
@@ -1250,8 +1245,7 @@ class HfHelper
12501245 // / \param pidTrackPi PID status of trackPi (prong1 of Lb candidate)
12511246 // / \param acceptPIDNotApplicable switch to accept Status::NotApplicable
12521247 // / \return true if prong1 of Lb candidate passes all selections
1253- template <typename T1 = int , typename T2 = bool >
1254- bool selectionLbToLcPiPid (const T1& pidTrackPi, const T2& acceptPIDNotApplicable)
1248+ bool selectionLbToLcPiPid (const int pidTrackPi, const bool acceptPIDNotApplicable)
12551249 {
12561250 if (!acceptPIDNotApplicable && pidTrackPi != TrackSelectorPID::Accepted) {
12571251 return false ;
0 commit comments