File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments