|
49 | 49 | #include <TPDGCode.h> |
50 | 50 | #include <TProfile.h> |
51 | 51 |
|
52 | | -#include <vector> |
53 | | -#include <unordered_map> |
54 | 52 | #include <array> |
55 | 53 | #include <cmath> |
56 | 54 | #include <cstdlib> |
57 | 55 | #include <string> |
| 56 | +#include <unordered_map> |
| 57 | +#include <vector> |
58 | 58 |
|
59 | 59 | using namespace o2; |
60 | 60 | using namespace o2::framework; |
@@ -132,7 +132,6 @@ struct sigmaanalysis { |
132 | 132 | Configurable<float> mc_rapidityMin{"mc_rapidityMin", -0.5, "Min generated particle rapidity"}; |
133 | 133 | Configurable<float> mc_rapidityMax{"mc_rapidityMax", 0.5, "Max generated particle rapidity"}; |
134 | 134 | } genSelections; |
135 | | - |
136 | 135 |
|
137 | 136 | // QA |
138 | 137 | Configurable<bool> fdoSigma0QA{"doSigma0QA", false, "if true, perform Sigma0 QA analysis. Only works with MC."}; |
@@ -552,8 +551,7 @@ struct sigmaanalysis { |
552 | 551 | histos.add("Gen/h2dGenAntiSigma0VsMultMC_RecoedEvt", "h2dGenAntiSigma0VsMultMC_RecoedEvt", kTH2D, {axisNch, axisPt}); |
553 | 552 | histos.add("Gen/h2dGenSigma0VsMultMC", "h2dGenSigma0VsMultMC", kTH2D, {axisNch, axisPt}); |
554 | 553 | histos.add("Gen/h2dGenAntiSigma0VsMultMC", "h2dGenAntiSigma0VsMultMC", kTH2D, {axisNch, axisPt}); |
555 | | - |
556 | | - } |
| 554 | + } |
557 | 555 | if (doprocessPi0GeneratedRun3) { // Pi0 specific |
558 | 556 | histos.add("Gen/h2dGenPi0VsMultMC_RecoedEvt", "h2dGenPi0VsMultMC_RecoedEvt", kTH2D, {axisNch, axisPt}); |
559 | 557 | histos.add("Gen/h2dGenPi0", "h2dGenPi0", kTH2D, {axisCentrality, axisPt}); |
@@ -1267,7 +1265,7 @@ struct sigmaanalysis { |
1267 | 1265 | auto sigma0mc = fullSigma0s.rawIteratorAt(sigma0Index[mcid]); |
1268 | 1266 | histos.fill(HIST("Sigma0QA/hDuplicates"), NDuplicates); // how many times a mc sigma0 was reconstructed |
1269 | 1267 |
|
1270 | | - if (sigma0mc.isSigma0()) |
| 1268 | + if (sigma0mc.isSigma0()) |
1271 | 1269 | histos.fill(HIST("Sigma0QA/hSigma0Duplicates"), NDuplicates); // how many times a mc sigma0 was reconstructed |
1272 | 1270 |
|
1273 | 1271 | if (sigma0mc.isAntiSigma0()) |
@@ -1733,4 +1731,3 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) |
1733 | 1731 | { |
1734 | 1732 | return WorkflowSpec{adaptAnalysisTask<sigmaanalysis>(cfgc)}; |
1735 | 1733 | } |
1736 | | - |
0 commit comments