You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data model fix: avoid classifying TPC loopers as physical primary (#15609)
* Transparent fix proposal draft 1
* Please consider the following formatting changes
* Fix whitespace
* Address only the bug
* Adjustments: fix bugs, tuning
* Improve name of ProtectedFlags
* Please consider the following formatting changes
---------
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
// for improved getters with protection against incorrect physical primary tagging
1990
+
// note: this has to be declared in a separate namespace so it does not conflict with existing
1991
+
// derived data table declarations in O2Physics
1992
+
DECLARE_SOA_DYNAMIC_COLUMN(IsPhysicalPrimary, isPhysicalPrimary, //! True if particle is considered a physical primary according to the ALICE definition
// avoid that the stored flags are provided unprotected via
1996
+
// the getter '.flags': analysers will get the correct bit map transparently
1997
+
DECLARE_SOA_COLUMN(Flags, storedFlags, uint8_t); //! ALICE specific flags, see MCParticleFlags. Do not use directly. Use the dynamic columns, e.g. producedByGenerator()
1998
+
DECLARE_SOA_DYNAMIC_COLUMN(ProtectedFlags, flags, //! protected against
0 commit comments