Skip to content

Commit c28bb2c

Browse files
committed
remove unused variable
1 parent 81a47f7 commit c28bb2c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

ALICE3/Core/FastTracker.cxx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,11 +443,6 @@ int FastTracker::FastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
443443
const float initialRadius = std::hypot(posIni[0], posIni[1]);
444444
const float kTrackingMargin = 0.1;
445445

446-
// Delphes sets this to 20, but does not count all points in the tpc as layers which we do here
447-
// Loop over all the added layers to prevent crash when adding the tpc
448-
// Should not affect efficiency calculation
449-
const int kMaxNumberOfDetectors = layers.size();
450-
451446
int firstActiveLayer = -1; // first layer that is not inert
452447
for (size_t i = 0; i < layers.size(); ++i) {
453448
if (!layers[i].isInert()) {
@@ -461,7 +456,11 @@ int FastTracker::FastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
461456
}
462457
const int xrhosteps = 100;
463458
const bool applyAngularCorrection = true;
464-
459+
460+
// Delphes sets this to 20 instead of the number of layers,
461+
// but does not count all points in the tpc as layers which we do here
462+
// Loop over all the added layers to prevent crash when adding the tpc
463+
// Should not affect efficiency calculation
465464
goodHitProbability.clear();
466465
for (size_t i = 0; i < layers.size(); ++i) {
467466
goodHitProbability.push_back(-1.);

0 commit comments

Comments
 (0)