From 12d6425c3c0bec2f4ce4369c37179ac64f5afed2 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Wed, 5 Feb 2025 09:57:45 +0100 Subject: [PATCH] DataModel: make V0s IsStandard explicit This makes the check more explicit to really have a standard v0. If analysers just ask for this bit, for example they still would get tpc-only v0s. @ddobrigk --- Framework/Core/include/Framework/AnalysisDataModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Core/include/Framework/AnalysisDataModel.h b/Framework/Core/include/Framework/AnalysisDataModel.h index 8c9f323f3dcc6..70db8500e3421 100644 --- a/Framework/Core/include/Framework/AnalysisDataModel.h +++ b/Framework/Core/include/Framework/AnalysisDataModel.h @@ -1596,7 +1596,7 @@ DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! Coll DECLARE_SOA_COLUMN(V0Type, v0Type, uint8_t); //! custom bitmap for various selections (see below) DECLARE_SOA_DYNAMIC_COLUMN(IsStandardV0, isStandardV0, //! is standard V0 - [](uint8_t V0Type) -> bool { return V0Type & (1 << 0); }); + [](uint8_t V0Type) -> bool { return V0Type == 1; }); DECLARE_SOA_DYNAMIC_COLUMN(IsPhotonV0, isPhotonV0, //! is TPC-only V0 for which the photon-mass-hypothesis was good [](uint8_t V0Type) -> bool { return V0Type & (1 << 1); }); DECLARE_SOA_DYNAMIC_COLUMN(IsCollinearV0, isCollinearV0, //! is V0 for which the photon-mass-hypothesis was good and was fitted collinearly