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: 6 additions & 7 deletions PWGCF/TwoParticleCorrelations/Tasks/longRangeDihadronCor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ struct LongRangeDihadronCor {
}

if (cfgCumulantConfig.gfwOutput && doprocessSameTpcFt0a && doprocessSameTpcFt0c) {
LOGF(fatal, "If you enable gfwOutput, you can only enable processSameTpcFt0a or processSameTpcFt0c, NOT both." );
LOGF(fatal, "If you enable gfwOutput, you can only enable processSameTpcFt0a or processSameTpcFt0c, NOT both.");
}
if (cfgCumulantConfig.gfwOutput) {
o2::framework::AxisSpec axis = axisPt;
Expand Down Expand Up @@ -523,7 +523,6 @@ struct LongRangeDihadronCor {
}
}


cfgCumulantConfig.fGFW->CreateRegions();
}

Expand Down Expand Up @@ -820,7 +819,7 @@ struct LongRangeDihadronCor {
getChannel(ft0, iCh, chanelid, ampl, corType, MixedEvent + 1);
auto phi = getPhiFT0(chanelid, corType);
auto eta = getEtaFT0(chanelid, corType);
for (float ihit = 0; ihit < ampl; ihit ++){
for (float ihit = 0; ihit < ampl; ihit++) {
cfgCumulantConfig.fGFW->Fill(eta, 1, phi, 1., 1);
}
}
Expand Down Expand Up @@ -1200,9 +1199,9 @@ struct LongRangeDihadronCor {
if (!trackSelected(track))
continue;
bool withinPtPOI = (0.2 < track.pt()) && (track.pt() < 10.0); // o2-linter: disable=magic-number (within POI pT range)
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
getAcceptanceWeight(wacc, track.phi(), track.eta(), collision.posZ());
if(!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
if (!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
continue;
if (withinPtRef)
cfgCumulantConfig.fGFW->Fill(track.eta(), cfgCumulantConfig.fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
Expand Down Expand Up @@ -1354,9 +1353,9 @@ struct LongRangeDihadronCor {
if (!trackSelected(track))
continue;
bool withinPtPOI = (0.2 < track.pt()) && (track.pt() < 10.0); // o2-linter: disable=magic-number (within POI pT range)
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
getAcceptanceWeight(wacc, track.phi(), track.eta(), collision.posZ());
if(!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
if (!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
continue;
if (withinPtRef)
cfgCumulantConfig.fGFW->Fill(track.eta(), cfgCumulantConfig.fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
Expand Down
Loading