@@ -534,7 +534,7 @@ class pidTPCModule
534534
535535 // __________________________________________________
536536 template <typename T, typename NSF, typename NST>
537- void makePidTables (const int flagFull, NSF& tableFull, const int flagTiny, NST& tableTiny, const o2::track::PID::ID pid, const float tpcSignal, const T& trk, const long multTPC, const std::vector<float >& network_prediction, const int & count_tracks, const int & tracksForNet_size)
537+ void makePidTables (const int flagFull, NSF& tableFull, const int flagTiny, NST& tableTiny, const o2::track::PID::ID pid, const float tpcSignal, const T& trk, const int64_t multTPC, const std::vector<float >& network_prediction, const int & count_tracks, const int & tracksForNet_size)
538538 {
539539 if (flagFull != 1 && flagTiny != 1 ) {
540540 return ;
@@ -611,9 +611,9 @@ class pidTPCModule
611611 }
612612
613613 // preparatory step: we need the multiplicities for each collision
614- std::vector<int > pidmults;
615- long totalTPCtracks = 0 ;
616- long totalTPCnotStandalone = 0 ;
614+ std::vector<int64_t > pidmults;
615+ int64_t totalTPCtracks = 0 ;
616+ int64_t totalTPCnotStandalone = 0 ;
617617 pidmults.resize (cols.size (), 0 );
618618
619619 // faster counting
@@ -696,7 +696,7 @@ class pidTPCModule
696696 // get the TPC signal to be used in the PID
697697 float tpcSignalToEvaluatePID = trk.tpcSignal ();
698698
699- int multTPC = 0 ;
699+ int64_t multTPC = 0 ;
700700 if (trk.has_collision ()) {
701701 multTPC = pidmults[trk.collisionId ()];
702702 }
0 commit comments