Skip to content

Commit d2458b8

Browse files
authored
Add files via upload
1 parent 9203075 commit d2458b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGCF/Flow/Tasks/pidFlowPtCorr.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ struct PidFlowPtCorr {
497497
* If the track pt is out of a detector's valid range, that detector's check is skipped.
498498
*/
499499
template <typename TrackObject>
500-
bool isPion(TrackObject track)
500+
bool isPion(TrackObject const& track)
501501
{
502502
bool resultPion = true;
503503

@@ -540,7 +540,7 @@ struct PidFlowPtCorr {
540540
* If the track pt is out of a detector's valid range, that detector's check is skipped.
541541
*/
542542
template <typename TrackObject>
543-
bool isProton(TrackObject track)
543+
bool isProton(TrackObject const& track)
544544
{
545545
bool resultProton = true;
546546

@@ -584,7 +584,7 @@ struct PidFlowPtCorr {
584584
* If the track pt is out of the overlapping range, that detector's check is skipped.
585585
*/
586586
template <typename TrackObject>
587-
bool isKaon(TrackObject track)
587+
bool isKaon(TrackObject const& track)
588588
{
589589
bool resultKaon = true;
590590

0 commit comments

Comments
 (0)