Skip to content

Commit a6d7f71

Browse files
committed
To remove the o2 linter error
1 parent bdfbab8 commit a6d7f71

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ struct Chargedkstaranalysis {
362362
hCutFlow->GetXaxis()->SetBinLabel(4, "Multiplicity");
363363
hCutFlow->GetXaxis()->SetBinLabel(5, "IsINELgt0");
364364
if (isQaRequired) {
365-
constexpr int kNTrackCuts = 22;
365+
constexpr int KNTrackCuts = 22;
366366

367-
histos.add("QA/hTrackCutFlow", "Track cut flow", kTH1D, {{kNTrackCuts, 0.5, kNTrackCuts + 0.5}});
367+
histos.add("QA/hTrackCutFlow", "Track cut flow", kTH1D, {{KNTrackCuts, 0.5, KNTrackCuts + 0.5}});
368368

369369
auto hTrackCutFlow = histos.get<TH1>(HIST("QA/hTrackCutFlow"));
370370

@@ -391,9 +391,9 @@ struct Chargedkstaranalysis {
391391
hTrackCutFlow->GetXaxis()->SetBinLabel(bin++, "pT-dep DCAxy");
392392
hTrackCutFlow->GetXaxis()->SetBinLabel(bin++, "pT-dep DCAz");
393393

394-
constexpr int kNK0sCuts = 14;
394+
constexpr int KnK0sCuts = 14;
395395
int iK0sbin = 1;
396-
histos.add("QA/K0sCutCheck", "K0s cut flow", kTH1D, {{kNK0sCuts, 0.5, kNK0sCuts + 0.5}});
396+
histos.add("QA/K0sCutCheck", "K0s cut flow", kTH1D, {{KnK0sCuts, 0.5, KnK0sCuts + 0.5}});
397397
auto hK0sCut = histos.get<TH1>(HIST("QA/K0sCutCheck"));
398398
hK0sCut->GetXaxis()->SetBinLabel(iK0sbin++, "All PASS");
399399
hK0sCut->GetXaxis()->SetBinLabel(iK0sbin++, "DauDCA>max");
@@ -958,7 +958,7 @@ struct Chargedkstaranalysis {
958958
phiCSrot = RecoDecay::constrainAngle(phiCSrot, 0.0);
959959

960960
if (std::abs(motherRot.Rapidity()) < helicityCfgs.rapidityMotherData) {
961-
fillKstarHist(true, multiplicity, mother, cosThetaStarCS);
961+
fillKstarHist(true, multiplicity, mother, cosThetaStarCSrot);
962962
}
963963
}
964964
}
@@ -1188,8 +1188,8 @@ struct Chargedkstaranalysis {
11881188
// =========================
11891189
// Pairing
11901190
// =========================
1191-
for (auto tIdx : trackIndicies) {
1192-
for (auto kIdx : k0sIndicies) {
1191+
for (auto const& tIdx : trackIndicies) {
1192+
for (auto const& kIdx : k0sIndicies) {
11931193

11941194
auto bTrack = dTracks1.rawIteratorAt(tIdx);
11951195
auto k0s = dTracks2.rawIteratorAt(kIdx);
@@ -1301,7 +1301,7 @@ struct Chargedkstaranalysis {
13011301
}
13021302
PROCESS_SWITCH(Chargedkstaranalysis, processDataME, "Process Event for data without Partitioning", true);
13031303

1304-
void processMC(soa::Join<aod::McCollisions, aod::McCentFT0Ms> const&, aod::McParticles& mcParticles, soa::Join<EventCandidates, aod::McCollisionLabels> const& events, MCV0Candidates const& v0s, MCTrackCandidates const& tracks)
1304+
void processMC(soa::Join<aod::McCollisions, aod::McCentFT0Ms> const&, aod::McParticles const& mcParticles, soa::Join<EventCandidates, aod::McCollisionLabels> const& events, MCV0Candidates const& v0s, MCTrackCandidates const& tracks)
13051305
{
13061306
allowedMcIds.clear();
13071307
centTruthByAllowed.clear();

0 commit comments

Comments
 (0)