Skip to content

Commit 47812ae

Browse files
authored
[PWGLF] Check if bachelor is primary for 3body analysis (#10214)
1 parent b03655e commit 47812ae

File tree

2 files changed

+58
-42
lines changed

2 files changed

+58
-42
lines changed

PWGLF/DataModel/Vtx3BodyTables.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file Vtx3BodyTables.h
13+
/// \brief Definitions of reduced tables for 3body decayed hypertriton
14+
/// \author Yuanzhe Wang <yuanzhe.wang@cern.ch>
15+
/// \author Carolina Reetz <c.reetz@cern.ch>
16+
1217
#ifndef PWGLF_DATAMODEL_VTX3BODYTABLES_H_
1318
#define PWGLF_DATAMODEL_VTX3BODYTABLES_H_
1419

@@ -251,6 +256,7 @@ DECLARE_SOA_COLUMN(DCAXYBachelorToPV, dcaxyBachelortoPV, float); //! DCAXY of th
251256
DECLARE_SOA_COLUMN(DCAProtonToPV, dcaProtontoPV, float); //! DCA of the proton daughter to pv
252257
DECLARE_SOA_COLUMN(DCAPionToPV, dcaPiontoPV, float); //! DCA of the pion daughter to pv
253258
DECLARE_SOA_COLUMN(DCABachelorToPV, dcaBachelortoPV, float); //! DCA of the bachelor daughter to pv
259+
DECLARE_SOA_COLUMN(IsBachPrimary, isbachprimary, bool); //! flag for bachelor daughter primary
254260
// for MC
255261
DECLARE_SOA_COLUMN(GenP, genP, float); // P of the hypertriton
256262
DECLARE_SOA_COLUMN(GenPt, genPt, float); // pT of the hypertriton
@@ -313,6 +319,7 @@ DECLARE_SOA_TABLE(MCHyp3BodyCands, "AOD", "MCHYP3BODYCANDS",
313319
hyp3body::TOFNSigmaBachelor,
314320
hyp3body::DCAXYProtonToPV, hyp3body::DCAXYPionToPV, hyp3body::DCAXYBachelorToPV,
315321
hyp3body::DCAProtonToPV, hyp3body::DCAPionToPV, hyp3body::DCABachelorToPV,
322+
hyp3body::IsBachPrimary,
316323
// MC information
317324
hyp3body::GenP,
318325
hyp3body::GenPt,

0 commit comments

Comments
 (0)