67 CTrigger(
double lat,
double lon,
double z,
double ot,
double resolution,
68 double maxZ,
double sum,
int count,
bool aSeismic,
69 std::vector<std::shared_ptr<CPick>> picks,
CWeb *web);
100 bool initialize(
double lat,
double lon,
double z,
double ot,
101 double resolution,
double maxZ,
double sum,
int count,
103 std::vector<std::shared_ptr<CPick>> picks,
CWeb *web);
186 const std::vector<std::shared_ptr<CPick>>
getVPick()
const;
192 std::atomic<double> m_dLatitude;
197 std::atomic<double> m_dLongitude;
202 std::atomic<double> m_dDepth;
207 std::atomic<double> m_tOrigin;
213 std::atomic<double> m_dWebResolution;
218 std::atomic<double> m_dNodeMaxDepth;
223 std::atomic<bool> m_dNodeAseismic;
229 std::atomic<double> m_dBayesValue;
235 std::atomic<int> m_iPickCount;
241 std::vector<std::shared_ptr<CPick>> m_vPick;
251 mutable std::recursive_mutex m_TriggerMutex;
double getDepth() const
Get the depth for this trigger.
Definition: Trigger.cpp:91
~CTrigger()
CTrigger destructor.
Definition: Trigger.cpp:31
double getBayesValue() const
Gets the current bayes stack value for this trigger.
Definition: Trigger.cpp:119
double getNodeMaxDepth() const
Get the node max depth for this trigger.
Definition: Trigger.cpp:114
double getWebResolution() const
Gets the node resolution of the web that nucleated this trigger.
Definition: Trigger.cpp:109
double getLatitude() const
Get the latitude for this trigger.
Definition: Trigger.cpp:81
geographic coordinate conversion class
Definition: geo.h:25
int getPickCount() const
Gets the number of picks supporting this trigger.
Definition: Trigger.cpp:124
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.
Definition: Trigger.cpp:53
const std::vector< std::shared_ptr< CPick > > getVPick() const
Get the list of picks supporting this trigger.
Definition: Trigger.cpp:134
bool getNodeAseismic() const
Gets a flag indicating that the node is in an aseismic area.
Definition: Trigger.cpp:140
double getLongitude() const
Get the longitude for this trigger.
Definition: Trigger.cpp:86
glass3::util::Geo getGeo() const
Get the combined trigger location (latitude, longitude, depth) as a CGeo object.
Definition: Trigger.cpp:101
CTrigger()
CTrigger constructor.
Definition: Trigger.cpp:15
The namespace containing the core algorithm.
Definition: Correlation.h:17
void clear()
CTrigger clear function.
Definition: Trigger.cpp:35
const CWeb * getWeb() const
Gets a pointer to the web that generated this trigger, used to get travel times.
Definition: Trigger.cpp:129
glasscore detection trigger class
Definition: Trigger.h:36
double getTOrigin() const
Get the origin time for this trigger.
Definition: Trigger.cpp:96
glasscore detection web class
Definition: Web.h:46