-
Notifications
You must be signed in to change notification settings - Fork 632
[PWGLF] Add HI Lambda/AntiLambda polarization around jets workflow #15263
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
Merged
romainschotter
merged 44 commits into
AliceO2Group:master
from
cmuncinelli:LambdaPolRing
Mar 4, 2026
+2,938
−0
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
2819b3c
Testing Lambda invariant mass reconstruction from the derivedlambdakz…
cmuncinelli dc178be
Adding cmakelist changes
cmuncinelli e603313
Fixing CMakeLists to actually have the correct links for the code to …
cmuncinelli 7b93900
Fixing dependencies, wrong syntax and missing variables/functions
cmuncinelli 785d53b
Fixing some more dependencies for the event selection histograms
cmuncinelli 4add503
Merge branch 'AliceO2Group:master' into LambdaPolRing
cmuncinelli 7d14701
First tests, earlier version of passesLambdaLambdaBarHypothesis
cmuncinelli 03b70fc
First full version of lambdaJetPolarizationIons. Removed unneeded tra…
cmuncinelli c5ed51a
Fixing CMakeLists
cmuncinelli 9bb3538
Fixing compilation errors
cmuncinelli ccf6fcc
First version that runs on raw data (still has errors in event select…
cmuncinelli 802bde6
Updating TOF usage and axes
cmuncinelli 5692752
Adding collision column to derived data to reduce saves of centrality…
cmuncinelli 98bf92c
First version of polarization code, with traditional ROOT vectors (IN…
cmuncinelli 5a6c37b
First full code version (still has problems with histogram filling lo…
cmuncinelli cd43870
Fixing V0s table name to within maximum size to save in Derived Data.…
cmuncinelli 2b8d86a
First full version of derived data consumer. Implemented preprocessor…
cmuncinelli c638237
First fully functional version (still needs QA to check if there is n…
cmuncinelli 3329a51
Adding signal extraction histograms (mass dependencies)
cmuncinelli 91a9de5
Updating usage of coarser axis
cmuncinelli 5dfa2f4
Fixing signal extraction pt axes (now contains the 0.5-1.5 interval e…
cmuncinelli 103ee37
Fixing histogram names and wrapping some angular variables to reuse axes
cmuncinelli ef120bd
Removing old parameter from file configurable group
cmuncinelli c5aab8c
Moving JetPolarization builder
cmuncinelli 6b5a309
Fixing centrality usage
cmuncinelli 7c9475a
Fixing CMakeLists for new Derived data consumer
cmuncinelli 7f87d66
Adding centrality selections, more TProfiles for appropriate error ba…
cmuncinelli c6c0d51
Removing unused squared observable plots (no longer using them for er…
cmuncinelli 34e7250
Adding convenience enums to builder + new hEventSelection bins for QA…
cmuncinelli 08a03a1
Adding leading particle QA and second-to-leading jet studies. Studyin…
cmuncinelli 3ba13b4
Initializing some variables for safer code (TableProducer). Adding in…
cmuncinelli 171f8ac
Adding dynamic columns for readability. Adding more centrality inform…
cmuncinelli 7cd4fe7
Adding extra V0 selection variables to DataModel. Cleaning up TablePr…
cmuncinelli 73363f4
Merge branch 'AliceO2Group:master' into LambdaPolRing
cmuncinelli 8a45f25
Removing unrelated code from older branch
cmuncinelli ce06589
Removing unneeded dependencies in CMakeLists, organizing TableProduce…
cmuncinelli 44c227b
Fixing wrong table fill order. Cleaning up table subscriptions and re…
cmuncinelli 78bb47a
Removing old centrality estimators from derived data consumer
cmuncinelli dbad510
Final fix before pull request -- Fixing repeated histogram name on pR…
cmuncinelli 6867671
Initializing variables to avoid warnings (following O2 Code Guidelines)
cmuncinelli d321e59
Please consider the following formatting changes
alibuild f1c75a7
Merge pull request #1 from alibuild/alibot-cleanup-15263
cmuncinelli 5d3cb83
Please consider the following formatting changes
alibuild ee34bf2
Merge pull request #2 from alibuild/alibot-cleanup-15263
cmuncinelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,150 @@ | ||
| // 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 lambdaJetPolarizationIons.h | ||
| /// \brief Derived Data table for Jet-induced polarization analysis (HI) | ||
| /// \author Cicero Domenico Muncinelli (cicero.domenico.muncinelli@cern.ch) | ||
| // Comments, questions, complaints, suggestions? | ||
| // Please write to: | ||
| // cicero.domenico.muncinelli@cern.ch | ||
| // | ||
|
|
||
| #ifndef PWGLF_DATAMODEL_LAMBDAJETPOL_H_ | ||
| #define PWGLF_DATAMODEL_LAMBDAJETPOL_H_ | ||
|
|
||
| #include <Framework/ASoA.h> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The header is broken because you don't include what you use. Please fix it. |
||
|
|
||
| namespace o2::aod | ||
| { | ||
|
|
||
| namespace lambdajetpol | ||
| { | ||
|
|
||
| // DECLARE_SOA_COLUMN(CollIdx, collIdx, uint64_t); // Using a regular SOA column instead of an index column for convenience | ||
| // Collision information: | ||
| DECLARE_SOA_INDEX_COLUMN(Collision, collision); | ||
| DECLARE_SOA_COLUMN(CentFT0M, centFT0M, float); | ||
| DECLARE_SOA_COLUMN(CentFT0C, centFT0C, float); | ||
| DECLARE_SOA_COLUMN(CentFT0CVariant1, centFT0CVariant1, float); | ||
| DECLARE_SOA_COLUMN(CentMFT, centMFT, float); | ||
| DECLARE_SOA_COLUMN(CentNGlobal, centNGlobal, float); | ||
| DECLARE_SOA_COLUMN(CentFV0A, centFV0A, float); | ||
|
|
||
| // Jet (and jet proxies) information: | ||
| DECLARE_SOA_COLUMN(JetPt, jetPt, float); | ||
| DECLARE_SOA_COLUMN(JetEta, jetEta, float); | ||
| DECLARE_SOA_COLUMN(JetPhi, jetPhi, float); | ||
| DECLARE_SOA_COLUMN(JetNConstituents, jetNConstituents, uint64_t); | ||
|
|
||
| DECLARE_SOA_COLUMN(LeadParticlePt, leadParticlePt, float); | ||
| DECLARE_SOA_COLUMN(LeadParticleEta, leadParticleEta, float); | ||
| DECLARE_SOA_COLUMN(LeadParticlePhi, leadParticlePhi, float); | ||
|
|
||
| // V0 information: | ||
| DECLARE_SOA_COLUMN(V0Pt, v0Pt, float); | ||
| DECLARE_SOA_COLUMN(V0Eta, v0Eta, float); | ||
| DECLARE_SOA_COLUMN(V0Phi, v0Phi, float); | ||
|
|
||
| DECLARE_SOA_COLUMN(IsLambda, isLambda, bool); | ||
| DECLARE_SOA_COLUMN(IsAntiLambda, isAntiLambda, bool); | ||
| DECLARE_SOA_COLUMN(MassLambda, massLambda, float); | ||
| DECLARE_SOA_COLUMN(MassAntiLambda, massAntiLambda, float); | ||
|
|
||
| DECLARE_SOA_COLUMN(PosPt, posPt, float); | ||
| DECLARE_SOA_COLUMN(PosEta, posEta, float); | ||
| DECLARE_SOA_COLUMN(PosPhi, posPhi, float); | ||
| DECLARE_SOA_COLUMN(NegPt, negPt, float); | ||
| DECLARE_SOA_COLUMN(NegEta, negEta, float); | ||
| DECLARE_SOA_COLUMN(NegPhi, negPhi, float); | ||
|
|
||
| DECLARE_SOA_COLUMN(PosTPCNSigmaPr, posTPCNSigmaPr, float); | ||
| DECLARE_SOA_COLUMN(PosTPCNSigmaPi, posTPCNSigmaPi, float); | ||
| DECLARE_SOA_COLUMN(NegTPCNSigmaPr, negTPCNSigmaPr, float); | ||
| DECLARE_SOA_COLUMN(NegTPCNSigmaPi, negTPCNSigmaPi, float); | ||
|
|
||
| DECLARE_SOA_COLUMN(V0CosPA, v0cosPA, float); | ||
| DECLARE_SOA_COLUMN(V0Radius, v0radius, float); | ||
| DECLARE_SOA_COLUMN(DcaV0Daughters, dcaV0daughters, float); | ||
|
Comment on lines
+73
to
+75
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The capitalisations don't match. |
||
| DECLARE_SOA_COLUMN(DcaPosToPV, dcaPosToPV, float); | ||
| DECLARE_SOA_COLUMN(DcaNegToPV, dcaNegToPV, float); | ||
|
|
||
| // Dynamic columns for jets (Px,Py,Pz): | ||
| DECLARE_SOA_DYNAMIC_COLUMN(JetPx, jetPx, //! Jet px | ||
| [](float jetPt, float jetPhi) -> float { return jetPt * std::cos(jetPhi); }); | ||
| DECLARE_SOA_DYNAMIC_COLUMN(JetPy, jetPy, //! Jet py | ||
| [](float jetPt, float jetPhi) -> float { return jetPt * std::sin(jetPhi); }); | ||
| DECLARE_SOA_DYNAMIC_COLUMN(JetPz, jetPz, //! Jet pz | ||
| [](float jetPt, float jetEta) -> float { return jetPt * std::sinh(jetEta); }); | ||
| // Same for leading particles: | ||
| DECLARE_SOA_DYNAMIC_COLUMN(LeadParticlePx, leadParticlePx, //! Leading particle px | ||
| [](float leadParticlePt, float leadParticlePhi) -> float { return leadParticlePt * std::cos(leadParticlePhi); }); | ||
| DECLARE_SOA_DYNAMIC_COLUMN(LeadParticlePy, leadParticlePy, //! Leading particle py | ||
| [](float leadParticlePt, float leadParticlePhi) -> float { return leadParticlePt * std::sin(leadParticlePhi); }); | ||
| DECLARE_SOA_DYNAMIC_COLUMN(LeadParticlePz, leadParticlePz, //! Leading particle pz | ||
| [](float leadParticlePt, float leadParticleEta) -> float { return leadParticlePt * std::sinh(leadParticleEta); }); | ||
|
|
||
| } // namespace lambdajetpol | ||
|
|
||
| DECLARE_SOA_TABLE(RingJets, "AOD", "RINGJETS", // Renamed to follow convention on "s" at the end of table name. | ||
| lambdajetpol::CollisionId, // Changed to an internal O2 index, slightly different from usual o2::soa::Index<> though | ||
| lambdajetpol::JetPt, | ||
| lambdajetpol::JetEta, | ||
| lambdajetpol::JetPhi, | ||
| lambdajetpol::JetNConstituents, | ||
| // Dynamic columns | ||
| lambdajetpol::JetPx<lambdajetpol::JetPt, lambdajetpol::JetPhi>, // Explicitly binding to static columns | ||
| lambdajetpol::JetPy<lambdajetpol::JetPt, lambdajetpol::JetPhi>, | ||
| lambdajetpol::JetPz<lambdajetpol::JetPt, lambdajetpol::JetEta>); | ||
|
|
||
| DECLARE_SOA_TABLE(RingLeadP, "AOD", "RINGLEADP", // Leading particle table | ||
| lambdajetpol::CollisionId, | ||
| lambdajetpol::LeadParticlePt, | ||
| lambdajetpol::LeadParticleEta, | ||
| lambdajetpol::LeadParticlePhi, | ||
| // Dynamic columns | ||
| lambdajetpol::LeadParticlePx<lambdajetpol::LeadParticlePt, lambdajetpol::LeadParticlePhi>, | ||
| lambdajetpol::LeadParticlePy<lambdajetpol::LeadParticlePt, lambdajetpol::LeadParticlePhi>, | ||
| lambdajetpol::LeadParticlePz<lambdajetpol::LeadParticlePt, lambdajetpol::LeadParticleEta>); | ||
|
|
||
| DECLARE_SOA_TABLE(RingLaV0s, "AOD", "RINGLAV0S", | ||
| lambdajetpol::CollisionId, | ||
| lambdajetpol::V0Pt, | ||
| lambdajetpol::V0Eta, | ||
| lambdajetpol::V0Phi, | ||
| lambdajetpol::IsLambda, | ||
| lambdajetpol::IsAntiLambda, | ||
| lambdajetpol::MassLambda, | ||
| lambdajetpol::MassAntiLambda, | ||
| lambdajetpol::PosPt, | ||
| lambdajetpol::PosEta, | ||
| lambdajetpol::PosPhi, | ||
| lambdajetpol::NegPt, | ||
| lambdajetpol::NegEta, | ||
| lambdajetpol::NegPhi, | ||
| lambdajetpol::PosTPCNSigmaPr, | ||
| lambdajetpol::PosTPCNSigmaPi, | ||
| lambdajetpol::NegTPCNSigmaPr, | ||
| lambdajetpol::NegTPCNSigmaPi, | ||
| lambdajetpol::V0CosPA, | ||
| lambdajetpol::V0Radius, | ||
| lambdajetpol::DcaV0Daughters, | ||
| lambdajetpol::DcaPosToPV, | ||
| lambdajetpol::DcaNegToPV); | ||
|
|
||
| DECLARE_SOA_TABLE(RingCollisions, "AOD", "RINGCOLLISIONS", | ||
| lambdajetpol::CollisionId, | ||
| lambdajetpol::CentFT0M, | ||
| lambdajetpol::CentFT0C, | ||
| lambdajetpol::CentFV0A); | ||
|
|
||
| } // namespace o2::aod | ||
|
|
||
| #endif // PWGLF_DATAMODEL_LAMBDAJETPOL_H_ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong header guard, reported in CI.