[PWGLF] Add tree producer for coalescence studies#16390
Conversation
|
O2 linter results: ❌ 1 errors, |
|
Error while checking build/O2Physics/o2 for 2d26eee at 2026-05-26 11:48: Full log here. |
|
Error while checking build/O2Physics/staging for 2d26eee at 2026-05-26 11:48: Full log here. |
|
Error while checking build/O2Physics/staging for 7ea2771 at 2026-05-26 12:00: Full log here. |
|
Error while checking build/O2Physics/o2 for 7ea2771 at 2026-05-26 12:02: Full log here. |
|
Error while checking build/O2Physics/staging for 4ab91f7 at 2026-05-26 12:08: Full log here. |
|
Error while checking build/O2Physics/o2 for 4ab91f7 at 2026-05-26 12:12: Full log here. |
| #include "Framework/AnalysisTask.h" | ||
| #include "Framework/Configurable.h" | ||
| #include "Framework/HistogramRegistry.h" | ||
| #include "Framework/InitContext.h" | ||
| #include "Framework/Logger.h" | ||
| #include "Framework/OutputObjHeader.h" | ||
| #include "Framework/runDataProcessing.h" |
| static constexpr double MassP = o2::constants::physics::MassProton; | ||
| static constexpr double MassN = o2::constants::physics::MassNeutron; | ||
| static constexpr double MassL = o2::constants::physics::MassLambda0; |
| int64_t eventID; // Event ID | ||
| int64_t idB1, idB2, idB3; // MC particle IDs of the constituent baryons | ||
|
|
||
| int pdgB1, pdgB2, pdgB3; | ||
| int chargeB1, chargeB2, chargeB3; | ||
|
|
||
| // Space-time coordinates and momentum components of the constituent baryons in the lab frame | ||
| float xB1, yB1, zB1, tB1, pxB1, pyB1, pzB1; | ||
| float xB2, yB2, zB2, tB2, pxB2, pyB2, pzB2; | ||
| float xB3, yB3, zB3, tB3, pxB3, pyB3, pzB3; |
There was a problem hiding this comment.
Everything uninitialised.
| int64_t id; | ||
| int pdg; | ||
| int charge; | ||
| float x; | ||
| float y; | ||
| float z; | ||
| float t; | ||
| float px; | ||
| float py; | ||
| float pz; | ||
| float mass; |
There was a problem hiding this comment.
Everything uninitialised.
| template <typename T> | ||
| Particle makeParticle(T const& p) |
There was a problem hiding this comment.
Why is this not a Particle constructor?
|
Hi @vkucera , thanks for your comments. I'm going to fix this task asap. |
Tree producer to store space-time coordinates and momentum components of bound-state candidates for coalescence studies