Skip to content

Commit d7f2515

Browse files
ThorkjThor Jensen
andauthored
[PWGCF] Changed trigger histogram from TH3F to THnSparseD (#9953)
Co-authored-by: Thor Jensen <thor@Thors-MacBook-Pro.local>
1 parent f7a8f41 commit d7f2515

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/// \file corrSparse.cxx
1313
/// \brief Provides a sparse with usefull two particle correlation info
14-
/// \author Thor Jensen (djt288@alumni.ku.dk)
14+
/// \author Thor Jensen (thor.kjaersgaard.jensen@cern.ch) and Debojit Sarkar (debojit.sarkar@cern.ch)
1515

1616
#include <vector>
1717
#include "Framework/runDataProcessing.h"
@@ -42,7 +42,7 @@ struct CorrSparse {
4242
O2_DEFINE_CONFIGURABLE(cfgEtaCut, float, 0.8f, "Eta cut")
4343
O2_DEFINE_CONFIGURABLE(cfgMinMixEventNum, int, 5, "Minimum number of events to mix")
4444

45-
ConfigurableAxis axisVertex{"axisVertex", {20, -10, 10}, "vertex axis for histograms"};
45+
ConfigurableAxis axisVertex{"axisVertex", {10, -10, 10}, "vertex axis for histograms"};
4646
ConfigurableAxis axisEta{"axisEta", {40, -1., 1.}, "eta axis for histograms"};
4747
ConfigurableAxis axisPhi{"axisPhi", {72, 0.0, constants::math::TwoPI}, "phi axis for histograms"};
4848
ConfigurableAxis axisPt{"axisPt", {VARIABLE_WIDTH, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 10.0}, "pt axis for histograms"};
@@ -81,7 +81,7 @@ struct CorrSparse {
8181

8282
registry.add("Sparse_mixed", "", {HistType::kTHnSparseF, {{axisMultiplicity, axisVertex, axisPtTrigger, axisPtAssoc, axisDeltaPhi, axisDeltaEta}}}); // Make the output sparse
8383
registry.add("Sparse_same", "", {HistType::kTHnSparseF, {{axisMultiplicity, axisVertex, axisPtTrigger, axisPtAssoc, axisDeltaPhi, axisDeltaEta}}});
84-
registry.add("Trig_Hist", "", {HistType::kTH3F, {{axisMultiplicity, axisVertex, axisPtTrigger}}});
84+
registry.add("Trig_Hist", "", {HistType::kTHnSparseF, {{axisMultiplicity, axisVertex, axisPtTrigger}}});
8585

8686
registry.add("eventcount", "bin", {HistType::kTH1F, {{3, 0, 3, "bin"}}}); // histogram to see how many events are in the same and mixed event
8787
}

0 commit comments

Comments
 (0)