Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ inline int8_t IdentifiedBfFilterTracks::acceptParticle(ParticleObject& particle,
if (recoIdMethod == recoIdMethods[0]) {
sp = kIdBfCharged;
}
if (recoIdMethod == recoIdMethods[1]||recoIdMethod == recoIdMethods[2]) {
if (recoIdMethod == recoIdMethods[1] || recoIdMethod == recoIdMethods[2]) {
sp = identifyParticle(particle);
}

Expand Down
38 changes: 19 additions & 19 deletions PWGCF/TwoParticleCorrelations/Tasks/identifiedbf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ struct IdentifiedbfTask {
realPID = -1;
break;
}
return(realPID == trkId);
return (realPID == trkId);
}

/// \brief checks whether MC track is a physical primary or secondary
Expand Down Expand Up @@ -366,7 +366,7 @@ struct IdentifiedbfTask {
fhN1VsZEtaPhiPt[track.trackacceptedid()]->Fill(zvtx, getEtaPhiIndex(track) + 0.5, track.pt(), corr);
fhSum1PtVsZEtaPhiPt[track.trackacceptedid()]->Fill(zvtx, getEtaPhiIndex(track) + 0.5, track.pt(), track.pt() * corr);
trackPrimaryCheck(track, zvtx, corr);
if(isPrimarySpeciesCheck(track, track.trackacceptedid())){
if (isPrimarySpeciesCheck(track, track.trackacceptedid())) {
fhN1VsZEtaPhiPtPure[track.trackacceptedid()]->Fill(zvtx, getEtaPhiIndex(track) + 0.5, track.pt(), corr);
}
}
Expand Down Expand Up @@ -637,23 +637,23 @@ struct IdentifiedbfTask {
ptlow,
ptup);

fhN1VsZEtaPhiPtPure[i] = new TH3F(
TString::Format("n1_%s_Pure_vsZ_vsEtaPhi_vsPt", tname[i].c_str()).Data(),
TString::Format("#LT n_{1} Pure #GT;vtx_{z};#eta_{%s}#times#varphi_{%s};p_{t,%s} (GeV/c)",
tname[i].c_str(),
tname[i].c_str(),
tname[i].c_str())
.Data(),
zvtxbins,
zvtxlow,
zvtxup,
etabins * phibins,
0.0,
static_cast<double>(etabins * phibins),
ptbins,
ptlow,
ptup);
fhN1VsZEtaPhiPtPure[i] = new TH3F(
TString::Format("n1_%s_Pure_vsZ_vsEtaPhi_vsPt", tname[i].c_str()).Data(),
TString::Format("#LT n_{1} Pure #GT;vtx_{z};#eta_{%s}#times#varphi_{%s};p_{t,%s} (GeV/c)",
tname[i].c_str(),
tname[i].c_str(),
tname[i].c_str())
.Data(),
zvtxbins,
zvtxlow,
zvtxup,
etabins * phibins,
0.0,
static_cast<double>(etabins * phibins),
ptbins,
ptlow,
ptup);

fhSum1PtVsZEtaPhiPt[i] = new TH3F(
TString::Format("sumPt1_%s_vsZ_vsEtaPhi_vsPt", tname[i].c_str()).Data(),
TString::Format(
Expand Down
Loading