Package org.jlab.analysis.roads
Class Dictionary
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<ArrayList<Byte>,org.jlab.clas.physics.Particle>
org.jlab.analysis.roads.Dictionary
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<ArrayList<Byte>,
org.jlab.clas.physics.Particle>
- Author:
- devita, ziegler
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
readDictionary
(String fileName, Dictionary.TestMode mode, int wireBinning, int stripBinning, int sectorDependence) void
readDictionary
(String fileName, Dictionary.TestMode mode, int wireBinning, int stripBinning, int sectorDependence, int maxRoads) void
writeDictionary
(String filename) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
Dictionary
public Dictionary()
-
-
Method Details
-
getRoad
-
printDictionary
public void printDictionary() -
readDictionary
public void readDictionary(String fileName, Dictionary.TestMode mode, int wireBinning, int stripBinning, int sectorDependence) -
readDictionary
public void readDictionary(String fileName, Dictionary.TestMode mode, int wireBinning, int stripBinning, int sectorDependence, int maxRoads) -
writeDictionary
-