Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
10a22c7
add more hash-based accessors
baltzell Dec 22, 2025
964294a
remove checks from hash-based accessors, cleanup
baltzell Dec 22, 2025
4c0c504
improve, test, stop recalculating hash
baltzell Dec 23, 2025
da003fe
log all the info
baltzell Dec 23, 2025
7d9148b
cleanup
baltzell Dec 23, 2025
13bb40e
more bank column indices
baltzell Jan 6, 2026
7e4c62e
add convenience method
baltzell Jan 6, 2026
ea7115b
add dump for more show
baltzell Jan 6, 2026
418dcd6
add convenience method
baltzell Jan 6, 2026
b74b5c3
reduce branch loadings
baltzell Jan 6, 2026
cb97b5a
less string lookups
baltzell Jan 6, 2026
189b4d4
use global tranlation table
baltzell Jan 6, 2026
2355c68
replace loop with int lookup
baltzell Jan 7, 2026
bbde444
remove unnecssary branch lookup
baltzell Jan 7, 2026
96434f8
cleanup
baltzell Jan 7, 2026
ef6ea73
cleanup
baltzell Jan 7, 2026
2b946f4
first match wins
baltzell Jan 7, 2026
2f3bb5d
move check upstream
baltzell Jan 7, 2026
b25015b
break early
baltzell Jan 7, 2026
d8d9e33
just use the map
baltzell Jan 7, 2026
de84f2e
remove method
baltzell Jan 7, 2026
2937fa9
switch to a switch
baltzell Jan 7, 2026
a8e2f92
move static methods to utility class
baltzell Jan 7, 2026
5b631b3
cleanup
baltzell Jan 7, 2026
550e8dd
cleanup
baltzell Jan 8, 2026
59ffcf8
remove unused method
baltzell Jan 8, 2026
f7fd9bc
cleanup
baltzell Jan 8, 2026
bc93499
cleanup
baltzell Jan 9, 2026
849339b
confirm source of discrepancy
baltzell Jan 9, 2026
3d88806
Revert "confirm source of discrepancy"
baltzell Jan 12, 2026
6a248a7
add sorting
baltzell Jan 12, 2026
23f4cc5
cleanup
baltzell Jan 12, 2026
771d25f
add comments
baltzell Jan 13, 2026
77a2dea
ignore out of range indices
baltzell Jan 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ public final void setSectorLayerComponent(int sector, int layer, int comp){
this.dt_COMPONENT = comp;
}

public final void setSectorLayerComponentOrderType(int sector, int layer, int comp, int order, int type) {
this.dt_SECTOR = sector;
this.dt_LAYER = layer;
this.dt_COMPONENT = comp;
this.dt_ORDER = order;
this.detectorType = DetectorType.getType(type);
}

public static int generateHashCode(int s, int l, int c){
return ((s<<24)&0xFF000000)|
((l<<16)&0x00FF0000)|(c&0x0000FFFF);
Expand All @@ -99,7 +107,6 @@ public int getHashCode(){
(this.dt_COMPONENT&0x00000FFF);
return hash;
}


public void copy(DetectorDescriptor desc){
this.hw_SLOT = desc.hw_SLOT;
Expand All @@ -119,7 +126,6 @@ public boolean compare(DetectorDescriptor desc){
return false;
}


public static String getName(String base, int... ids){
StringBuilder str = new StringBuilder();
str.append(base);
Expand Down

Large diffs are not rendered by default.

Loading