|
15 | 15 | /// |
16 | 16 | /// \author Mattia Faggin <mfaggin@cern.ch>, University and INFN PADOVA |
17 | 17 |
|
| 18 | +#include <vector> |
| 19 | + |
18 | 20 | #include "CommonConstants/PhysicsConstants.h" |
19 | 21 | #include "Framework/AnalysisTask.h" |
20 | 22 | #include "Framework/HistogramRegistry.h" |
|
24 | 26 | #include "PWGHF/DataModel/CandidateReconstructionTables.h" |
25 | 27 | #include "PWGHF/DataModel/CandidateSelectionTables.h" |
26 | 28 |
|
27 | | -#include <vector> |
28 | | - |
29 | 29 | using namespace o2; |
30 | 30 | using namespace o2::analysis; |
31 | 31 | using namespace o2::framework; |
@@ -53,9 +53,14 @@ struct HfTaskSigmac { |
53 | 53 | /// consider the new parametrization of the fiducial acceptance (to be seen for reco signal in MC) |
54 | 54 | Configurable<float> yCandGenMax{"yCandGenMax", -1, "Maximum generated Sc rapidity"}; |
55 | 55 | Configurable<float> yCandRecoMax{"yCandRecoMax", -1, "Maximum Sc candidate rapidity"}; |
| 56 | + Configurable<bool> enableTHn{"enableTHn", false, "enable the usage of THn for Λc+ and Σc0,++"}; |
| 57 | + |
| 58 | + HfHelper hfHelper; |
| 59 | + bool isMc; |
| 60 | + |
| 61 | + using RecoLc = soa::Join<aod::HfCand3Prong, aod::HfSelLc>; |
56 | 62 |
|
57 | 63 | /// THn for candidate Λc+ and Σc0,++ cut variation |
58 | | - Configurable<bool> enableTHn{"enableTHn", false, "enable the usage of THn for Λc+ and Σc0,++"}; |
59 | 64 | ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {16, 0, 16}, ""}; |
60 | 65 | ConfigurableAxis thnConfigAxisGenPt{"thnConfigAxisGenPt", {240, 0, 24}, "Gen pt prompt"}; |
61 | 66 | ConfigurableAxis thnConfigAxisGenPtB{"thnConfigAxisGenPtB", {800, 0, 80}, "Gen pt non-prompt"}; |
@@ -85,8 +90,6 @@ struct HfTaskSigmac { |
85 | 90 | const AxisSpec thnAxisGenPtSigmaCBMother{thnConfigAxisGenPtB, "#it{p}_{T}^{gen}(#Sigma_{c}^{0,++} B mother) (GeV/#it{c})"}; |
86 | 91 | const AxisSpec thnAxisGenSigmaCSpecies = {o2::hf_sigmactask::Species::NSpecies, -0.5f, +o2::hf_sigmactask::Species::NSpecies - 0.5f, "bin 1: #Sigma_{c}(2455), bin 2: #Sigma_{c}(2520)"}; |
87 | 92 |
|
88 | | - HfHelper hfHelper; |
89 | | - |
90 | 93 | /// analysis histograms |
91 | 94 | HistogramRegistry registry{ |
92 | 95 | "registry", |
@@ -130,10 +133,6 @@ struct HfTaskSigmac { |
130 | 133 | {"Data/hPhiLcFromSc0PlusPlus", "#Lambda_{c}^{+} #leftarrow #Sigma_{c}^{0,++} candidates; #varphi(#Lambda_{c}^{+} #leftarrow #Sigma_{c}^{0,++}); entries;", {HistType::kTH1D, {{72, 0, constants::math::TwoPI}}}}}}; |
131 | 134 | //{"Data/hDeltaMassLcFromSc0PlusPlus", "#Lambda_{c}^{+} #leftarrow #Sigma_{c}^{0,++} candidates; #it{M}(pK#pi#pi) - #it{M}(pK#pi) (GeV/#it{c}^{2}); #it{p}_{T}(#Lambda_{c}^{+} #leftarrow #Sigma_{c}^{0,++}) (GeV/#it{c});", {HistType::kTH2D, {axisDeltaMassSigmaC, {36, 0., 36.}}}}}}; |
132 | 135 |
|
133 | | - using RecoLc = soa::Join<aod::HfCand3Prong, aod::HfSelLc>; |
134 | | - |
135 | | - bool isMc; |
136 | | - |
137 | 136 | /// @brief init function, to define the additional analysis histograms |
138 | 137 | /// @param |
139 | 138 | void init(InitContext&) |
|
0 commit comments