Skip to content

Commit b422984

Browse files
authored
PWGHF: Minor improvements for execution time (#204)
* Fix conflicts * Fix conflicts * Fix conflicts * Fix conflicts * Fix format * Add px, py, pz columns to avoid overhead from multiple computations
1 parent 0b4c0b3 commit b422984

2 files changed

Lines changed: 143 additions & 103 deletions

File tree

PWGHF/DataModel/HFSecondaryVertex.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@ namespace hf_seltrack
4242
DECLARE_SOA_COLUMN(IsSelProng, isSelProng, int); //!
4343
DECLARE_SOA_COLUMN(DCAPrim0, dcaPrim0, float); //!
4444
DECLARE_SOA_COLUMN(DCAPrim1, dcaPrim1, float); //!
45+
DECLARE_SOA_COLUMN(PxProng, pxProng, float); //!
46+
DECLARE_SOA_COLUMN(PyProng, pyProng, float); //!
47+
DECLARE_SOA_COLUMN(PzProng, pzProng, float); //!
4548
} // namespace hf_seltrack
4649

4750
DECLARE_SOA_TABLE(HFSelTrack, "AOD", "HFSELTRACK", //!
4851
hf_seltrack::IsSelProng,
4952
hf_seltrack::DCAPrim0,
50-
hf_seltrack::DCAPrim1);
53+
hf_seltrack::DCAPrim1,
54+
hf_seltrack::PxProng,
55+
hf_seltrack::PyProng,
56+
hf_seltrack::PzProng);
5157

5258
using BigTracks = soa::Join<Tracks, TracksCov, TracksExtra, HFSelTrack>;
5359
using BigTracksMC = soa::Join<BigTracks, McTrackLabels>;

0 commit comments

Comments
 (0)