Skip to content

Commit

Permalink
fixing default proces functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nzardosh committed Dec 6, 2024
1 parent b0236c3 commit fe275d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 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

0 comments on commit fe275d6

Please sign in to comment.