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
2 changes: 1 addition & 1 deletion PWGJE/Core/JetBkgSubUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ std::tuple<double, double> JetBkgSubUtils::estimateRhoPerpCone(const std::vector
return std::make_tuple(perpPtDensity, perpMdDensity);
}

fastjet::PseudoJet JetBkgSubUtils::doRhoAreaSub(fastjet::PseudoJet& jet, double rhoParam, double rhoMParam)
fastjet::PseudoJet JetBkgSubUtils::doRhoAreaSub(const fastjet::PseudoJet& jet, double rhoParam, double rhoMParam)
{

fastjet::Subtractor sub = fastjet::Subtractor(rhoParam, rhoMParam);
Expand Down
2 changes: 1 addition & 1 deletion PWGJE/Core/JetBkgSubUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class JetBkgSubUtils
/// @param rhoParam the underlying evvent density vs pT (to be set)
/// @param rhoParam the underlying evvent density vs jet mass (to be set)
/// @return jet, background subtracted jet
fastjet::PseudoJet doRhoAreaSub(fastjet::PseudoJet& jet, double rhoParam, double rhoMParam);
fastjet::PseudoJet doRhoAreaSub(const fastjet::PseudoJet& jet, double rhoParam, double rhoMParam);

/// @brief method that subtracts the background from the input particles using the event-wise cosntituent subtractor
/// @param inputParticles (all the tracks/clusters/particles in the event)
Expand Down