@@ -460,7 +460,7 @@ class pidTPCModule
460460 const auto & bc = collision.template bc_as <B>();
461461 hadronicRateForCollision[i] = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource) * 1 .e -3 ;
462462 i++;
463- }
463+ }
464464 auto bc = bcs.begin ();
465465 hadronicRateBegin = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource) * 1 .e -3 ; // kHz
466466
@@ -494,13 +494,12 @@ class pidTPCModule
494494 track_properties[counter_track_props + 7 ] = hadronicRateForCollision[trk.collisionId ()] / 50 .;
495495 }
496496 } else {
497- // asign Hadronic Rate at beginning of run if track does not belong to a collision
497+ // asign Hadronic Rate at beginning of run if track does not belong to a collision
498498 if (collsys == CollisionSystemType::kCollSyspp ) {
499499 track_properties[counter_track_props + 7 ] = hadronicRateBegin / 1500 .;
500500 } else {
501501 track_properties[counter_track_props + 7 ] = hadronicRateBegin / 50 .;
502502 }
503-
504503 }
505504 }
506505 counter_track_props += input_dimensions;
@@ -678,15 +677,14 @@ class pidTPCModule
678677 if (pidTPCopts.useCorrecteddEdx ) {
679678 size_t i = 0 ;
680679 for (const auto & collision : cols) {
681- const auto & bc = collision.template bc_as <aod::BCsWithTimestamps>();;
680+ const auto & bc = collision.template bc_as <aod::BCsWithTimestamps>();
682681 hadronicRateForCollision[i] = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource) * 1 .e -3 ;
683682 i++;
684- }
683+ }
685684 auto bc = bcs.begin ();
686685 hadronicRateBegin = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource) * 1 .e -3 ; // kHz
687686 }
688687
689-
690688 for (auto const & trk : tracks) {
691689 // get the TPC signal to be used in the PID
692690 float tpcSignalToEvaluatePID = trk.tpcSignal ();
0 commit comments