Jpp  19.1.0
the software that should make you happy
Public Types | Public Member Functions | List of all members
JACOUSTICS::JEvent::JEvaluator Struct Reference

Auxiliary class to determine value of acoustic events. More...

#include <JEvent.hh>

Public Types

typedef double value_type
 Type definition of time value. More...
 

Public Member Functions

 JEvaluator ()
 Default constructor. More...
 
value_type operator() (const JEvent &event) const
 Get value of object. More...
 

Detailed Description

Auxiliary class to determine value of acoustic events.


This class can be used with JSUPPORT::JTreeScanner so to read acoustics events in order of time-of-emission.

Definition at line 48 of file JAcoustics/JEvent.hh.

Member Typedef Documentation

◆ value_type

Type definition of time value.

Definition at line 52 of file JAcoustics/JEvent.hh.

Constructor & Destructor Documentation

◆ JEvaluator()

JACOUSTICS::JEvent::JEvaluator::JEvaluator ( )
inline

Default constructor.

Definition at line 58 of file JAcoustics/JEvent.hh.

59  {}

Member Function Documentation

◆ operator()()

value_type JACOUSTICS::JEvent::JEvaluator::operator() ( const JEvent event) const
inline

Get value of object.

Parameters
eventevent
Returns
value

Definition at line 68 of file JAcoustics/JEvent.hh.

69  {
70  return event.begin()->getToE();
71  }

The documentation for this struct was generated from the following file: