|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlab.coda.jevio.StructureFinder
public class StructureFinder
This is a set of convenient static methods used to find lists of structures within an event that
match certain criteria. For most part it uses the List
method on the provided EvioEvent
object by constructing the appropriate filter.
Constructor Summary | |
---|---|
StructureFinder()
|
Method Summary | |
---|---|
static java.util.List<BaseStructure> |
getMatchingBanks(EvioEvent event,
int tag,
int number)
Collect all the banks in an event that match a provided tag and number in their header. |
static java.util.List<BaseStructure> |
getMatchingNonBanks(EvioEvent event,
int tag)
Collect all the non-banks (i.e., Segments and TagSegments) in an event that match a provided tag in their header. |
static java.util.List<BaseStructure> |
getMatchingStructures(EvioEvent event,
IEvioFilter filter)
Collect all the structures in an event that pass a filter. |
static java.util.List<BaseStructure> |
getMatchingStructures(EvioEvent event,
int tag)
Collect all the structures in an event that match a provided tag in their header. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StructureFinder()
Method Detail |
---|
public static java.util.List<BaseStructure> getMatchingStructures(EvioEvent event, IEvioFilter filter)
event
- the event being queried.filter
- the filter that must be passed. If null
, this will return all the structures.
public static java.util.List<BaseStructure> getMatchingBanks(EvioEvent event, int tag, int number)
event
- the event being queried.tag
- the tag to match.number
- the number to match.
public static java.util.List<BaseStructure> getMatchingStructures(EvioEvent event, int tag)
event
- the event being queried.tag
- the tag to match.
public static java.util.List<BaseStructure> getMatchingNonBanks(EvioEvent event, int tag)
event
- the event being queried.tag
- the tag to match.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |