Skip to content

Commit

Permalink
Merge pull request cms-sw#46802 from SegmentLinking/CMSSW_14_2_0_pre4…
Browse files Browse the repository at this point in the history
…_removeByLayer

Removal of LST *ByLayer( functions to fix build errors
  • Loading branch information
cmsbuild authored Nov 26, 2024
2 parents 8c530a9 + 859e555 commit 0d8409a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
28 changes: 0 additions & 28 deletions RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand All @@ -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];
}
Expand All @@ -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];
}
Expand Down Expand Up @@ -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];
}
Expand Down
4 changes: 0 additions & 4 deletions RecoTracker/LSTCore/src/alpaka/LSTEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,25 +137,21 @@ 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);

int getNumberOfPixelTriplets();
int getNumberOfPixelQuintuplets();

unsigned int getNumberOfQuintuplets();
unsigned int getNumberOfQuintupletsByLayer(unsigned int layer);
unsigned int getNumberOfQuintupletsByLayerBarrel(unsigned int layer);
unsigned int getNumberOfQuintupletsByLayerEndcap(unsigned int layer);

Expand Down

0 comments on commit 0d8409a

Please sign in to comment.