Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2025 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Use constant references for table subscriptions in process functions.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -55,7 +55,7 @@
ConfigurableAxis ConfBinmultPercentile{"ConfBinmultPercentile", {10, 0.0f, 100.0f}, "multiplicity percentile Binning"};
ConfigurableAxis ConfBinpT{"ConfBinpT", {{240, 0, 6}}, "pT binning"};
ConfigurableAxis ConfBineta{"ConfBineta", {{200, -1.5, 1.5}}, "eta binning"};
ConfigurableAxis ConfBinphi{"ConfBinphi", {{200, 0, TMath::TwoPi()}}, "phi binning"};

Check failure on line 58 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[external-pi]

Use the PI constant (and its multiples and fractions) defined in o2::constants::math.

ConfigurableAxis ConfTempFitVarBins{"ConfTempFitVarBins", {300, -0.15, 0.15}, "Binning of the TempFitVar"};
ConfigurableAxis ConfNsigmaTPCBins{"ConfNsigmaTPCBins", {1600, -8, 8}, "Binning of Nsigma TPC plot"};
Expand Down Expand Up @@ -115,11 +115,11 @@
{
eventHisto.fillQA<isMC>(col);

if (ConfdoCentCut.value && (col.multV0M() > ConfCentMax || col.multV0M() < ConfCentMin)){
if (ConfdoCentCut.value && (col.multV0M() > ConfCentMax || col.multV0M() < ConfCentMin)) {
return;
}

for (auto& part : groupPartsOne) {

Check failure on line 122 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-for-loop]

Use constant references for non-modified iterators in range-based for loops.
trackHisto.fillQA<isMC, true>(part, static_cast<aod::femtodreamparticle::MomentumType>(ConfTempFitVarMomentum.value), col.multNtr(), col.multV0M(), ConfOptCorrelatedPlots);
}
}
Expand All @@ -127,7 +127,7 @@
/// process function when runnning over data/ Monte Carlo reconstructed only
/// \param col subscribe to FemtoDreamCollision table
/// \param parts subscribe to FemtoDreamParticles table
void processData(o2::aod::FDCollision& col, FemtoFullParticles&)

Check failure on line 130 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument FemtoFullParticles& is not const&.

Check failure on line 130 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument o2::aod::FDCollision& col is not const&.
{
auto groupPartsOne = partsOne->sliceByCached(aod::femtodreamparticle::fdCollisionId, col.globalIndex(), cache);
FillDebugHistos<false>(col, groupPartsOne);
Expand All @@ -139,7 +139,7 @@
/// \param col subscribe to FemtoDreamCollision table
/// \param parts subscribe to the joined table of FemtoDreamParticles and FemtoDreamMCLabels table
/// \param FemtoDramMCParticles subscribe to the table containing the Monte Carlo Truth information
void processMC(FemtoMCCollision& col, o2::aod::FDMCCollisions&, FemtoFullParticlesMC& /*parts*/, aod::FDMCParticles&, aod::FDExtMCParticles&)

Check failure on line 142 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument aod::FDExtMCParticles& is not const&.

Check failure on line 142 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument aod::FDMCParticles& is not const&.

Check failure on line 142 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument FemtoFullParticlesMC& /*parts*/ is not const&.

Check failure on line 142 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument o2::aod::FDMCCollisions& is not const&.

Check failure on line 142 in PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-process]

Argument FemtoMCCollision& col is not const&.
{
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtodreamparticle::fdCollisionId, col.globalIndex(), cache);
FillDebugHistos<true>(col, groupPartsOne);
Expand Down
Loading