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 @@ -592,14 +592,15 @@ struct HfProducerCharmHadronsTrackFemtoDream {
592592 bdtScoreFd);
593593
594594 } else if constexpr (Channel == DecayChannel::D0ToPiK) {
595- if (candFlag == D0CandFlag::D0) {
595+ int signD0 = -999 ;
596+ if (candFlag == static_cast <int >(D0CandFlag::D0)) {
596597 signD0 = +1 ;
597- } else if (candFlag == D0CandFlag::D0Bar) {
598+ } else if (candFlag == static_cast < int >( D0CandFlag::D0Bar) ) {
598599 signD0 = -1 ;
599- } else if (candFlag == D0CandFlag::Reflected) {
600+ } else if (candFlag == static_cast < int >( D0CandFlag::Reflected) ) {
600601 signD0 = 0 ;
601602 } else {
602- LOG (error) << " Unexpected candFlag = " << static_cast < int >( candFlag) ;
603+ LOG (error) << " Unexpected candFlag = " << candFlag;
603604 }
604605 rowCandCharm2Prong (
605606 outputCollision.lastIndex (),
You can’t perform that action at this time.
0 commit comments