|
neic-glass3
1.4.6
|
glasscore detection trigger class More...
#include <Trigger.h>

Public Member Functions | |
| CTrigger () | |
| CTrigger constructor. More... | |
| CTrigger (double lat, double lon, double z, double ot, double resolution, double maxZ, double sum, int count, bool aSeismic, std::vector< std::shared_ptr< CPick >> picks, CWeb *web) | |
| CTrigger advanced constructor. More... | |
| ~CTrigger () | |
| CTrigger destructor. More... | |
| bool | initialize (double lat, double lon, double z, double ot, double resolution, double maxZ, double sum, int count, bool aSeismic, std::vector< std::shared_ptr< CPick >> picks, CWeb *web) |
| CTrigger initialization function. More... | |
| void | clear () |
| CTrigger clear function. More... | |
| double | getLatitude () const |
| Get the latitude for this trigger. More... | |
| double | getLongitude () const |
| Get the longitude for this trigger. More... | |
| double | getDepth () const |
| Get the depth for this trigger. More... | |
| glass3::util::Geo | getGeo () const |
| Get the combined trigger location (latitude, longitude, depth) as a CGeo object. More... | |
| double | getTOrigin () const |
| Get the origin time for this trigger. More... | |
| double | getWebResolution () const |
| Gets the node resolution of the web that nucleated this trigger. More... | |
| double | getNodeMaxDepth () const |
| Get the node max depth for this trigger. More... | |
| bool | getNodeAseismic () const |
| Gets a flag indicating that the node is in an aseismic area. More... | |
| double | getBayesValue () const |
| Gets the current bayes stack value for this trigger. More... | |
| int | getPickCount () const |
| Gets the number of picks supporting this trigger. More... | |
| const CWeb * | getWeb () const |
| Gets a pointer to the web that generated this trigger, used to get travel times. More... | |
| const std::vector< std::shared_ptr< CPick > > | getVPick () const |
| Get the list of picks supporting this trigger. More... | |
glasscore detection trigger class
The CTrigger class represents a single detection trigger from the detection graph database. A CTrigger consists of the location (latitude, longitude, and depth) of the triggering node, the spatial resolution of the triggering node, and a list of picks that made the trigger
CTrigger uses smart pointers (std::shared_ptr).
| glasscore::CTrigger::CTrigger | ( | ) |
CTrigger constructor.
| glasscore::CTrigger::CTrigger | ( | double | lat, |
| double | lon, | ||
| double | z, | ||
| double | ot, | ||
| double | resolution, | ||
| double | maxZ, | ||
| double | sum, | ||
| int | count, | ||
| bool | aSeismic, | ||
| std::vector< std::shared_ptr< CPick >> | picks, | ||
| CWeb * | web | ||
| ) |
CTrigger advanced constructor.
Construct a trigger using the provided data
| lat | - A double value containing the latitude to use for this trigger in degrees |
| lon | - A double value containing the longitude to use for this trigger in degrees |
| z | - A double value containing the depth to use for this trigger in kilometers |
| ot | - A double value containing the time to use for this trigger in seconds |
| resolution | - A double value containing the inter-node resolution in kilometer |
| maxZ | - A double value containing the node maximum depth |
| sum | - A double value containing the bayesian sum for this trigger |
| count | - An integer value containing the site count for this trigger |
| aSeismic | - A boolean flag indicating whether the node is aseismic |
| picks | - A std::vector<std::shared_ptr<CPick> containing the picks for this trigger |
| web | - A pointer to the creating node's CWeb |
| glasscore::CTrigger::~CTrigger | ( | ) |
CTrigger destructor.
| void glasscore::CTrigger::clear | ( | ) |
CTrigger clear function.
| double glasscore::CTrigger::getBayesValue | ( | ) | const |
Gets the current bayes stack value for this trigger.
| double glasscore::CTrigger::getDepth | ( | ) | const |
Get the depth for this trigger.
| glass3::util::Geo glasscore::CTrigger::getGeo | ( | ) | const |
Get the combined trigger location (latitude, longitude, depth) as a CGeo object.
| double glasscore::CTrigger::getLatitude | ( | ) | const |
Get the latitude for this trigger.
| double glasscore::CTrigger::getLongitude | ( | ) | const |
Get the longitude for this trigger.
| bool glasscore::CTrigger::getNodeAseismic | ( | ) | const |
Gets a flag indicating that the node is in an aseismic area.
| double glasscore::CTrigger::getNodeMaxDepth | ( | ) | const |
Get the node max depth for this trigger.
| int glasscore::CTrigger::getPickCount | ( | ) | const |
Gets the number of picks supporting this trigger.
| double glasscore::CTrigger::getTOrigin | ( | ) | const |
Get the origin time for this trigger.
| const std::vector< std::shared_ptr< CPick > > glasscore::CTrigger::getVPick | ( | ) | const |
Get the list of picks supporting this trigger.
| const CWeb * glasscore::CTrigger::getWeb | ( | ) | const |
Gets a pointer to the web that generated this trigger, used to get travel times.
| double glasscore::CTrigger::getWebResolution | ( | ) | const |
Gets the node resolution of the web that nucleated this trigger.
| bool glasscore::CTrigger::initialize | ( | double | lat, |
| double | lon, | ||
| double | z, | ||
| double | ot, | ||
| double | resolution, | ||
| double | maxZ, | ||
| double | sum, | ||
| int | count, | ||
| bool | aSeismic, | ||
| std::vector< std::shared_ptr< CPick >> | picks, | ||
| CWeb * | web | ||
| ) |
CTrigger initialization function.
Initialize a trigger using the provided data
| lat | - A double value containing the latitude to use for this trigger in degrees |
| lon | - A double value containing the longitude to use for this trigger in degrees |
| z | - A double value containing the depth to use for this trigger in kilometers |
| ot | - A double value containing the time to use for this trigger in seconds |
| resolution | - A double value containing the inter-node resolution in kilometer |
| maxZ | - A double value containing the node maximum depth |
| sum | - A double value containing the bayesian sum for this trigger |
| count | - An integer value containing the site count for this trigger |
| aSeismic | - A boolean flag indicating whether the node is aseismic |
| picks | - A std::vector<std::shared_ptr<CPick> containing the picks for this trigger |
| web | - A pointer to the creating node's web |
1.8.11