File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -777,14 +777,15 @@ struct HfProducerCharmHadronsV0FemtoDream {
777777 bdtScoreFd);
778778
779779 } else if constexpr (Channel == DecayChannel::D0ToPiK) {
780- if (candFlag == D0CandFlag::D0) {
780+ int signD0 = -999 ;
781+ if (candFlag == static_cast <int >(D0CandFlag::D0)) {
781782 signD0 = +1 ;
782- } else if (candFlag == D0CandFlag::D0Bar) {
783+ } else if (candFlag == static_cast < int >( D0CandFlag::D0Bar) ) {
783784 signD0 = -1 ;
784- } else if (candFlag == D0CandFlag::Reflected) {
785+ } else if (candFlag == static_cast < int >( D0CandFlag::Reflected) ) {
785786 signD0 = 0 ;
786787 } else {
787- LOG (error) << " Unexpected candFlag = " << static_cast < int >( candFlag) ;
788+ LOG (error) << " Unexpected candFlag = " << candFlag;
788789 }
789790 rowCandCharm2Prong (
790791 outputCollision.lastIndex (),
You can’t perform that action at this time.
0 commit comments