Skip to content

Commit 2df3a00

Browse files
author
Francesco Mazzaschi
committed
Adapt task to study sigma-pion correlations
1 parent f4f2e42 commit 2df3a00

File tree

4 files changed

+765
-572
lines changed

4 files changed

+765
-572
lines changed
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// or submit itself to any jurisdiction.
1111

1212
///
13-
/// \file LFKinkDecayTables.h
14-
/// \brief Slim tables for kinks
13+
/// \file LFSigmaHadTables.h
14+
/// \brief Slim tables for Sigma-hadron pairs
1515
/// \author Francesco Mazzaschi <francesco.mazzaschi@cern.ch>
1616
///
1717

@@ -22,50 +22,50 @@
2222
#include "Framework/ASoAHelpers.h"
2323
#include "Framework/AnalysisDataModel.h"
2424

25-
#ifndef PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
26-
#define PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
25+
#ifndef PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_
26+
#define PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_
2727

2828
namespace o2::aod
2929
{
3030

3131
namespace sigmaproton
3232
{
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(SigmaCosPA, sigmaCosPA, float); //! Cosine of pointing angle of the Sigma candidate
36-
DECLARE_SOA_COLUMN(ChargePr, chargePr, int); //! Charge of the proton candidate
37-
DECLARE_SOA_COLUMN(PxPr, pxPr, float); //! Px of the proton candidate
38-
DECLARE_SOA_COLUMN(PyPr, pyPr, float); //! Py of the proton candidate
39-
DECLARE_SOA_COLUMN(PzPr, pzPr, float); //! Pz of the proton candidate
40-
DECLARE_SOA_COLUMN(NSigmaTPCPr, nSigmaTPCPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TPC
41-
DECLARE_SOA_COLUMN(NSigmaTOFPr, nSigmaTOFPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TOF
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(SigmaCosPA, sigmaCosPA, float); //! Cosine of pointing angle of the Sigma candidate
36+
DECLARE_SOA_COLUMN(ChargeHad, chargeHad, int); //! Charge of the hadron candidate
37+
DECLARE_SOA_COLUMN(PxHad, pxHad, float); //! Px of the hadron candidate
38+
DECLARE_SOA_COLUMN(PyHad, pyHad, float); //! Py of the hadron candidate
39+
DECLARE_SOA_COLUMN(PzHad, pzHad, float); //! Pz of the hadron candidate
40+
DECLARE_SOA_COLUMN(NSigmaTPCHad, nSigmaTPCHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TPC
41+
DECLARE_SOA_COLUMN(NSigmaTOFHad, nSigmaTOFHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TOF
4242

4343
// MC Columns
4444
DECLARE_SOA_COLUMN(SigmaPDG, sigmaPDG, int); //! PDG code of the Sigma daughter
4545
DECLARE_SOA_COLUMN(DaughterPDG, daughterPDG, int); //! PDG code of the kink daughter
46-
DECLARE_SOA_COLUMN(PrPDG, prPDG, int); //! PDG code of the proton candidate
46+
DECLARE_SOA_COLUMN(HadPDG, hadPDG, int); //! PDG code of the hadron candidate
4747
DECLARE_SOA_COLUMN(SigmaGenPt, sigmaGenPt, float); //! Generated pT of the Sigma candidate
48-
DECLARE_SOA_COLUMN(PrGenPt, prGenPt, float); //! Generated pT of the proton candidate
49-
DECLARE_SOA_COLUMN(GenKStar, genKStar, float); //! Generated k* of the Sigma-Proton pair
48+
DECLARE_SOA_COLUMN(HadGenPt, hadGenPt, float); //! Generated pT of the hadron candidate
49+
DECLARE_SOA_COLUMN(GenKStar, genKStar, float); //! Generated k* of the Sigma-hadron pair
5050

5151
} // namespace sigmaproton
5252

5353
DECLARE_SOA_TABLE(SigmaProtonCands, "AOD", "SIGMAPROTONCANDS",
5454
o2::soa::Index<>,
5555
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
5656
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, sigmaproton::SigmaCosPA,
57-
sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr,
58-
sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr);
57+
sigmaproton::ChargeHad, sigmaproton::PxHad, sigmaproton::PyHad, sigmaproton::PzHad,
58+
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad);
5959

6060
DECLARE_SOA_TABLE(SigmaProtonMCCands, "AOD", "SIGMAPROTONMCCANDS",
6161
o2::soa::Index<>,
6262
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
6363
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, sigmaproton::SigmaCosPA,
64-
sigmaproton::ChargePr, sigmaproton::PxPr, sigmaproton::PyPr, sigmaproton::PzPr,
65-
sigmaproton::NSigmaTPCPr, sigmaproton::NSigmaTOFPr,
66-
sigmaproton::SigmaPDG, sigmaproton::DaughterPDG, sigmaproton::PrPDG,
67-
sigmaproton::SigmaGenPt, sigmaproton::PrGenPt, sigmaproton::GenKStar);
64+
sigmaproton::ChargeHad, sigmaproton::PxHad, sigmaproton::PyHad, sigmaproton::PzHad,
65+
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad,
66+
sigmaproton::SigmaPDG, sigmaproton::DaughterPDG, sigmaproton::HadPDG,
67+
sigmaproton::SigmaGenPt, sigmaproton::HadGenPt, sigmaproton::GenKStar);
6868

6969
} // namespace o2::aod
7070

71-
#endif // PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
71+
#endif // PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ o2physics_add_dpl_workflow(lambdaspincorrelation
162162
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
163163
COMPONENT_NAME Analysis)
164164

165-
o2physics_add_dpl_workflow(sigmaprotoncorr
166-
SOURCES sigmaProtonCorr.cxx
165+
o2physics_add_dpl_workflow(sigmahadcorr
166+
SOURCES sigmaHadCorr.cxx
167167
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
168168
COMPONENT_NAME Analysis)
169169

0 commit comments

Comments
 (0)