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
72 changes: 0 additions & 72 deletions PWGLF/DataModel/LFDoubleCascTables.h

This file was deleted.

85 changes: 85 additions & 0 deletions PWGLF/DataModel/LFDoubleOmegaTables.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// 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.

#ifndef PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_
#define PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_

#include <Framework/AnalysisDataModel.h>

namespace o2::aod
{

namespace DoubleOmegaTables
{
DECLARE_SOA_COLUMN(PtDoubleOmega, ptDoubleOmega, float);
DECLARE_SOA_COLUMN(EtaDoubleOmega, etaDoubleOmega, float);
DECLARE_SOA_COLUMN(PhiDoubleOmega, phiDoubleOmega, float);
DECLARE_SOA_COLUMN(DecayVtxX, decayVtxX, float);
DECLARE_SOA_COLUMN(DecayVtxY, decayVtxY, float);
DECLARE_SOA_COLUMN(DecayVtxZ, decayVtxZ, float);
DECLARE_SOA_COLUMN(CosPAOmega, cosPAOmega, float);
DECLARE_SOA_COLUMN(CosPADirectLambda, cosPADirectLambda, float);
DECLARE_SOA_COLUMN(CosPADoubleOmega, cosPADoubleOmega, float);
DECLARE_SOA_COLUMN(DCAxyOmegaToPV, dcaXYOmegaToPV, float);

Check failure on line 31 in PWGLF/DataModel/LFDoubleOmegaTables.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(DCAzOmegaToPV, dcaZOmegaToPV, float);

Check failure on line 32 in PWGLF/DataModel/LFDoubleOmegaTables.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(DCAxyDirectLambdaToPV, dcaXYDirectLambdaToPV, float);

Check failure on line 33 in PWGLF/DataModel/LFDoubleOmegaTables.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(DCAzDirectLambdaToPV, dcaZDirectLambdaToPV, float);

Check failure on line 34 in PWGLF/DataModel/LFDoubleOmegaTables.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(DCAxyDirectKaonToPV, dcaXYDirectKaonToPV, float);

Check failure on line 35 in PWGLF/DataModel/LFDoubleOmegaTables.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(DCAzDirectKaonToPV, dcaZDirectKaonToPV, float);

Check failure on line 36 in PWGLF/DataModel/LFDoubleOmegaTables.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(MassDoubleOmega, massDoubleOmega, float);
DECLARE_SOA_COLUMN(MassOmega, massOmega, float);
DECLARE_SOA_COLUMN(MassXi, massXi, float);

DECLARE_SOA_COLUMN(GenPt, genPt, float);
DECLARE_SOA_COLUMN(GenEta, genEta, float);
DECLARE_SOA_COLUMN(GenPhi, genPhi, float);
DECLARE_SOA_COLUMN(GenDecayLength, genDecayLength, float);
DECLARE_SOA_COLUMN(PdgDoubleOmega, pdgDoubleOmega, int);
DECLARE_SOA_COLUMN(IsReco, isReco, bool);
} // namespace DoubleOmegaTables

#define DOUBLE_OMEGA_RECO_COLUMNS \
DoubleOmegaTables::PtDoubleOmega, \
DoubleOmegaTables::EtaDoubleOmega, \
DoubleOmegaTables::PhiDoubleOmega, \
DoubleOmegaTables::DecayVtxX, \
DoubleOmegaTables::DecayVtxY, \
DoubleOmegaTables::DecayVtxZ, \
DoubleOmegaTables::CosPAOmega, \
DoubleOmegaTables::CosPADirectLambda, \
DoubleOmegaTables::CosPADoubleOmega, \
DoubleOmegaTables::DCAxyOmegaToPV, \
DoubleOmegaTables::DCAzOmegaToPV, \
DoubleOmegaTables::DCAxyDirectLambdaToPV, \
DoubleOmegaTables::DCAzDirectLambdaToPV, \
DoubleOmegaTables::DCAxyDirectKaonToPV, \
DoubleOmegaTables::DCAzDirectKaonToPV, \
DoubleOmegaTables::MassDoubleOmega, \
DoubleOmegaTables::MassOmega, \
DoubleOmegaTables::MassXi

DECLARE_SOA_TABLE(DoubleOmegaTable, "AOD", "DOUBLEOMEGATABLE",
DOUBLE_OMEGA_RECO_COLUMNS);

DECLARE_SOA_TABLE(DoubleOmegaTableMC, "AOD", "DBLOMEGAMCTABLE",
DOUBLE_OMEGA_RECO_COLUMNS,
DoubleOmegaTables::GenPt,
DoubleOmegaTables::GenEta,
DoubleOmegaTables::GenPhi,
DoubleOmegaTables::GenDecayLength,
DoubleOmegaTables::PdgDoubleOmega,
DoubleOmegaTables::IsReco);

#undef DOUBLE_OMEGA_RECO_COLUMNS

} // namespace o2::aod

#endif // PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_
4 changes: 2 additions & 2 deletions PWGLF/TableProducer/Strangeness/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ o2physics_add_dpl_workflow(hstrangecorrelationfilter
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(double-casc-tree-creator
SOURCES doubleCascTreeCreator.cxx
o2physics_add_dpl_workflow(double-omega-tree-creator
SOURCES doubleOmegaTreeCreator.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

Expand Down
Loading
Loading