File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ struct JetCorrelationD0 {
282282 if (jet.pt () < jetPtCutMin) {
283283 continue ;
284284 }
285- float dPhi = RecoDecay::constrainAngle (jet.phi () - d0Candidate.phi (), -M_PI );
285+ float dPhi = RecoDecay::constrainAngle (jet.phi () - d0Candidate.phi (), -o2::constants::math::PI );
286286 if (std::abs (dPhi - o2::constants::math::PI) > (o2::constants::math::PI / 2 )) {
287287 continue ;
288288 }
@@ -325,7 +325,7 @@ struct JetCorrelationD0 {
325325 if (jet.pt () < jetPtCutMin) {
326326 continue ;
327327 }
328- float dPhi = RecoDecay::constrainAngle (jet.phi () - d0Candidate.phi (), -M_PI );
328+ float dPhi = RecoDecay::constrainAngle (jet.phi () - d0Candidate.phi (), -o2::constants::math::PI );
329329 if (std::abs (dPhi - o2::constants::math::PI) > (o2::constants::math::PI / 2 )) {
330330 continue ;
331331 }
@@ -364,7 +364,7 @@ struct JetCorrelationD0 {
364364 if (jet.pt () < jetMcPtCutMin) {
365365 continue ;
366366 }
367- float dPhi = RecoDecay::constrainAngle (jet.phi () - d0McPCandidate.phi (), -M_PI );
367+ float dPhi = RecoDecay::constrainAngle (jet.phi () - d0McPCandidate.phi (), -o2::constants::math::PI );
368368 if (std::abs (dPhi - o2::constants::math::PI) > (o2::constants::math::PI / 2 )) {
369369 continue ;
370370 }
You can’t perform that action at this time.
0 commit comments