Skip to content

Commit 8fc541a

Browse files
author
Francesco Mazzaschi
committed
Add sigma-proton correlation study
1 parent b1b31e2 commit 8fc541a

File tree

3 files changed

+516
-0
lines changed

3 files changed

+516
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
///
13+
/// \file LFKinkDecayTables.h
14+
/// \brief Slim tables for kinks
15+
/// \author Francesco Mazzaschi <francesco.mazzaschi@cern.ch>
16+
///
17+
18+
#include "PWGLF/DataModel/LFKinkDecayTables.h"
19+
20+
#include "Common/Core/RecoDecay.h"
21+
22+
#include "Framework/ASoAHelpers.h"
23+
#include "Framework/AnalysisDataModel.h"
24+
25+
#ifndef PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
26+
#define PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
27+
28+
namespace o2::aod
29+
{
30+
31+
namespace sigmaproton
32+
{
33+
DECLARE_SOA_COLUMN(ChargeSigma, chargeSigma, int); //! Charge of the sigma candidate
34+
DECLARE_SOA_COLUMN(SigmaDecRad, sigmaDecRad, float); //! Decay radius of the Sigma candidate
35+
DECLARE_SOA_COLUMN(ChargePr, chargePr, int); //! Charge of the proton candidate
36+
DECLARE_SOA_COLUMN(PxPr, pxPr, float); //! Px of the proton candidate
37+
DECLARE_SOA_COLUMN(PyPr, pyPr, float); //! Py of the proton candidate
38+
DECLARE_SOA_COLUMN(PzPr, pzPr, float); //! Pz of the proton candidate
39+
DECLARE_SOA_COLUMN(NSigmaTPCPr, nSigmaTPCPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TPC
40+
DECLARE_SOA_COLUMN(NSigmaTOFPr, nSigmaTOFPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TOF
41+
42+
// MC Columns
43+
DECLARE_SOA_COLUMN(SigmaPDG, sigmaPDG, int); //! PDG code of the Sigma daughter
44+
DECLARE_SOA_COLUMN(DaughterPDG, daughterPDG, int); //! PDG code of the kink daughter
45+
DECLARE_SOA_COLUMN(PrPDG, prPDG, int); //! PDG code of the proton candidate
46+
47+
} // namespace sigmaproton
48+
49+
DECLARE_SOA_TABLE(SigmaProtonCands, "AOD", "SIGMAPROTONCANDS",
50+
o2::soa::Index<>,
51+
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
52+
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad,
53+
sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr,
54+
sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr);
55+
56+
DECLARE_SOA_TABLE(SigmaProtonMCCands, "AOD", "SIGMAPROTONMCCANDS",
57+
o2::soa::Index<>,
58+
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
59+
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad,
60+
sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr,
61+
sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr,
62+
sigmaproton::SigmaPDG, sigmaproton::DaughterPDG, sigmaproton::PrPDG);
63+
64+
} // namespace o2::aod
65+
66+
#endif // PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ o2physics_add_dpl_workflow(lambdaspincorrelation
157157
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
158158
COMPONENT_NAME Analysis)
159159

160+
o2physics_add_dpl_workflow(sigmaprotoncorr
161+
SOURCES sigmaProtonCorr.cxx
162+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
163+
COMPONENT_NAME Analysis)
164+
160165
if(FastJet_FOUND)
161166
o2physics_add_dpl_workflow(lfinjets
162167
SOURCES lfinjets.cxx

0 commit comments

Comments
 (0)