Skip to content

Commit 63e664f

Browse files
authored
Update hStrangeCorrelation.cxx
1 parent 5e0ba78 commit 63e664f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,26 +1034,26 @@ struct HStrangeCorrelation {
10341034
histos.add("hClosureQAPtTrigger", "hClosureQAPtTrigger", kTH2F, {axisPtQA, {5, -0.5f, 4.5f}});
10351035
histos.add("hClosureQAPtAssociatedK0", "hClosureQAPtAssociatedK0", kTH2F, {axisPtQA, {5, -0.5f, 4.5f}});
10361036
}
1037-
if (doprocessMCGenerated|| doprocessClosureTest) {
1037+
if (doprocessMCGenerated || doprocessClosureTest) {
10381038
histos.add("hClosureTestEventCounter", "hClosureTestEventCounter", kTH1F, {{10, 0, 10}});
10391039
}
1040-
if (doprocessSameEventHV0s||doprocessSameEventHCascades||doprocessSameEventHPions||doprocessSameEventHHadrons) {
1040+
if (doprocessSameEventHV0s || doprocessSameEventHCascades || doprocessSameEventHPions || doprocessSameEventHHadrons) {
10411041
histos.add("hTriggerAllSelectedEtaVsPt", "hTriggerAllSelectedEtaVsPt", kTH3F, {axisPtQA, axisEta, axisMult});
10421042
// QA and THn Histograms
10431043
histos.add("hTriggerPtResolution", ";p_{T}^{reconstructed} (GeV/c); p_{T}^{generated} (GeV/c)", kTH2F, {axisPtQA, axisPtQA});
10441044
histos.add("hTriggerPrimaryEtaVsPt", "hTriggerPrimaryEtaVsPt", kTH3F, {axisPtQA, axisEta, axisMult});
10451045
histos.add("hTrackEtaVsPtVsPhi", "hTrackEtaVsPtVsPhi", kTH3F, {axisPtQA, axisEta, axisPhi});
10461046
histos.add("hAssocTrackEtaVsPtVsPhi", "hAssocTrackEtaVsPtVsPhi", kTH3F, {axisPtQA, axisEta, axisPhi});
1047-
//histos.add("hTrackAttempt", "Attempt", kTH3F, {axisPtQA, axisEta, axisPhi});
1047+
// histos.add("hTrackAttempt", "Attempt", kTH3F, {axisPtQA, axisEta, axisPhi});
10481048
}
1049-
if (doprocessSameEventHPions||doprocessSameEventHHadrons||doprocessMixedEventHPions||doprocessMixedEventHHadrons) {
1049+
if (doprocessSameEventHPions || doprocessSameEventHHadrons || doprocessMixedEventHPions || doprocessMixedEventHHadrons) {
10501050
histos.add("hNumberOfRejectedPairsHadron", "hNumberOfRejectedPairsHadron", kTH1F, {{1, 0, 1}});
10511051
histos.add("hNumberOfRejectedPairsPion", "hNumberOfRejectedPairsPion", kTH1F, {{1, 0, 1}});
10521052
}
1053-
if (doprocessSameEventHV0s||doprocessMixedEventHV0s) {
1053+
if (doprocessSameEventHV0s || doprocessMixedEventHV0s) {
10541054
histos.add("hNumberOfRejectedPairsV0", "hNumberOfRejectedPairsV0", kTH1F, {{1, 0, 1}});
10551055
}
1056-
if (doprocessSameEventHCascades||doprocessMixedEventHCascades) {
1056+
if (doprocessSameEventHCascades || doprocessMixedEventHCascades) {
10571057
histos.add("hNumberOfRejectedPairsCascades", "hNumberOfRejectedPairsCascades", kTH1F, {{1, 0, 1}});
10581058
}
10591059

@@ -2188,7 +2188,7 @@ struct HStrangeCorrelation {
21882188
auto v0mothers = v0mcParticle.mothers_as<aod::McParticles>();
21892189
if (v0mothers.size() == 1) {
21902190
for (const auto& v0mcParticleMother : v0mothers) {
2191-
//auto& v0mcParticleMother = v0mothers.front(); // First mother
2191+
// auto& v0mcParticleMother = v0mothers.front();
21922192
if (std::abs(v0mcParticleMother.eta()) > etaSel) {
21932193
continue;
21942194
}
@@ -2210,7 +2210,7 @@ struct HStrangeCorrelation {
22102210
if (mcParticlePdg == PDG_t::kLambda0Bar && !v0mcParticle.isPhysicalPrimary()) {
22112211
auto v0mothers = v0mcParticle.mothers_as<aod::McParticles>();
22122212
if (v0mothers.size() == 1) {
2213-
for (const auto& v0mcParticleMother : v0mothers) { // First mother
2213+
for (const auto& v0mcParticleMother : v0mothers) {
22142214
if (std::abs(v0mcParticleMother.eta()) > etaSel) {
22152215
continue;
22162216
}

0 commit comments

Comments
 (0)