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
13 changes: 5 additions & 8 deletions PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2375,6 +2375,7 @@ struct LFNucleiBATask {
if (evselOptions.removeTFBorder && !event.selection_bit(aod::evsel::kNoTimeFrameBorder))
return;
}

if (centFT0M <= cfgMultCutLow || centFT0M > cfgMultCutHigh) {
return;
}
Expand All @@ -2383,10 +2384,6 @@ struct LFNucleiBATask {
else
histos.fill(HIST("event/eventSelection"), 7);

if (enableCentrality && enableDebug) {
debugHistos.fill(HIST("event/h1VtxZ_Centrality"), event.posZ());
}

float gamma = 0., massTOF = 0., massTOFhe = 0., massTOFantihe = 0., heTPCmomentum = 0.f, antiheTPCmomentum = 0.f, heP = 0.f, antiheP = 0.f, hePt = 0.f, antihePt = 0.f, antiDPt = 0.f, DPt = 0.f;
bool isTritonTPCpid = false;
bool prRapCut = false;
Expand Down Expand Up @@ -4594,7 +4591,7 @@ struct LFNucleiBATask {
// TOF
if (outFlagOptions.doTOFplots) {

if (isDeWoTPCpid) {
if (isDeWTPCpid) {
switch (useHasTRDConfig) {
case 0:
histos.fill(HIST("tracks/deuteron/h2DeuteronVspTNSigmaTOF"), DPt, track.tofNSigmaDe());
Expand All @@ -4614,7 +4611,7 @@ struct LFNucleiBATask {
histos.fill(HIST("tracks/deuteron/h2DeuteronTOFExpSignalDiffVsPt"), DPt, track.tofExpSignalDiffDe());
}

if (isAntiDeWoTPCpid) {
if (isAntiDeWTPCpid) {
switch (useHasTRDConfig) {
case 0:
histos.fill(HIST("tracks/deuteron/h2antiDeuteronVspTNSigmaTOF"), antiDPt, track.tofNSigmaDe());
Expand All @@ -4634,13 +4631,13 @@ struct LFNucleiBATask {
histos.fill(HIST("tracks/deuteron/h2antiDeuteronTOFExpSignalDiffVsPt"), antiDPt, track.tofExpSignalDiffDe());
}

if (isHeWoTPCpid) {
if (isHeWTPCpid) {
histos.fill(HIST("tracks/helium/h2HeliumVspTNSigmaTOF"), hePt, track.tofNSigmaHe());
if (outFlagOptions.enableExpSignalTOF)
histos.fill(HIST("tracks/helium/h2HeliumTOFExpSignalDiffVsPt"), hePt, track.tofExpSignalDiffHe());
}

if (isAntiHeWoTPCpid) {
if (isAntiHeWTPCpid) {
histos.fill(HIST("tracks/helium/h2antiHeliumVspTNSigmaTOF"), antihePt, track.tofNSigmaHe());
if (outFlagOptions.enableExpSignalTOF)
histos.fill(HIST("tracks/helium/h2antiHeliumTOFExpSignalDiffVsPt"), antihePt, track.tofExpSignalDiffHe());
Expand Down
Loading