Skip to content

Commit fe6cd7c

Browse files
authored
DataModel: make V0s IsStandard explicit (#13937)
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
1 parent 7486f59 commit fe6cd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! Coll
15961596
DECLARE_SOA_COLUMN(V0Type, v0Type, uint8_t); //! custom bitmap for various selections (see below)
15971597

15981598
DECLARE_SOA_DYNAMIC_COLUMN(IsStandardV0, isStandardV0, //! is standard V0
1599-
[](uint8_t V0Type) -> bool { return V0Type & (1 << 0); });
1599+
[](uint8_t V0Type) -> bool { return V0Type == 1; });
16001600
DECLARE_SOA_DYNAMIC_COLUMN(IsPhotonV0, isPhotonV0, //! is TPC-only V0 for which the photon-mass-hypothesis was good
16011601
[](uint8_t V0Type) -> bool { return V0Type & (1 << 1); });
16021602
DECLARE_SOA_DYNAMIC_COLUMN(IsCollinearV0, isCollinearV0, //! is V0 for which the photon-mass-hypothesis was good and was fitted collinearly

0 commit comments

Comments
 (0)