Skip to content
Merged
Show file tree
Hide file tree
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 ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <DataFormatsParameters/GRPMagField.h>
#include <DetectorsBase/GeometryManager.h>
#include <DetectorsBase/Propagator.h>
#include <DetectorsVertexing/HelixHelper.h>
#include <ReconstructionDataFormats/HelixHelper.h>
#include <Framework/ASoAHelpers.h>
#include <Framework/AnalysisDataModel.h>
#include <Framework/AnalysisTask.h>
Expand Down
2 changes: 1 addition & 1 deletion ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <DataFormatsParameters/GRPMagField.h>
#include <DetectorsBase/GeometryManager.h>
#include <DetectorsBase/Propagator.h>
#include <DetectorsVertexing/HelixHelper.h>
#include <ReconstructionDataFormats/HelixHelper.h>
#include <Framework/ASoAHelpers.h>
#include <Framework/AnalysisDataModel.h>
#include <Framework/AnalysisTask.h>
Expand Down
2 changes: 1 addition & 1 deletion ALICE3/TableProducer/OTF/onTheFlyTrackerPid.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <DataFormatsParameters/GRPMagField.h>
#include <DetectorsBase/GeometryManager.h>
#include <DetectorsBase/Propagator.h>
#include <DetectorsVertexing/HelixHelper.h>
#include <ReconstructionDataFormats/HelixHelper.h>
#include <Framework/ASoAHelpers.h>
#include <Framework/AnalysisDataModel.h>
#include <Framework/AnalysisTask.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include "CCDB/BasicCCDBManager.h"
#include "CommonConstants/PhysicsConstants.h"
#include "DCAFitter/HelixHelper.h"
#include "ReconstructionDataFormats/HelixHelper.h"
#include "DataFormatsParameters/GRPMagField.h"
#include "DataFormatsParameters/GRPObject.h"
#include "DetectorsBase/GeometryManager.h"
Expand Down Expand Up @@ -136,7 +136,7 @@

// set axis lables
TAxis* lXaxis = fRegistry.get<TH1>(HIST("hV0Confirmation"))->GetXaxis();
for (auto& lPairIt : fV0ConfirmationLabel) {

Check failure on line 139 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.
lXaxis->SetBinLabel(lPairIt.first + 1, lPairIt.second.data());
}

Expand Down Expand Up @@ -205,10 +205,10 @@
template <typename TTrack>
bool checkV0leg(TTrack const& track)
{
if (track.pt() < minpt || abs(track.eta()) > maxeta) {

Check failure on line 208 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return false;
}
if (abs(track.dcaXY()) < dcamin || dcamax < abs(track.dcaXY())) {

Check failure on line 211 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return false;
}
if (!track.hasITS() && !track.hasTPC()) {
Expand All @@ -219,7 +219,7 @@
if (track.tpcNClsCrossedRows() < mincrossedrows || track.tpcChi2NCl() > maxchi2tpc) {
return false;
}
if (abs(track.tpcNSigmaEl()) > maxTPCNsigmaEl) {

Check failure on line 222 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.
return false;
}
}
Expand Down Expand Up @@ -326,13 +326,13 @@
aod::V0Datas const& V0s,
tracksAndTPCInfo const&)
{
for (auto& collision : collisions) {

Check failure on line 329 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
fRegistry.fill(HIST("hCollisionZ_Rec"), collision.posZ());

auto groupedV0s = V0s.sliceBy(perCollision, collision.globalIndex());
for (auto& v0 : groupedV0s) {

Check failure on line 335 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.
if (!checkAP(v0.alpha(), v0.qtarm())) { // store only photon conversions
continue;
}
Expand All @@ -357,7 +357,7 @@
tracksAndTPCInfoMC const&,
aod::McParticles const& mcTracks)
{
for (auto& collision : collisions) {

Check failure on line 360 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.

if (!collision.has_mcCollision()) {
continue;
Expand All @@ -374,7 +374,7 @@
fRegistry.fill(HIST("hCollisionZ_MCRec"), collision.posZ());

auto lGroupedV0s = theV0s.sliceBy(perCollision, collision.globalIndex());
for (auto& v0 : lGroupedV0s) {

Check failure on line 377 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.
if (!checkAP(v0.alpha(), v0.qtarm())) { // store only photon conversions
continue;
}
Expand Down Expand Up @@ -404,7 +404,7 @@
{
auto getMothersIndeces = [&](auto const& theMcParticle) {
std::vector<int> lMothersIndeces{};
for (auto& lMother : theMcParticle.template mothers_as<aod::McParticles>()) {

Check failure on line 407 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.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.
LOGF(debug, " mother index lMother: %d", lMother.globalIndex());
lMothersIndeces.push_back(lMother.globalIndex());
}
Expand Down Expand Up @@ -485,7 +485,7 @@
float lDaughter0Vx = lDaughter0.vx();
float lDaughter0Vy = lDaughter0.vy();
float lDaughter0Vz = lDaughter0.vz();
float lV0Radius = sqrt(pow(lDaughter0Vx, 2) + pow(lDaughter0Vy, 2));

Check failure on line 488 in PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[std-prefix]

Use std:: prefix for names from the std namespace.

fFuncTableMcGammasFromConfirmedV0s(
lMcMother.mcCollisionId(),
Expand Down
2 changes: 1 addition & 1 deletion PWGEM/PhotonMeson/Utils/PCMUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define PWGEM_PHOTONMESON_UTILS_PCMUTILITIES_H_

#include <TVector2.h>
#include "DCAFitter/HelixHelper.h"
#include "ReconstructionDataFormats/HelixHelper.h"
#include "DetectorsBase/Propagator.h"
#include "Common/Core/trackUtilities.h"
#include "Common/Core/RecoDecay.h"
Expand Down
Loading