Skip to content
Merged
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
101 changes: 101 additions & 0 deletions PWGLF/DataModel/LFCKSSpinalignmentTables.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

/// \file LFCKSSpinalignmentTables.h
/// \brief DataModel for Charged KStar spin alignment
///
/// \author Prottay Das <prottay.das@cern.ch>

#ifndef PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_
#define PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_

#include "Common/Core/RecoDecay.h"
#include "Common/DataModel/Centrality.h"
#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponse.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"

#include <cmath>

namespace o2::aod
{
namespace kshortpionevent
{
DECLARE_SOA_COLUMN(Cent, cent, float);
DECLARE_SOA_COLUMN(CollIndex, collIndex, float);
DECLARE_SOA_COLUMN(PsiFT0C, psiFT0C, float);
DECLARE_SOA_COLUMN(PsiFT0A, psiFT0A, float);
DECLARE_SOA_COLUMN(PsiTPC, psiTPC, float);
} // namespace kshortpionevent
DECLARE_SOA_TABLE(KShortpionEvents, "AOD", "KSHORTPIONEVENT",
o2::soa::Index<>,
kshortpionevent::Cent,
kshortpionevent::CollIndex,
kshortpionevent::PsiFT0C,
kshortpionevent::PsiFT0A,
kshortpionevent::PsiTPC)
using KShortpionEvent = KShortpionEvents::iterator;

namespace kshortpionpair
{
DECLARE_SOA_INDEX_COLUMN(KShortpionEvent, kshortpionevent);

Check failure on line 52 in PWGLF/DataModel/LFCKSSpinalignmentTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-column]

Use UpperCamelCase for names of O2 columns and matching lowerCamelCase names for their getters.
DECLARE_SOA_COLUMN(V0Cospa, v0Cospa, float); //! V0 Cospa
DECLARE_SOA_COLUMN(V0Radius, v0Radius, float); //! V0 Radius
DECLARE_SOA_COLUMN(DcaPositive, dcaPositive, float); //! DCA Positive
DECLARE_SOA_COLUMN(DcaNegative, dcaNegative, float); //! DCA Negative
DECLARE_SOA_COLUMN(DcaBetweenDaughter, dcaBetweenDaughter, float); //! DCA between daughters
DECLARE_SOA_COLUMN(V0Lifetime, v0Lifetime, float); //! KShort lifetime
DECLARE_SOA_COLUMN(KShortPx, kShortPx, float); //! KShort Px
DECLARE_SOA_COLUMN(KShortPy, kShortPy, float); //! KShort Py
DECLARE_SOA_COLUMN(KShortPz, kShortPz, float); //! KShort Pz
DECLARE_SOA_COLUMN(KShortMass, kShortMass, float); //! KShort Mass
DECLARE_SOA_COLUMN(PionBachPx, pionBachPx, float); //! Bachelor Pion Px
DECLARE_SOA_COLUMN(PionBachPy, pionBachPy, float); //! Bachelor Pion Py
DECLARE_SOA_COLUMN(PionBachPz, pionBachPz, float); //! Bachelor Pion Pz
DECLARE_SOA_COLUMN(PionBachSign, pionBachSign, int); //! Bachelor Pion Sign
DECLARE_SOA_COLUMN(PionBachTPC, pionBachTPC, float); //! Bachelor Pion nsigmatpc
DECLARE_SOA_COLUMN(PionBachTOFHit, pionBachTOFHit, int); //! Bachelor Pion tof hit availability
DECLARE_SOA_COLUMN(PionBachTOF, pionBachTOF, float); //! Bachelor Pion nsigmatof
DECLARE_SOA_COLUMN(PionBachIndex, pionBachIndex, int); //! Bachelor Pion index
DECLARE_SOA_COLUMN(PionIndex1, pionIndex1, int); //! Daughter Pion index1
DECLARE_SOA_COLUMN(PionIndex2, pionIndex2, int); //! Daughter Pion index2
} // namespace kshortpionpair
DECLARE_SOA_TABLE(KShortpionPairs, "AOD", "KSHORTPIONPAIR",
o2::soa::Index<>,
kshortpionpair::KShortpionEventId,
kshortpionpair::V0Cospa,
kshortpionpair::V0Radius,
kshortpionpair::DcaPositive,
kshortpionpair::DcaNegative,
kshortpionpair::DcaBetweenDaughter,
kshortpionpair::V0Lifetime,
// kshortpionpair::Armenteros,
kshortpionpair::KShortPx,
kshortpionpair::KShortPy,
kshortpionpair::KShortPz,
kshortpionpair::KShortMass,
kshortpionpair::PionBachPx,
kshortpionpair::PionBachPy,
kshortpionpair::PionBachPz,
kshortpionpair::PionBachSign,
kshortpionpair::PionBachTPC,
kshortpionpair::PionBachTOFHit,
kshortpionpair::PionBachTOF,
kshortpionpair::PionBachIndex,
kshortpionpair::PionIndex1,
kshortpionpair::PionIndex2);

using KShortpionPair = KShortpionPairs::iterator;
} // namespace o2::aod
#endif // PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_
5 changes: 5 additions & 0 deletions PWGLF/TableProducer/Resonances/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGLF/TableProducer/Resonances/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Use kebab-case for names of workflows and match the name of the workflow file.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
Expand All @@ -10,7 +10,7 @@
# or submit itself to any jurisdiction.

# Resonances
o2physics_add_dpl_workflow(f1protoninitializer

Check failure on line 13 in PWGLF/TableProducer/Resonances/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name f1protoninitializer does not match its file name f1protonInitializer.cxx. (Matches f1protoninitializer.cxx.)
SOURCES f1protonInitializer.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)
Expand Down Expand Up @@ -40,12 +40,17 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(resonance-merge-df

Check failure on line 43 in PWGLF/TableProducer/Resonances/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name resonance-merge-df does not match its file name resonanceMergeDF.cxx. (Matches resonanceMergeDf.cxx.)
SOURCES resonanceMergeDF.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(heptaquarktable

Check failure on line 48 in PWGLF/TableProducer/Resonances/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name heptaquarktable does not match its file name HeptaQuarktable.cxx. (Matches heptaquarktable.cxx.)
SOURCES HeptaQuarktable.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(cksspinalignment
SOURCES cksspinalignment.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
Loading
Loading