@@ -416,7 +416,7 @@ struct UpcPhotonuclearAnalysisJMG {
416416 if (isTrackCut (track) == false ) {
417417 continue ;
418418 }
419- float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f , TwoPI );
419+ float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f );
420420 histos.fill (HIST (" yields" ), multiplicity, track.pt (), eta (track.px (), track.py (), track.pz ()));
421421 histos.fill (HIST (" etaphi" ), multiplicity, eta (track.px (), track.py (), track.pz ()), phiVal);
422422 }
@@ -503,7 +503,7 @@ struct UpcPhotonuclearAnalysisJMG {
503503 float getNUAWeight (float vz, float eta, float phi)
504504 {
505505 auto hWeight = histos.get <TH3 >(HIST (" weightNUA" ));
506- phi = RecoDecay::constrainAngle (phi, 0 .f , TwoPI );
506+ phi = RecoDecay::constrainAngle (phi, 0 .f );
507507 int iPhi = hWeight->GetZaxis ()->FindBin (phi);
508508 int iEta = hWeight->GetYaxis ()->FindBin (eta);
509509 int iVz = hWeight->GetXaxis ()->FindBin (vz);
@@ -530,7 +530,7 @@ struct UpcPhotonuclearAnalysisJMG {
530530 if (isTrackCut (track) == false ) {
531531 continue ;
532532 }
533- float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f , TwoPI );
533+ float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f );
534534 histos.fill (HIST (" etaphiVtx" ), reconstructedCollision.posZ (), eta (track.px (), track.py (), track.pz ()), phiVal);
535535 histos.fill (HIST (" Tracks/hTrackPhiBeforeCorr" ), phiVal);
536536 }
@@ -561,7 +561,7 @@ struct UpcPhotonuclearAnalysisJMG {
561561 }
562562 nTracksCharged++;
563563 sumPt += track.pt ();
564- float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f , TwoPI );
564+ float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f );
565565 histos.fill (HIST (" Tracks/SGsideA/hTrackPt" ), track.pt ());
566566 histos.fill (HIST (" Tracks/SGsideA/hTrackPhi" ), phiVal);
567567 histos.fill (HIST (" Tracks/SGsideA/hTrackEta" ), eta (track.px (), track.py (), track.pz ()));
@@ -621,7 +621,7 @@ struct UpcPhotonuclearAnalysisJMG {
621621 }
622622 nTracksCharged++;
623623 sumPt += track.pt ();
624- float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f , TwoPI );
624+ float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f );
625625 histos.fill (HIST (" Tracks/SGsideC/hTrackPt" ), track.pt ());
626626 histos.fill (HIST (" Tracks/SGsideC/hTrackPhi" ), phiVal);
627627 histos.fill (HIST (" Tracks/SGsideC/hTrackEta" ), eta (track.px (), track.py (), track.pz ()));
@@ -859,7 +859,7 @@ struct UpcPhotonuclearAnalysisJMG {
859859 ++multiplicity;
860860
861861 float weightNUA = getNUAWeight (reconstructedCollision.posZ (), eta (track.px (), track.py (), track.pz ()), phi (track.px (), track.py ()));
862- float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f , TwoPI );
862+ float phiVal = RecoDecay::constrainAngle (phi (track.px (), track.py ()), 0 .f );
863863 histos.fill (HIST (" Tracks/hTrackPhiAfterCorr" ), phiVal, weightNUA);
864864 }
865865 // multiplicity = reconstructedTracks.size();
0 commit comments