Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
dd591bb
Add V0 association info in datamodel
gianniliveraro Mar 31, 2025
52f16c7
Add tracking info to datamodel
gianniliveraro Mar 31, 2025
b2b23b5
Mods in CTPFetcher + histo to get RunNumbers without IR info
gianniliveraro Mar 31, 2025
4ef4605
Process function to count generated events
gianniliveraro Apr 1, 2025
d81450b
Add Process_Switch
gianniliveraro Apr 1, 2025
1b0e517
Add processing of generated events + QA for builder output
gianniliveraro Apr 2, 2025
aeab843
More QA histos
gianniliveraro Apr 10, 2025
a73d69a
Improving histo filling logic + fixes + cleanup
gianniliveraro Apr 19, 2025
42febb7
Improving nested loops over gammas and lambdas (saves CPU) + putting …
gianniliveraro Apr 20, 2025
3aaff9a
Module to check v0 to collision association + minor changes
gianniliveraro Apr 21, 2025
2d97e3c
Removing deprecated event selection in sigmaanalysis
gianniliveraro Apr 21, 2025
2ac234a
Key improvements in sigmaanalysis logic and histogram filling
gianniliveraro Apr 24, 2025
92aeaeb
Grouping collisions manually to select gammas and lambdas + fixes in …
gianniliveraro Apr 24, 2025
1c19aae
Please consider the following formatting changes
alibuild Apr 24, 2025
1459ee1
Merge pull request #25 from alibuild/alibot-cleanup-10981
gianniliveraro Apr 24, 2025
a109bfd
Removing unnecessary track check + just one loop over V0s
gianniliveraro Apr 25, 2025
a7d57fb
Please consider the following formatting changes
alibuild Apr 25, 2025
3861b86
Merge pull request #26 from alibuild/alibot-cleanup-10981
gianniliveraro Apr 25, 2025
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
18 changes: 16 additions & 2 deletions PWGLF/DataModel/LFSigmaTables.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 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.
Expand All @@ -8,7 +8,7 @@
// 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.

Check failure on line 11 in PWGLF/DataModel/LFSigmaTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \author is missing, incorrect or misplaced.

Check failure on line 11 in PWGLF/DataModel/LFSigmaTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \brief is missing, incorrect or misplaced.

Check failure on line 11 in PWGLF/DataModel/LFSigmaTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.
#include <cmath>
#include <vector>
#include "Framework/AnalysisDataModel.h"
Expand All @@ -27,7 +27,7 @@
{

// for real data
namespace sigma0Core

Check failure on line 30 in PWGLF/DataModel/LFSigmaTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/namespace]

Use snake_case for names of namespaces. Double underscores are not allowed.
{
DECLARE_SOA_COLUMN(SigmapT, sigmapT, float);
DECLARE_SOA_COLUMN(SigmaMass, sigmaMass, float);
Expand All @@ -36,6 +36,7 @@
DECLARE_SOA_COLUMN(SigmaCentrality, sigmaCentrality, float);
DECLARE_SOA_COLUMN(SigmaRunNumber, sigmaRunNumber, int);
DECLARE_SOA_COLUMN(SigmaTimestamp, sigmaTimestamp, uint64_t);
DECLARE_SOA_COLUMN(SigmaIR, sigmaIR, float);

} // namespace sigma0Core

Expand All @@ -46,10 +47,11 @@
sigma0Core::SigmaOPAngle,
sigma0Core::SigmaCentrality,
sigma0Core::SigmaRunNumber,
sigma0Core::SigmaTimestamp);
sigma0Core::SigmaTimestamp,
sigma0Core::SigmaIR);

// For Photon extra info
namespace sigmaPhotonExtra

Check failure on line 54 in PWGLF/DataModel/LFSigmaTables.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/namespace]

Use snake_case for names of namespaces. Double underscores are not allowed.
{
DECLARE_SOA_COLUMN(PhotonPt, photonPt, float);
DECLARE_SOA_COLUMN(PhotonMass, photonMass, float);
Expand Down Expand Up @@ -81,6 +83,8 @@
DECLARE_SOA_COLUMN(PhotonNegITSCls, photonNegITSCls, int);
DECLARE_SOA_COLUMN(PhotonPosITSChi2PerNcl, photonPosITSChi2PerNcl, float);
DECLARE_SOA_COLUMN(PhotonNegITSChi2PerNcl, photonNegITSChi2PerNcl, float);
DECLARE_SOA_COLUMN(PhotonPosTrackCode, photonPosTrackCode, uint8_t);
DECLARE_SOA_COLUMN(PhotonNegTrackCode, photonNegTrackCode, uint8_t);
DECLARE_SOA_COLUMN(PhotonV0Type, photonV0Type, uint8_t);
DECLARE_SOA_COLUMN(GammaBDTScore, gammaBDTScore, float);

Expand Down Expand Up @@ -117,6 +121,8 @@
sigmaPhotonExtra::PhotonNegITSCls,
sigmaPhotonExtra::PhotonPosITSChi2PerNcl,
sigmaPhotonExtra::PhotonNegITSChi2PerNcl,
sigmaPhotonExtra::PhotonPosTrackCode,
sigmaPhotonExtra::PhotonNegTrackCode,
sigmaPhotonExtra::PhotonV0Type,
sigmaPhotonExtra::GammaBDTScore);

Expand All @@ -125,7 +131,7 @@
{
DECLARE_SOA_COLUMN(LambdaPt, lambdaPt, float);
DECLARE_SOA_COLUMN(LambdaMass, lambdaMass, float);
DECLARE_SOA_COLUMN(AntiLambdaMass, antilambdaMass, float);

Check failure on line 134 in PWGLF/DataModel/LFSigmaTables.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(LambdaQt, lambdaQt, float);
DECLARE_SOA_COLUMN(LambdaAlpha, lambdaAlpha, float);
DECLARE_SOA_COLUMN(LambdaLifeTime, lambdaLifeTime, float);
Expand Down Expand Up @@ -157,11 +163,13 @@
DECLARE_SOA_COLUMN(LambdaNegPiY, lambdaNegPiY, float);
DECLARE_SOA_COLUMN(LambdaPosITSCls, lambdaPosITSCls, int);
DECLARE_SOA_COLUMN(LambdaNegITSCls, lambdaNegITSCls, int);
DECLARE_SOA_COLUMN(LambdaPosITSChi2PerNcl, lambdaPosChi2PerNcl, float);

Check failure on line 166 in PWGLF/DataModel/LFSigmaTables.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(LambdaNegITSChi2PerNcl, lambdaNegChi2PerNcl, float);

Check failure on line 167 in PWGLF/DataModel/LFSigmaTables.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(LambdaPosTrackCode, lambdaPosTrackCode, uint8_t);
DECLARE_SOA_COLUMN(LambdaNegTrackCode, lambdaNegTrackCode, uint8_t);
DECLARE_SOA_COLUMN(LambdaV0Type, lambdaV0Type, uint8_t);
DECLARE_SOA_COLUMN(LambdaBDTScore, lambdaBDTScore, float);
DECLARE_SOA_COLUMN(AntiLambdaBDTScore, antilambdaBDTScore, float);

Check failure on line 172 in PWGLF/DataModel/LFSigmaTables.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.

} // namespace sigmaLambdaExtra

Expand Down Expand Up @@ -202,6 +210,8 @@
sigmaLambdaExtra::LambdaNegITSCls,
sigmaLambdaExtra::LambdaPosITSChi2PerNcl,
sigmaLambdaExtra::LambdaNegITSChi2PerNcl,
sigmaLambdaExtra::LambdaPosTrackCode,
sigmaLambdaExtra::LambdaNegTrackCode,
sigmaLambdaExtra::LambdaV0Type,
sigmaLambdaExtra::LambdaBDTScore,
sigmaLambdaExtra::AntiLambdaBDTScore);
Expand All @@ -216,10 +226,12 @@
DECLARE_SOA_COLUMN(PhotonCandPDGCodeMother, photonCandPDGCodeMother, int);
DECLARE_SOA_COLUMN(IsPhotonCandPrimary, isPhotonCandPrimary, bool);
DECLARE_SOA_COLUMN(PhotonMCPt, photonMCPt, float);
DECLARE_SOA_COLUMN(PhotonIsCorrectlyAssoc, photonIsCorrectlyAssoc, bool);
DECLARE_SOA_COLUMN(LambdaCandPDGCode, lambdaCandPDGCode, int);
DECLARE_SOA_COLUMN(LambdaCandPDGCodeMother, lambdaCandPDGCodeMother, int);
DECLARE_SOA_COLUMN(IsLambdaCandPrimary, isLambdaCandPrimary, bool);
DECLARE_SOA_COLUMN(LambdaMCPt, lambdaMCPt, float);
DECLARE_SOA_COLUMN(LambdaIsCorrectlyAssoc, lambdaIsCorrectlyAssoc, bool);

} // namespace sigmaMCCore

Expand All @@ -231,10 +243,12 @@
sigmaMCCore::PhotonCandPDGCodeMother,
sigmaMCCore::IsPhotonCandPrimary,
sigmaMCCore::PhotonMCPt,
sigmaMCCore::PhotonIsCorrectlyAssoc,
sigmaMCCore::LambdaCandPDGCode,
sigmaMCCore::LambdaCandPDGCodeMother,
sigmaMCCore::IsLambdaCandPrimary,
sigmaMCCore::LambdaMCPt);
sigmaMCCore::LambdaMCPt,
sigmaMCCore::LambdaIsCorrectlyAssoc);
} // namespace o2::aod

#endif // PWGLF_DATAMODEL_LFSIGMATABLES_H_
2 changes: 1 addition & 1 deletion PWGLF/TableProducer/Strangeness/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ o2physics_add_dpl_workflow(cascademlselection

o2physics_add_dpl_workflow(sigma0builder
SOURCES sigma0builder.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore O2Physics::AnalysisCCDB
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(lambdajetpolarizationbuilder
Expand Down
Loading
Loading