|
13 | 13 | /// \author Francesca Ercolessi (francesca.ercolessi@cern.ch) |
14 | 14 | /// \since |
15 | 15 |
|
16 | | -#include "Framework/runDataProcessing.h" |
17 | | -#include "Framework/AnalysisTask.h" |
18 | | -#include "Common/DataModel/TrackSelectionTables.h" |
19 | 16 | #include "PWGLF/DataModel/LFStrangenessTables.h" |
20 | 17 | #include "PWGLF/DataModel/v0qaanalysis.h" |
| 18 | + |
21 | 19 | #include "Common/DataModel/EventSelection.h" |
22 | 20 | #include "Common/DataModel/PIDResponse.h" |
| 21 | +#include "Common/DataModel/TrackSelectionTables.h" |
| 22 | + |
23 | 23 | #include "CommonConstants/PhysicsConstants.h" |
| 24 | +#include "Framework/AnalysisTask.h" |
| 25 | +#include "Framework/runDataProcessing.h" |
24 | 26 |
|
25 | 27 | using namespace o2; |
26 | 28 | using namespace o2::framework; |
@@ -122,11 +124,11 @@ struct v0postprocessing { |
122 | 124 | registry.add("hMassLambda_MC", "hMassLambda", {HistType::kTH1F, {{200, 1.016f, 1.216f}}}); |
123 | 125 | registry.add("hMassVsPtLambdaVsCentFT0M_MC", ";p_{T} [GeV/c];M_{p^{+}#pi^{-}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {100, 0.f, 100.f}, {200, 1.016f, 1.216f}}}); |
124 | 126 | registry.add("hMassAntiLambda_MC", "hMassAntiLambda", {HistType::kTH1F, {{200, 1.016f, 1.216f}}}); |
125 | | - registry.add("hMassVsPtLambdaVsMotherPt_DoubleCharged_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (Xi);M_{p^{-}#pi^{+}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {200, 1.016f, 1.216f}}}); |
126 | | - registry.add("hMassVsPtLambdaVsMotherPt_MCRatio_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (Xi);M_{p^{-}#pi^{+}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {200, 1.016f, 1.216f}}}); |
| 127 | + registry.add("hFDVsPtLambdaVsMotherPt_DoubleCharged_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-}); percentile", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {100, 0.f, 100.f}}}); |
| 128 | + registry.add("hFDVsPtLambdaVsMotherPt_MCRatio_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-/0}); percentile", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {100, 0.f, 100.f}}}); |
127 | 129 | registry.add("hMassVsPtAntiLambdaVsCentFT0M_MC", ";p_{T} [GeV/c];M_{p^{-}#pi^{+}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {100, 0.f, 100.f}, {200, 1.016f, 1.216f}}}); |
128 | | - registry.add("hMassVsPtAntiLambdaVsMotherPt_DoubleCharged_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (Xi);M_{p^{-}#pi^{+}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {200, 1.016f, 1.216f}}}); |
129 | | - registry.add("hMassVsPtAntiLambdaVsMotherPt_MCRatio_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (Xi);M_{p^{-}#pi^{+}} [GeV/c^{2}]", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {200, 1.016f, 1.216f}}}); |
| 130 | + registry.add("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+});percentile", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {100, 0.f, 100.f}}}); |
| 131 | + registry.add("hFDVsPtAntiLambdaVsMotherPt_MCRatio_MC", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+/0});percentile", {HistType::kTH3F, {{250, 0.0f, 25.0f}, {250, 0.0f, 25.0f}, {100, 0.f, 100.f}}}); |
130 | 132 | } |
131 | 133 |
|
132 | 134 | if (doQA) { |
@@ -398,7 +400,7 @@ struct v0postprocessing { |
398 | 400 | if (candidate.v0cospa() > cospaK0s && |
399 | 401 | std::abs(candidate.rapk0short()) < rap && |
400 | 402 | candidate.ctauk0short() < ctauK0s && |
401 | | - std::abs(candidate.massk0short() - o2::constants::physics::MassK0Short) < 0.075 && |
| 403 | + std::abs(candidate.massk0short() - o2::constants::physics::MassK0Short) < 0.1 && |
402 | 404 | std::abs(candidate.masslambda() - o2::constants::physics::MassLambda0) > v0rejK0s && |
403 | 405 | std::abs(candidate.ntpcsigmanegpi()) <= ntpcsigma && |
404 | 406 | std::abs(candidate.ntpcsigmapospi()) <= ntpcsigma && |
@@ -448,20 +450,17 @@ struct v0postprocessing { |
448 | 450 | registry.fill(HIST("hMassVsPtLambda"), candidate.v0pt(), candidate.masslambda()); |
449 | 451 | registry.fill(HIST("hMassVsPtLambdaVsCentFT0M"), candidate.v0pt(), candidate.multft0m(), candidate.masslambda()); |
450 | 452 |
|
451 | | - if (isMC) { |
452 | | - |
453 | | - if (candidate.pdgcode() == 3122 && candidate.isdaulambda()) { |
454 | | - |
455 | | - if (candidate.isphysprimary() == 1) { |
456 | | - registry.fill(HIST("hMassLambda_MC"), candidate.masslambda()); |
457 | | - registry.fill(HIST("hMassVsPtLambdaVsCentFT0M_MC"), candidate.v0pt(), candidate.multft0m(), candidate.masslambda()); |
458 | | - } |
| 453 | + if (isMC && candidate.pdgcode() == 3122 && candidate.isdaulambda()) { |
459 | 454 |
|
| 455 | + if (candidate.isphysprimary() == 1) { |
| 456 | + registry.fill(HIST("hMassLambda_MC"), candidate.masslambda()); |
| 457 | + registry.fill(HIST("hMassVsPtLambdaVsCentFT0M_MC"), candidate.v0pt(), candidate.multft0m(), candidate.masslambda()); |
| 458 | + } else if (std::abs(candidate.masslambda() - o2::constants::physics::MassLambda0) < 0.01) { |
460 | 459 | if (candidate.pdgcodemother() == 3312) { |
461 | | - registry.fill(HIST("hMassVsPtLambdaVsMotherPt_DoubleCharged_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.masslambda()); |
| 460 | + registry.fill(HIST("hFDVsPtLambdaVsMotherPt_DoubleCharged_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.multft0m()); |
462 | 461 | } |
463 | 462 | if (candidate.pdgcodemother() == 3312 || candidate.pdgcodemother() == 3322) { |
464 | | - registry.fill(HIST("hMassVsPtLambdaVsMotherPt_MCRatio_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.masslambda()); |
| 463 | + registry.fill(HIST("hFDVsPtLambdaVsMotherPt_MCRatio_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.multft0m()); |
465 | 464 | } |
466 | 465 | } |
467 | 466 | } |
@@ -489,18 +488,18 @@ struct v0postprocessing { |
489 | 488 | registry.fill(HIST("hMassVsPtAntiLambda"), candidate.v0pt(), candidate.massantilambda()); |
490 | 489 | registry.fill(HIST("hMassVsPtAntiLambdaVsCentFT0M"), candidate.v0pt(), candidate.multft0m(), candidate.massantilambda()); |
491 | 490 |
|
492 | | - if (candidate.pdgcode() == -3122 && candidate.isdauantilambda()) { |
| 491 | + if (isMC && candidate.pdgcode() == -3122 && candidate.isdauantilambda()) { |
493 | 492 |
|
494 | 493 | if (candidate.isphysprimary() == 1) { |
495 | 494 | registry.fill(HIST("hMassAntiLambda_MC"), candidate.massantilambda()); |
496 | 495 | registry.fill(HIST("hMassVsPtAntiLambdaVsCentFT0M_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.massantilambda()); |
497 | | - } |
498 | | - |
499 | | - if (candidate.pdgcodemother() == -3312) { |
500 | | - registry.fill(HIST("hMassVsPtAntiLambdaVsMotherPt_DoubleCharged_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.massantilambda()); |
501 | | - } |
502 | | - if (candidate.pdgcodemother() == -3312 || candidate.pdgcodemother() == -3322) { |
503 | | - registry.fill(HIST("hMassVsPtAntiLambdaVsMotherPt_MCRatio_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.massantilambda()); |
| 496 | + } else if (std::abs(candidate.massantilambda() - o2::constants::physics::MassLambda0) < 0.01) { |
| 497 | + if (candidate.pdgcodemother() == -3312) { |
| 498 | + registry.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.multft0m()); |
| 499 | + } |
| 500 | + if (candidate.pdgcodemother() == -3312 || candidate.pdgcodemother() == -3322) { |
| 501 | + registry.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_MCRatio_MC"), candidate.v0pt(), candidate.v0motherpt(), candidate.multft0m()); |
| 502 | + } |
504 | 503 | } |
505 | 504 | } |
506 | 505 |
|
|
0 commit comments