Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xi QA & some minor fix #318

Closed
wants to merge 8 commits into from
Closed
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
7 changes: 5 additions & 2 deletions ALICE3/DataModel/A3DecayFinderTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,18 @@ enum a3selectionBit : uint32_t { kDCAxy = 0,
kTruePrPlusFromLc,
kTruePiMinusFromLc,
kTrueKaMinusFromLc,
kTruePrMinusFromLc };
kTruePrMinusFromLc,
kTrueXiFromXiC,
kTruePiFromXiC,
kTruePiFromXiCC };

namespace o2::aod
{
namespace a3DecayMap
{
DECLARE_SOA_COLUMN(DecayMap, decayMap, uint32_t); //! simple map to process passing / not passing criteria
} // namespace a3DecayMap
DECLARE_SOA_TABLE(Alice3DecayMaps, "AOD", "ALICE3DECAYMAP",
DECLARE_SOA_TABLE(Alice3DecayMaps, "AOD", "ALICE3DECAYMAPS",
a3DecayMap::DecayMap);

using Alice3DecayMap = Alice3DecayMaps::iterator;
Expand Down
57 changes: 57 additions & 0 deletions ALICE3/DataModel/OTFMulticharm.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// 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 OTFStrangeness.h
/// \author David Dobrigkeit Chinellato
/// \since 05/08/2024
/// \brief Set of tables for the ALICE3 strangeness information
///

#ifndef ALICE3_DATAMODEL_OTFMULTICHARM_H_
#define ALICE3_DATAMODEL_OTFMULTICHARM_H_

// O2 includes
#include "Framework/AnalysisDataModel.h"

namespace o2::aod
{
namespace otfmulticharm
{
DECLARE_SOA_INDEX_COLUMN_FULL(Cascade, cascade, int, UpgradeCascades, "_Cascade");
DECLARE_SOA_INDEX_COLUMN_FULL(XiCPion1, xiCPion1, int, Tracks, "_Pi1XiC");
DECLARE_SOA_INDEX_COLUMN_FULL(XiCPion2, xiCPion2, int, Tracks, "_Pi2XiC");
DECLARE_SOA_INDEX_COLUMN_FULL(XiCCPion, xiCCPion, int, Tracks, "_PiXiCC");

// topo vars
DECLARE_SOA_COLUMN(DCAXiCDaughters, dcaXiCDaughters, float);
DECLARE_SOA_COLUMN(DCAXiCCDaughters, dcaXiCCDaughters, float);

DECLARE_SOA_COLUMN(MXiC, mXiC, float);
DECLARE_SOA_COLUMN(MXiCC, mXiCC, float);

} // namespace otfmulticharm
DECLARE_SOA_TABLE(MultiCharmStates, "AOD", "MultiCharmStates",
o2::soa::Index<>,
otfcascade::CascadeId,
otfcascade::XiCPion1Id,
otfcascade::XiCPion2Id,
otfcascade::XiCCPionId,
otfcascade::DCAXiCDaughters,
otfcascade::DCAXiCCDaughters,
otfcascade::MXiC,
otfcascade::MXiCC);

using MultiCharmState = MultiCharmState::iterator;

} // namespace o2::aod

#endif // ALICE3_DATAMODEL_OTFMULTICHARM_H_
70 changes: 70 additions & 0 deletions ALICE3/DataModel/OTFStrangeness.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// 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 OTFStrangeness.h
/// \author David Dobrigkeit Chinellato
/// \since 05/08/2024
/// \brief Set of tables for the ALICE3 strangeness information
///

#ifndef ALICE3_DATAMODEL_OTFSTRANGENESS_H_
#define ALICE3_DATAMODEL_OTFSTRANGENESS_H_

// O2 includes
#include "Framework/AnalysisDataModel.h"

namespace o2::aod
{
namespace otfcascade
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //!
DECLARE_SOA_INDEX_COLUMN_FULL(CascadeTrack, cascadeTrack, int, Tracks, "_Cascade"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrack, posTrack, int, Tracks, "_Pos"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrack, negTrack, int, Tracks, "_Neg"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(BachTrack, bachTrack, int, Tracks, "_Bach"); //!

// topo vars
DECLARE_SOA_COLUMN(DCAV0Daughters, dcaV0Daughters, float);
DECLARE_SOA_COLUMN(DCACascadeDaughters, dcaCascadeDaughters, float);
DECLARE_SOA_COLUMN(V0Radius, v0Radius, float);
DECLARE_SOA_COLUMN(CascRadius, cascRadius, float);
DECLARE_SOA_COLUMN(CascRadiusMC, cascRadiusMC, float);
DECLARE_SOA_COLUMN(MLambda, mLambda, float);
DECLARE_SOA_COLUMN(MXi, mXi, float);

// strangeness tracking
DECLARE_SOA_COLUMN(FindableClusters, findableClusters, int);
DECLARE_SOA_COLUMN(FoundClusters, foundClusters, int);

} // namespace otfcascade
DECLARE_SOA_TABLE(UpgradeCascades, "AOD", "UPGRADECASCADES",
o2::soa::Index<>,
otfcascade::CollisionId,
otfcascade::CascadeTrackId,
otfcascade::PosTrackId,
otfcascade::NegTrackId,
otfcascade::BachTrackId,
otfcascade::DCAV0Daughters,
otfcascade::DCACascadeDaughters,
otfcascade::V0Radius,
otfcascade::CascRadius,
otfcascade::CascRadiusMC,
otfcascade::MLambda,
otfcascade::MXi,
otfcascade::FindableClusters,
otfcascade::FoundClusters);

using UpgradeCascade = UpgradeCascades::iterator;

} // namespace o2::aod

#endif // ALICE3_DATAMODEL_OTFSTRANGENESS_H_
9 changes: 9 additions & 0 deletions ALICE3/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,17 @@ o2physics_add_dpl_workflow(alice3-centrality
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(alice3-decaypreselector
SOURCES alice3-decaypreselector.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(alice3-decayfinder
SOURCES alice3-decayfinder.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(alice3-multicharm
SOURCES alice3-multicharm.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)
2 changes: 1 addition & 1 deletion ALICE3/TableProducer/OTF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

o2physics_add_dpl_workflow(onthefly-tracker
SOURCES onTheFlyTracker.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2::ReconstructionDataFormats O2::DetectorsCommonDataFormats O2::DetectorsVertexing O2Physics::ALICE3Core
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2::ReconstructionDataFormats O2::DetectorsCommonDataFormats O2::DetectorsVertexing O2::DCAFitter O2Physics::ALICE3Core
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(onthefly-tofpid
Expand Down
Loading
Loading