Skip to content

Commit 18d88f7

Browse files
committed
added config histogram
1 parent 61e2fb9 commit 18d88f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ struct AntinucleiInJets {
260260
// Event counters
261261
registryData.add("number_of_events_data", "number of events in data", HistType::kTH1F, {{20, 0, 20, "counter"}});
262262

263+
// Configuration
264+
registryData.add("settingData", "settingData", HistType::kTH2F, {{100, 0.0, 50.0, "min #it{p}^{jet}_{T} (GeV/#it{c})"}, {20, 0.0, 1.0, "#it{R}_{jet}"}});
265+
263266
// Jet effective area over piR^2
264267
registryData.add("jetEffectiveAreaOverPiR2", "jet effective area / piR^2", HistType::kTH1F, {{2000, 0, 2, "Area/#piR^{2}"}});
265268

@@ -334,6 +337,9 @@ struct AntinucleiInJets {
334337
registryMC.add("recEvents", "number of reconstructed events in mc", HistType::kTH1F, {{20, 0, 20, "counter"}});
335338
registryMC.add("recJets", "number of reconstructed jets", HistType::kTH1F, {{10, 0, 10, "counter"}});
336339

340+
// Configuration
341+
registryMC.add("settingMC", "settingMC", HistType::kTH2F, {{100, 0.0, 50.0, "min #it{p}^{jet}_{T} (GeV/#it{c})"}, {20, 0.0, 1.0, "#it{R}_{jet}"}});
342+
337343
// Reconstructed spectra of antiprotons
338344
registryMC.add("antiproton_rec_tpc_jet", "antiproton_rec_tpc_jet", HistType::kTH1F, {{nbins, min, max, "#it{p}_{T} (GeV/#it{c})"}});
339345
registryMC.add("antiproton_rec_tof_jet", "antiproton_rec_tof_jet", HistType::kTH1F, {{nbins, min, max, "#it{p}_{T} (GeV/#it{c})"}});
@@ -936,6 +942,7 @@ struct AntinucleiInJets {
936942
{
937943
// Event counter: before event selection
938944
registryData.fill(HIST("number_of_events_data"), 0.5);
945+
registryData.fill(HIST("settingData"), minJetPt, rJet);
939946

940947
// Retrieve the bunch crossing information with timestamps from the collision
941948
auto bc = collision.template bc_as<aod::BCsWithTimestamps>();
@@ -1963,6 +1970,9 @@ struct AntinucleiInJets {
19631970
// Loop over all reconstructed collisions
19641971
for (const auto& collision : collisions) {
19651972

1973+
// Configuration
1974+
registryMC.fill(HIST("settingMC"), minJetPt, rJet);
1975+
19661976
// Increment event counter
19671977
eventCounter++;
19681978

0 commit comments

Comments
 (0)