Skip to content

Commit 7658b87

Browse files
committed
Set corrected jet pT to float to fit kappa for std::pow signature
1 parent 8374fe5 commit 7658b87

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎PWGJE/Tasks/jetSpectraCharged.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,9 @@ struct JetSpectraCharged {
738738
continue;
739739
}
740740
if (jetMCD.r() == round(selectedJetsRadius * 100.0f)) {
741-
double corrTagjetpt = jetMCP.pt() - (mcrho * jetMCP.area());
742-
double corrBasejetpt = jetMCD.pt() - (rho * jetMCD.area());
743-
double dcorrpt = corrBasejetpt - corrTagjetpt;
741+
float corrTagjetpt = jetMCP.pt() - (mcrho * jetMCP.area());
742+
float corrBasejetpt = jetMCD.pt() - (rho * jetMCD.area());
743+
float dcorrpt = corrBasejetpt - corrTagjetpt;
744744
float angularityMcd = 0.;
745745
for (const auto& constituent : jetMCD.template tracks_as<aod::JetTracks>()) {
746746
angularityMcd += std::pow(constituent.pt(), kappa) * std::pow(jetutilities::deltaR(jetMCD, constituent) / (jetMCD.r() / 100.f), alpha);

0 commit comments

Comments
 (0)