|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.jyu.phys.grain.sort.GrainDSSDTagger
public class GrainDSSDTagger
N-generation correlation system for DSSD detectors.
Field Summary | |
---|---|
static int |
STRATEGY_SINGLE
Strategy flag for searhing on the exact pixel. |
static int |
STRATEGY_SQUARE
Strategy flag for searhing all neighbours and the exact pixel. |
static int |
STRATEGY_STAR
Strategy flag for searching 4 nearest neighbours and the exact pixel. |
Constructor Summary | |
---|---|
GrainDSSDTagger(int xstrips,
int ystrips,
long depth)
Creates a new instance of GrainDSSDTagger |
Method Summary | |
---|---|
GrainGreatEvent |
get(GrainGreatEvent event,
int strategy)
Finds from the tagger the first event which is correlated to the input event using given strategy. |
java.util.ArrayList |
getAll(GrainGreatEvent event,
int strategy)
Finds from the tagger all events which are spatially correlated to the input event using given strategy. |
void |
put(GrainGreatEvent event)
Stores an event in to the tagger. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STRATEGY_SINGLE
public static final int STRATEGY_SQUARE
public static final int STRATEGY_STAR
Constructor Detail |
---|
public GrainDSSDTagger(int xstrips, int ystrips, long depth)
depth
- Depth (in time) for the tagger storage, in ticks (10ns).xstrips
- Number of x-strips in the detector.ystrips
- Number of y-strips in the detector.Method Detail |
---|
public void put(GrainGreatEvent event)
event
- The GrainGreatEvent to be stored.public GrainGreatEvent get(GrainGreatEvent event, int strategy)
event
- The GrainGreatEvent to correlate with.strategy
- The correlation strategy to use.
public java.util.ArrayList getAll(GrainGreatEvent event, int strategy)
event
- The GrainGreatEvent to correlate with.strategy
- The correlation strategy to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |