Skip to content

Commit b9119fa

Browse files
authored
Count tracks even with collID -1
1 parent c055764 commit b9119fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Common/TableProducer/PID/pidTPCModule.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,10 @@ class pidTPCModule
544544

545545
// faster counting
546546
for (const auto& track : tracks) {
547-
if (track.hasTPC() && track.collisionId() > -1) {
548-
pidmults[track.collisionId()]++;
547+
if (track.hasTPC()) {
548+
if(track.collisionId() > -1){
549+
pidmults[track.collisionId()]++;
550+
}
549551
totalTPCtracks++;
550552
if (track.hasITS() || track.hasTOF() || track.hasTRD()) {
551553
totalTPCnotStandalone++;

0 commit comments

Comments
 (0)