Skip to content

Commit

Permalink
[PWGLF] fix trigger efficiency (AliceO2Group#8839)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciacco authored and nzardosh committed Dec 6, 2024
1 parent ac76a27 commit efdf9b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct eventWiseConstituentSubtractorTask {
particleSubtractedTable(mcCollision.globalIndex(), trackSubtracted.pt(), trackSubtracted.eta(), trackSubtracted.phi(), trackSubtracted.rap(), trackSubtracted.e(), 211, 1, 1, 1); // everything after phi is artificial and should not be used for analyses
}
}
PROCESS_SWITCH(eventWiseConstituentSubtractorTask, processMcCollisions, "Fill table of subtracted tracks for Mc collisions", true);
PROCESS_SWITCH(eventWiseConstituentSubtractorTask, processMcCollisions, "Fill table of subtracted tracks for Mc collisions", false);

void processD0Collisions(aod::JetCollision const&, soa::Filtered<aod::JetTracks> const& tracks, soa::Join<aod::CandidatesD0Data, aod::BkgD0Rhos> const& candidates)
{
Expand Down
2 changes: 1 addition & 1 deletion PWGJE/TableProducer/rhoEstimator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct RhoEstimatorTask {
auto [rho, rhoM] = bkgSub.estimateRhoAreaMedian(inputParticles, doSparse);
rhoChargedMcTable(rho, rhoM);
}
PROCESS_SWITCH(RhoEstimatorTask, processChargedMcCollisions, "Fill rho tables for MC collisions using charged tracks", true);
PROCESS_SWITCH(RhoEstimatorTask, processChargedMcCollisions, "Fill rho tables for MC collisions using charged tracks", false);

void processD0Collisions(aod::JetCollision const&, soa::Filtered<aod::JetTracks> const& tracks, aod::CandidatesD0Data const& candidates)
{
Expand Down
5 changes: 0 additions & 5 deletions PWGJE/Tasks/jetSubstructureHF.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,6 @@ struct JetSubstructureHFTask {
outputTable(energyMotherVec, ptLeadingVec, ptSubLeadingVec, thetaVec, nSub[0], nSub[1], nSub[2], pairPtVec, pairEnergyVec, pairThetaVec, angularity);
}

void processDummy(aod::JetTracks const&)
{
}
PROCESS_SWITCH(JetSubstructureHFTask, processDummy, "Dummy process function turned on by default", true);

void processChargedJetsData(typename JetTableData::iterator const& jet,
CandidateTable const& candidates,
aod::JetTracks const& tracks)
Expand Down
5 changes: 3 additions & 2 deletions PWGLF/Tasks/Nuspex/ebyeMult.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ struct EbyeMult {

int partType = getPartType(particle.pdgCode());
if (partType < PartTypes::kOther) {
++nParticles;
if (std::abs(particle.eta()) < etaMax)
++nParticles;
if (std::abs(particle.eta()) < 1.f) {
++partInAcc;
}
Expand Down Expand Up @@ -567,7 +568,7 @@ struct EbyeMult {

// search generated INEL > 0 (one charged particle in |eta| < 1)
for (const auto& mcCollision : mcCollisions) {
int mult = genMultINELgtZERO(mcCollision, mcParticles) > 0;
int mult = genMultINELgtZERO(mcCollision, mcParticles);
if (mult > 0) {
histos.fill(HIST("GenINELgtZERO"), mult);
}
Expand Down

0 comments on commit efdf9b1

Please sign in to comment.