Package cnuphys.snr
Class Adjacency
java.lang.Object
cnuphys.snr.Adjacency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
computeAdjacency
(ExtendedWord[] data, int numLayer, int numWire, int layer, int wire) Used in second stage analysis.
-
Constructor Details
-
Adjacency
public Adjacency()
-
-
Method Details
-
computeAdjacency
public static int computeAdjacency(ExtendedWord[] data, int numLayer, int numWire, int layer, int wire) Used in second stage analysis. Adjaceny counts that are within "del" from the given wire, where del is 1 for the layer the wire is in an increases by 1 for every layer as you move up or down. Thus for CLAS12, del is [1..5]- Parameters:
data
- probably the clean data after an snr noise analysisnumLayer
- the number of layers, for CLAS12 6numWire
- the number of wires, for CLAS12 112layer
- the 0-based layer, for CLAS12 [0..5]wire
- the 0-base wire, for CLAS12 [0..111]- Returns:
- the adjacency value
-