99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
1111
12+ // / \file UpcCandProducerMuon.cxx
13+ // / \brief UPC candidate producer for forward muons without MFT
14+ // / \author Nazar Burmasov, nazar.burmasov@cern.ch
15+ // / \since 19.12.2025
16+
1217#include " PWGUD/Core/UPCCutparHolder.h"
1318#include " PWGUD/Core/UPCHelpers.h"
1419#include " PWGUD/DataModel/UDTables.h"
@@ -89,7 +94,7 @@ struct UpcCandProducerMuon {
8994
9095 bool cut (const o2::dataformats::GlobalFwdTrack& pft, const ForwardTracks::iterator& fwdTrack)
9196 {
92- constexpr double absorberMid = 26.5 ;
97+ constexpr double AbsorberMid = 26.5 ;
9398 histRegistry.fill (HIST (" MuonsSelCounter" ), upchelpers::kFwdSelAll , 1 );
9499 auto pt = pft.getPt ();
95100 auto eta = pft.getEta ();
@@ -99,7 +104,7 @@ struct UpcCandProducerMuon {
99104 bool passPt = pt > fUpcCuts .getFwdPtLow () && pt < fUpcCuts .getFwdPtHigh ();
100105 bool passEta = eta > fUpcCuts .getFwdEtaLow () && eta < fUpcCuts .getFwdEtaHigh ();
101106 bool passRabs = rabs > fUpcCuts .getMuonRAtAbsorberEndLow () && rabs < fUpcCuts .getMuonRAtAbsorberEndHigh ();
102- bool passPDca = rabs < absorberMid ? pdca < fUpcCuts .getMuonPDcaHighFirst () : pdca < fUpcCuts .getMuonPDcaHighSecond ();
107+ bool passPDca = rabs < AbsorberMid ? pdca < fUpcCuts .getMuonPDcaHighFirst () : pdca < fUpcCuts .getMuonPDcaHighSecond ();
103108 bool passChi2 = chi2 > fUpcCuts .getFwdChi2Low () && chi2 < fUpcCuts .getFwdChi2High ();
104109 if (passPt)
105110 histRegistry.fill (HIST (" MuonsSelCounter" ), upchelpers::kFwdSelPt , 1 );
@@ -389,19 +394,19 @@ struct UpcCandProducerMuon {
389394 }
390395
391396 std::map<uint64_t , int64_t > mapGlobalBcWithV0A{};
392- constexpr float fv0ValidTime = 15 .f ;
397+ constexpr float FV0ValidTime = 15 .f ;
393398 for (const auto & fv0 : fv0s) {
394- if (std::abs (fv0.time ()) > fv0ValidTime )
399+ if (std::abs (fv0.time ()) > FV0ValidTime )
395400 continue ;
396401 uint64_t globalBC = vGlobalBCs[fv0.bcId ()];
397402 mapGlobalBcWithV0A[globalBC] = fv0.globalIndex ();
398403 }
399404 auto nFV0s = mapGlobalBcWithV0A.size ();
400405
401406 std::map<uint64_t , int64_t > mapGlobalBcWithZdc{};
402- constexpr float zdcValidTime = 2 .f ;
407+ constexpr float ZDCValidTime = 2 .f ;
403408 for (const auto & zdc : zdcs) {
404- if (std::abs (zdc.timeZNA ()) > zdcValidTime && std::abs (zdc.timeZNC ()) > zdcValidTime )
409+ if (std::abs (zdc.timeZNA ()) > ZDCValidTime && std::abs (zdc.timeZNC ()) > ZDCValidTime )
405410 continue ;
406411 uint64_t globalBC = vGlobalBCs[zdc.bcId ()];
407412 mapGlobalBcWithZdc[globalBC] = zdc.globalIndex ();
0 commit comments