@@ -647,7 +647,7 @@ void L1TCorrelatorLayer1Producer::initSectorsAndRegions(const edm::ParameterSet
647647 event_.decoded .track .clear ();
648648 for (unsigned int ieta = 0 , neta = 2 ; ieta < neta; ++ieta) {
649649 for (unsigned int iphi = 0 ; iphi < TF_phiSlices; ++iphi) {
650- float phiCenter = reco::reduceRange (iphi * TF_phiWidth);
650+ float phiCenter = reco::reducePhiRange (iphi * TF_phiWidth);
651651 event_.decoded .track .emplace_back ((ieta ? 0 . : -2.5 ), (ieta ? 2.5 : 0.0 ), phiCenter, TF_phiWidth);
652652 event_.raw .track .emplace_back ((ieta ? 0 . : -2.5 ), (ieta ? 2.5 : 0.0 ), phiCenter, TF_phiWidth);
653653 }
@@ -671,7 +671,7 @@ void L1TCorrelatorLayer1Producer::initSectorsAndRegions(const edm::ParameterSet
671671 if (etaWidth > 2 * l1ct::Scales::maxAbsEta ())
672672 throw cms::Exception (" Configuration" , " caloSectors eta range too large for eta_t data type" );
673673 for (unsigned int iphi = 0 ; iphi < phiSlices; ++iphi) {
674- float phiCenter = reco::reduceRange (iphi * phiWidth + phiZero);
674+ float phiCenter = reco::reducePhiRange (iphi * phiWidth + phiZero);
675675 event_.decoded .hadcalo .emplace_back (etaBoundaries[ieta], etaBoundaries[ieta + 1 ], phiCenter, phiWidth);
676676 event_.decoded .emcalo .emplace_back (etaBoundaries[ieta], etaBoundaries[ieta + 1 ], phiCenter, phiWidth);
677677 event_.raw .hgcalcluster .emplace_back (etaBoundaries[ieta], etaBoundaries[ieta + 1 ], phiCenter, phiWidth);
@@ -693,7 +693,7 @@ void L1TCorrelatorLayer1Producer::initSectorsAndRegions(const edm::ParameterSet
693693 float phiWidth = 2 * M_PI / phiSlices;
694694 for (unsigned int ieta = 0 , neta = etaBoundaries.size () - 1 ; ieta < neta; ++ieta) {
695695 for (unsigned int iphi = 0 ; iphi < phiSlices; ++iphi) {
696- float phiCenter = reco::reduceRange (iphi * phiWidth); // align with L1 TrackFinder phi sector indexing
696+ float phiCenter = reco::reducePhiRange (iphi * phiWidth); // align with L1 TrackFinder phi sector indexing
697697 event_.pfinputs .emplace_back (
698698 etaBoundaries[ieta], etaBoundaries[ieta + 1 ], phiCenter, phiWidth, etaExtra, phiExtra);
699699 }
0 commit comments