Skip to content

Commit 74c7078

Browse files
author
nkaratze
committed
Fixed ITSAfterburner switch
1 parent 04dbf0e commit 74c7078

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ struct V0PtInvMassPlots {
203203
for (int i = 0; i < nmaxHistograms + 1; i++) { // Histos won't accept "." character so converting it to "_"
204204
std::string kaonptbin = pthistos::kaonPtBins[i]; // getting the value of the bin edge
205205
size_t pos = kaonptbin.find("."); // finding the "." character
206-
kaonptbin[pos] = '_'; // changing the "." character of thestring-value to a "_"
206+
kaonptbin[pos] = '_'; // changing the "." character of the string-value to a "_"
207207
kaonhistvalue[i] = kaonptbin; // filling bin edges list
208208
}
209209
// Lambda Histograms Pt Bin Edges (same as K0s above)
@@ -404,7 +404,7 @@ struct V0PtInvMassPlots {
404404
}
405405
rPtAnalysis.fill(HIST("hNV0s"), 2.5);
406406
rPtAnalysis.get<TH1>(HIST("hNV0s"))->GetXaxis()->SetBinLabel(3, "Dau Pseudorapidity");
407-
if ((posDaughterTrack.isITSAfterburner() || negDaughterTrack.isITSAfterburner()) && doisITSAfterburner) { // ITS After Burner on daughter tracks
407+
if ((posDaughterTrack.isITSAfterburner() || negDaughterTrack.isITSAfterburner()) && !doisITSAfterburner) { // ITS After Burner on daughter tracks
408408
return false;
409409
}
410410
rPtAnalysis.fill(HIST("hNV0s"), 3.5);
@@ -765,7 +765,7 @@ struct V0PtInvMassPlots {
765765
if (!acceptEvent(collision)) { // Event Selection
766766
return;
767767
}
768-
rMCCorrections.fill(HIST("hNRecEvents_MC"), 1.0); // Event Split Numenator
768+
rMCCorrections.fill(HIST("hNRecEvents_MC"), 0.5); // Event Split Numenator
769769

770770
// v0 Signal Splitting Numenator Start
771771
for (const auto& mcParticle : mcParticles) {

0 commit comments

Comments
 (0)