Skip to content

Commit 2fd49aa

Browse files
creetz16alibuild
andauthored
[PWGLF] Update hypertriton 3body decay analysis (#11512)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent e63bb03 commit 2fd49aa

File tree

12 files changed

+2219
-7151
lines changed

12 files changed

+2219
-7151
lines changed

PWGLF/DataModel/Reduced3BodyTables.h

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ DECLARE_SOA_TABLE_FULL(StoredRedIUTracks, "RedIUTracks", "AOD", "REDIUTRACK", //
8383
// tracks extra
8484
track::PIDForTracking<track::Flags>,
8585
track::IsPVContributor<track::Flags>,
86+
track::HasITS<track::v001::DetectorMap>,
8687
track::HasTPC<track::v001::DetectorMap>,
8788
track::HasTOF<track::v001::DetectorMap>,
8889
track::TPCNClsFound<track::TPCNClsFindable, track::TPCNClsFindableMinusFound>,
@@ -120,29 +121,22 @@ DECLARE_SOA_INDEX_COLUMN_FULL(Track0, track0, int, RedIUTracks, "_0"); //!
120121
DECLARE_SOA_INDEX_COLUMN_FULL(Track1, track1, int, RedIUTracks, "_1"); //! Track 1 index
121122
DECLARE_SOA_INDEX_COLUMN_FULL(Track2, track2, int, RedIUTracks, "_2"); //! Track 2 index
122123
DECLARE_SOA_INDEX_COLUMN_FULL(Collision, collision, int, RedCollisions, ""); //! Collision index
123-
DECLARE_SOA_COLUMN(Phi, phi, float); //! decay3body radius
124-
DECLARE_SOA_COLUMN(Radius, radius, float); //! decay3body phi
125-
DECLARE_SOA_COLUMN(PosZ, posz, float); //! decay3body z position
124+
DECLARE_SOA_COLUMN(RadiusKF, radiusKF, float); //! phi of momentum of mother particle calculated by KF
125+
DECLARE_SOA_COLUMN(PhiKF, phiKF, float); //! SV radius in x-y plane calculated by KF
126+
DECLARE_SOA_COLUMN(PosZKF, poszKF, float); //! z position of SV calculated by KF
127+
DECLARE_SOA_COLUMN(RadiusDCA, radiusDCA, float); //! phi of momentum of mother particle calculated by dcaFitter
128+
DECLARE_SOA_COLUMN(PhiDCA, phiDCA, float); //! SV radius in x-y plane calculated by dcaFitter
129+
DECLARE_SOA_COLUMN(PosZDCA, poszDCA, float); //! z position of SV calculated by dcaFitter
130+
DECLARE_SOA_COLUMN(TrackedClSize, trackedClSize, float); //! average ITS cluster size (if tracked)
126131
} // namespace reduceddecay3body
127132

128133
DECLARE_SOA_TABLE(RedDecay3Bodys, "AOD", "REDDECAY3BODY", //! reduced 3-body decay table
129134
o2::soa::Index<>, reduceddecay3body::CollisionId, reduceddecay3body::Track0Id, reduceddecay3body::Track1Id, reduceddecay3body::Track2Id);
130135

131-
using ReducedDecay3BodysLinked = soa::Join<RedDecay3Bodys, Decay3BodyDataLink>;
132-
using ReducedDecay3BodyLinked = ReducedDecay3BodysLinked::iterator;
133-
134136
DECLARE_SOA_TABLE(Red3BodyInfo, "AOD", "RED3BODYINFO", //! joinable with RedDecay3Bodys
135-
reduceddecay3body::Radius, reduceddecay3body::Phi, reduceddecay3body::PosZ);
136-
137-
namespace dcafittersvinfo
138-
{
139-
DECLARE_SOA_COLUMN(SVRadius, svRadius, float); //! SV radius in x-y plane calculated by dcaFitter
140-
DECLARE_SOA_COLUMN(MomPhi, momPhi, float); //! phi of momentum of mother particle calculated from dcaFitter
141-
DECLARE_SOA_COLUMN(SVPosZ, svPosZ, float); //! z position of SV calculated by dcaFitter
142-
} // namespace dcafittersvinfo
143-
144-
DECLARE_SOA_TABLE_FULL(DCAFitterSVInfo, "FitSVInfo", "AOD", "FITSVINFO", //! joinable with RedDecay3Bodys
145-
dcafittersvinfo::SVRadius, dcafittersvinfo::MomPhi, dcafittersvinfo::SVPosZ);
137+
reduceddecay3body::RadiusKF, reduceddecay3body::PhiKF, reduceddecay3body::PosZKF,
138+
reduceddecay3body::RadiusDCA, reduceddecay3body::PhiDCA, reduceddecay3body::PosZDCA,
139+
reduceddecay3body::TrackedClSize);
146140

147141
} // namespace o2::aod
148142

PWGLF/DataModel/Vtx3BodyTables.h

Lines changed: 236 additions & 547 deletions
Large diffs are not rendered by default.

PWGLF/TableProducer/Nuspex/CMakeLists.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
o2physics_add_dpl_workflow(decay3bodybuilder
1313
SOURCES decay3bodybuilder.cxx
14-
PUBLIC_LINK_LIBRARIES O2::DCAFitter KFParticle::KFParticle O2Physics::AnalysisCore O2::TOFBase O2Physics::EventFilteringUtils O2::DetectorsVertexing
14+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle O2::TOFBase O2Physics::EventFilteringUtils O2::DetectorsVertexing
1515
COMPONENT_NAME Analysis)
1616

1717
o2physics_add_dpl_workflow(hyhefour-builder
@@ -29,11 +29,6 @@ o2physics_add_dpl_workflow(lnn-reco-task
2929
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
3030
COMPONENT_NAME Analysis)
3131

32-
o2physics_add_dpl_workflow(hypertriton3bodyfinder
33-
SOURCES hypertriton3bodyfinder.cxx
34-
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore
35-
COMPONENT_NAME Analysis)
36-
3732
o2physics_add_dpl_workflow(nucleustreecreator
3833
SOURCES LFTreeCreatorNuclei.cxx
3934
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
@@ -59,11 +54,6 @@ o2physics_add_dpl_workflow(threebodymcfinder
5954
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore
6055
COMPONENT_NAME Analysis)
6156

62-
o2physics_add_dpl_workflow(threebody-reco-task
63-
SOURCES threebodyRecoTask.cxx
64-
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore O2Physics::EventFilteringUtils
65-
COMPONENT_NAME Analysis)
66-
6757
o2physics_add_dpl_workflow(ebye-maker
6858
SOURCES ebyeMaker.cxx
6959
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore
@@ -79,11 +69,6 @@ o2physics_add_dpl_workflow(pidtof-generic
7969
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::TOFBase
8070
COMPONENT_NAME Analysis)
8171

82-
o2physics_add_dpl_workflow(threebody-kf-task
83-
SOURCES threebodyKFTask.cxx
84-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
85-
COMPONENT_NAME Analysis)
86-
8772
o2physics_add_dpl_workflow(hypernuclei-kf-reco-task
8873
SOURCES hypKfRecoTask.cxx
8974
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle

0 commit comments

Comments
 (0)