JANA2
C++ framework for multi-threaded data processing
All Classes Namespaces Functions Variables Enumerations Enumerator Friends Pages
JSessionWindow< T > Class Template Reference

JSessionWindow aggregates JMessages adaptively, i.e. More...

#include <JWindow.h>

Inheritance diagram for JSessionWindow< T >:
[legend]
Collaboration diagram for JSessionWindow< T >:
[legend]

Public Member Functions

 JSessionWindow (Timestamp event_interval, const std::vector< DetectorId > &detectors)
 
void pushMessage (T *message) final
 
bool pullEvent (JEvent &event) final
 
 JSessionWindow (Timestamp event_interval, const std::vector< DetectorId > &detectors)
 
void pushMessage (T *message) final
 
bool pullEvent (JEvent &) final
 

Detailed Description

template<typename T>
class JSessionWindow< T >

JSessionWindow aggregates JMessages adaptively, i.e.

a JEvent's time interval starts with the first JMessage and ends once there are no more JMessages timestamped before a configurable max interval width. This is usually what is meant by 'event-building'.

Member Function Documentation

◆ pullEvent() [1/2]

template<typename T >
bool JSessionWindow< T >::pullEvent ( JEvent )
inlinefinalvirtual

Implements JWindow< T >.

◆ pullEvent() [2/2]

template<typename T >
bool JSessionWindow< T >::pullEvent ( JEvent event)
inlinefinalvirtual

Implements JWindow< T >.

◆ pushMessage() [1/2]

template<typename T >
void JSessionWindow< T >::pushMessage ( T *  message)
inlinefinalvirtual

Implements JWindow< T >.

◆ pushMessage() [2/2]

template<typename T >
void JSessionWindow< T >::pushMessage ( T *  message)
inlinefinalvirtual

Implements JWindow< T >.


The documentation for this class was generated from the following files: