From 859e555977f9b45e53dab9b7927b8c8f6de54ddd Mon Sep 17 00:00:00 2001 From: Manos Vourliotis Date: Tue, 26 Nov 2024 03:45:19 -0800 Subject: [PATCH] Removal of useless ByLayer( functions to fix build errors --- .../LSTCore/src/alpaka/LSTEvent.dev.cc | 28 ------------------- RecoTracker/LSTCore/src/alpaka/LSTEvent.h | 4 --- 2 files changed, 32 deletions(-) diff --git a/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc b/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc index be6c2b88b73c8..653b6b0964afa 100644 --- a/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc +++ b/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc @@ -1271,13 +1271,6 @@ unsigned int LSTEvent::getNumberOfMiniDoublets() { return miniDoublets; } -unsigned int LSTEvent::getNumberOfMiniDoubletsByLayer(unsigned int layer) { - if (layer == 6) - return n_minidoublets_by_layer_barrel_[layer]; - else - return n_minidoublets_by_layer_barrel_[layer] + n_minidoublets_by_layer_endcap_[layer]; -} - unsigned int LSTEvent::getNumberOfMiniDoubletsByLayerBarrel(unsigned int layer) { return n_minidoublets_by_layer_barrel_[layer]; } @@ -1298,13 +1291,6 @@ unsigned int LSTEvent::getNumberOfSegments() { return segments; } -unsigned int LSTEvent::getNumberOfSegmentsByLayer(unsigned int layer) { - if (layer == 6) - return n_segments_by_layer_barrel_[layer]; - else - return n_segments_by_layer_barrel_[layer] + n_segments_by_layer_endcap_[layer]; -} - unsigned int LSTEvent::getNumberOfSegmentsByLayerBarrel(unsigned int layer) { return n_segments_by_layer_barrel_[layer]; } @@ -1325,13 +1311,6 @@ unsigned int LSTEvent::getNumberOfTriplets() { return triplets; } -unsigned int LSTEvent::getNumberOfTripletsByLayer(unsigned int layer) { - if (layer == 6) - return n_triplets_by_layer_barrel_[layer]; - else - return n_triplets_by_layer_barrel_[layer] + n_triplets_by_layer_endcap_[layer]; -} - unsigned int LSTEvent::getNumberOfTripletsByLayerBarrel(unsigned int layer) { return n_triplets_by_layer_barrel_[layer]; } @@ -1373,13 +1352,6 @@ unsigned int LSTEvent::getNumberOfQuintuplets() { return quintuplets; } -unsigned int LSTEvent::getNumberOfQuintupletsByLayer(unsigned int layer) { - if (layer == 6) - return n_quintuplets_by_layer_barrel_[layer]; - else - return n_quintuplets_by_layer_barrel_[layer] + n_quintuplets_by_layer_endcap_[layer]; -} - unsigned int LSTEvent::getNumberOfQuintupletsByLayerBarrel(unsigned int layer) { return n_quintuplets_by_layer_barrel_[layer]; } diff --git a/RecoTracker/LSTCore/src/alpaka/LSTEvent.h b/RecoTracker/LSTCore/src/alpaka/LSTEvent.h index 59f249aa9405f..d4c659a199515 100644 --- a/RecoTracker/LSTCore/src/alpaka/LSTEvent.h +++ b/RecoTracker/LSTCore/src/alpaka/LSTEvent.h @@ -137,17 +137,14 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::lst { void resetObjectsInModule(); unsigned int getNumberOfMiniDoublets(); - unsigned int getNumberOfMiniDoubletsByLayer(unsigned int layer); unsigned int getNumberOfMiniDoubletsByLayerBarrel(unsigned int layer); unsigned int getNumberOfMiniDoubletsByLayerEndcap(unsigned int layer); unsigned int getNumberOfSegments(); - unsigned int getNumberOfSegmentsByLayer(unsigned int layer); unsigned int getNumberOfSegmentsByLayerBarrel(unsigned int layer); unsigned int getNumberOfSegmentsByLayerEndcap(unsigned int layer); unsigned int getNumberOfTriplets(); - unsigned int getNumberOfTripletsByLayer(unsigned int layer); unsigned int getNumberOfTripletsByLayerBarrel(unsigned int layer); unsigned int getNumberOfTripletsByLayerEndcap(unsigned int layer); @@ -155,7 +152,6 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::lst { int getNumberOfPixelQuintuplets(); unsigned int getNumberOfQuintuplets(); - unsigned int getNumberOfQuintupletsByLayer(unsigned int layer); unsigned int getNumberOfQuintupletsByLayerBarrel(unsigned int layer); unsigned int getNumberOfQuintupletsByLayerEndcap(unsigned int layer);