Skip to content

Commit e1a7669

Browse files
committed
Add function specializations
1 parent 70195e1 commit e1a7669

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ o2physics_add_dpl_workflow(strangederivedbuilder
109109

110110
o2physics_add_dpl_workflow(strangenessbuilder
111111
SOURCES strangenessbuilder.cxx
112-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::strangenessBuilderHelper
112+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DetectorsBase O2Physics::strangenessBuilderHelper
113113
COMPONENT_NAME Analysis)
114114

115115
o2physics_add_dpl_workflow(v0-selector

PWGLF/Utils/strangenessBuilderHelper.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,20 @@ class strangenessBuilderHelper
130130
} // namespace pwglf
131131
} // namespace o2
132132

133+
// specific specializations that are foreseen
134+
// Run 3 case: tracks at IU
135+
extern template<o2::soa::Join<o2::aod::TracksIU, o2::aod::TracksExtra, o2::aod::TracksCovIU>::iterator>
136+
bool o2::pwglf::strangenessBuilderHelper::buildV0Candidate(o2::aod::Collision const& collision,
137+
o2::soa::Join<o2::aod::TracksIU, o2::aod::TracksExtra, o2::aod::TracksCovIU>::iterator const& positiveTrack,
138+
o2::soa::Join<o2::aod::TracksIU, o2::aod::TracksExtra, o2::aod::TracksCovIU>::iterator const& negativeTrack,
139+
bool useCollinearFit);
140+
141+
// Run 2 case: tracks at PV
142+
extern template<o2::soa::Join<o2::aod::Tracks, o2::aod::TracksExtra, o2::aod::TracksCov>::iterator>
143+
bool o2::pwglf::strangenessBuilderHelper::buildV0Candidate(o2::aod::Collision const& collision,
144+
o2::soa::Join<o2::aod::Tracks, o2::aod::TracksExtra, o2::aod::TracksCov>::iterator const& positiveTrack,
145+
o2::soa::Join<o2::aod::Tracks, o2::aod::TracksExtra, o2::aod::TracksCov>::iterator const& negativeTrack,
146+
bool useCollinearFit);
147+
148+
133149
#endif // PWGLF_UTILS_STRANGENESSBUILDERHELPER_H_

0 commit comments

Comments
 (0)