Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// or submit itself to any jurisdiction.

///
/// \file LFKinkDecayTables.h
/// \brief Slim tables for kinks
/// \file LFSigmaHadTables.h
/// \brief Slim tables for Sigma-hadron pairs
/// \author Francesco Mazzaschi <francesco.mazzaschi@cern.ch>
///

Expand All @@ -22,50 +22,50 @@
#include "Framework/ASoAHelpers.h"
#include "Framework/AnalysisDataModel.h"

#ifndef PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
#define PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
#ifndef PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_
#define PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_

namespace o2::aod
{

namespace sigmaproton
{
DECLARE_SOA_COLUMN(ChargeSigma, chargeSigma, int); //! Charge of the sigma candidate
DECLARE_SOA_COLUMN(SigmaDecRad, sigmaDecRad, float); //! Decay radius of the Sigma candidate
DECLARE_SOA_COLUMN(SigmaCosPA, sigmaCosPA, float); //! Cosine of pointing angle of the Sigma candidate
DECLARE_SOA_COLUMN(ChargePr, chargePr, int); //! Charge of the proton candidate
DECLARE_SOA_COLUMN(PxPr, pxPr, float); //! Px of the proton candidate
DECLARE_SOA_COLUMN(PyPr, pyPr, float); //! Py of the proton candidate
DECLARE_SOA_COLUMN(PzPr, pzPr, float); //! Pz of the proton candidate
DECLARE_SOA_COLUMN(NSigmaTPCPr, nSigmaTPCPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TPC
DECLARE_SOA_COLUMN(NSigmaTOFPr, nSigmaTOFPr, float); //! Number of sigmas for the proton candidate from Sigma kink in TOF
DECLARE_SOA_COLUMN(ChargeSigma, chargeSigma, int); //! Charge of the sigma candidate
DECLARE_SOA_COLUMN(SigmaDecRad, sigmaDecRad, float); //! Decay radius of the Sigma candidate
DECLARE_SOA_COLUMN(SigmaCosPA, sigmaCosPA, float); //! Cosine of pointing angle of the Sigma candidate
DECLARE_SOA_COLUMN(ChargeHad, chargeHad, int); //! Charge of the hadron candidate
DECLARE_SOA_COLUMN(PxHad, pxHad, float); //! Px of the hadron candidate
DECLARE_SOA_COLUMN(PyHad, pyHad, float); //! Py of the hadron candidate
DECLARE_SOA_COLUMN(PzHad, pzHad, float); //! Pz of the hadron candidate
DECLARE_SOA_COLUMN(NSigmaTPCHad, nSigmaTPCHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TPC
DECLARE_SOA_COLUMN(NSigmaTOFHad, nSigmaTOFHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TOF

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

} // namespace sigmaproton

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

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

} // namespace o2::aod

#endif // PWGLF_DATAMODEL_LFSIGMAPROTONTABLES_H_
#endif // PWGLF_DATAMODEL_LFSIGMAHADTABLES_H_
4 changes: 2 additions & 2 deletions PWGLF/TableProducer/Strangeness/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ o2physics_add_dpl_workflow(lambdaspincorrelation
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(sigmaprotoncorr
SOURCES sigmaProtonCorr.cxx
o2physics_add_dpl_workflow(sigmahadcorr
SOURCES sigmaHadCorr.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand Down
Loading
Loading