Skip to content

Commit cb281db

Browse files
committed
Fix histogram fill by using numeric values of configurables
1 parent 18d88f7 commit cb281db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ struct AntinucleiInJets {
942942
{
943943
// Event counter: before event selection
944944
registryData.fill(HIST("number_of_events_data"), 0.5);
945-
registryData.fill(HIST("settingData"), minJetPt, rJet);
945+
registryData.fill(HIST("settingData"), minJetPt.value, rJet.value);
946946

947947
// Retrieve the bunch crossing information with timestamps from the collision
948948
auto bc = collision.template bc_as<aod::BCsWithTimestamps>();
@@ -1971,7 +1971,7 @@ struct AntinucleiInJets {
19711971
for (const auto& collision : collisions) {
19721972

19731973
// Configuration
1974-
registryMC.fill(HIST("settingMC"), minJetPt, rJet);
1974+
registryMC.fill(HIST("settingMC"), minJetPt.value, rJet.value);
19751975

19761976
// Increment event counter
19771977
eventCounter++;

0 commit comments

Comments
 (0)