edu.sc.seis.fissuresUtil.bag
Class LongShortTrigger

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.bag.LongShortTrigger
All Implemented Interfaces:
java.io.Serializable

public class LongShortTrigger
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
LongShortTrigger(edu.iris.Fissures.IfNetwork.ChannelId channelId, java.lang.String seisId, int index, float value, edu.iris.Fissures.model.MicroSecondDate when, float sta, float lta)
           
LongShortTrigger(edu.iris.Fissures.seismogramDC.LocalSeismogramImpl seis, int index, float value, float sta, float lta)
          This uses the seismogram to get the channelId, seismogramId and trigger time, but does not retain a references to the seismogram to avoid memory leaks.
 
Method Summary
 java.lang.String getChannelId()
          Returns the channel id associated with the trigger.
 int getIndex()
          Returns Index
 float getLTA()
           
 java.lang.String getSeisId()
          Returns the seismogram id associated with the trigger.
 float getSTA()
           
 float getValue()
          Returns short average / long average trigger value
 edu.iris.Fissures.model.MicroSecondDate getWhen()
          Returns time the trigger occurred.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongShortTrigger

public LongShortTrigger(edu.iris.Fissures.seismogramDC.LocalSeismogramImpl seis,
                        int index,
                        float value,
                        float sta,
                        float lta)
This uses the seismogram to get the channelId, seismogramId and trigger time, but does not retain a references to the seismogram to avoid memory leaks.


LongShortTrigger

public LongShortTrigger(edu.iris.Fissures.IfNetwork.ChannelId channelId,
                        java.lang.String seisId,
                        int index,
                        float value,
                        edu.iris.Fissures.model.MicroSecondDate when,
                        float sta,
                        float lta)
Method Detail

getIndex

public int getIndex()
Returns Index

Returns:
an int

getValue

public float getValue()
Returns short average / long average trigger value

Returns:
a float

getWhen

public edu.iris.Fissures.model.MicroSecondDate getWhen()
Returns time the trigger occurred.

Returns:
a MicroSecondDate

getSeisId

public java.lang.String getSeisId()
Returns the seismogram id associated with the trigger.

Returns:
a LocalSeismogram id

getChannelId

public java.lang.String getChannelId()
Returns the channel id associated with the trigger.

Returns:
a ChannelId

getSTA

public float getSTA()

getLTA

public float getLTA()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object