File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636#include < cstdint>
3737#include < cstdlib>
3838#include < string>
39- #include < type_traits>
4039#include < vector>
4140
42- #include < math.h >
41+ #include < cmath >
4342
4443using namespace o2 ;
4544using namespace o2 ::framework;
@@ -367,9 +366,9 @@ struct JetCorrelationD0 {
367366 } else if (d0DecayChannel < 0 ) { // matched to a D0bar on truth level (any channel)
368367 matchedFrom = -1 ;
369368 }
370- if (d0Candidate.candidateSelFlag () & BIT (0 )) { // CandidateSelFlag == BIT(0) -> selected as D0
369+ if (( d0Candidate.candidateSelFlag () & BIT (0 )) != 0 ) { // CandidateSelFlag == BIT(0) -> selected as D0
371370 selectedAs = 1 ;
372- } else if (d0Candidate.candidateSelFlag () & BIT (1 )) { // CandidateSelFlag == BIT(1) -> selected as D0bar
371+ } else if (( d0Candidate.candidateSelFlag () & BIT (1 )) != 0 ) { // CandidateSelFlag == BIT(1) -> selected as D0bar
373372 selectedAs = -1 ;
374373 }
375374 if ((std::abs (d0DecayChannel) == kD0ToKPi ) && (matchedFrom != 0 ) && (selectedAs == matchedFrom)) {
You can’t perform that action at this time.
0 commit comments