Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Common/DataModel/PIDResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ using hasTPCAl = decltype(std::declval<T&>().tpcNSigmaAl());
// PID index as template argument
#define perSpeciesWrapper(functionName) \
template <o2::track::PID::ID index, typename TrackType> \
auto functionName(const TrackType& track) \
auto functionName(const TrackType& track) \
{ \
if constexpr (index == o2::track::PID::Electron) { \
return track.functionName##El(); \
Expand Down Expand Up @@ -178,7 +178,7 @@ perSpeciesWrapper(tpcExpSignalDiff);
// PID index as function argument for TOF
#define perSpeciesWrapper(functionName) \
template <typename TrackType> \
auto functionName(const o2::track::PID::ID index, const TrackType& track) \
auto functionName(const o2::track::PID::ID index, const TrackType& track) \
{ \
switch (index) { \
case o2::track::PID::Electron: \
Expand Down Expand Up @@ -277,7 +277,7 @@ perSpeciesWrapper(tofExpSignalDiff);
// PID index as function argument for TPC
#define perSpeciesWrapper(functionName) \
template <typename TrackType> \
auto functionName(const o2::track::PID::ID index, const TrackType& track) \
auto functionName(const o2::track::PID::ID index, const TrackType& track) \
{ \
switch (index) { \
case o2::track::PID::Electron: \
Expand Down