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

JMergeWindow 'hydrates' an existing JEvent by appending any JMessages that fall into its pre-existing time interval. More...

#include <JMergeWindow.h>

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

Public Member Functions

void pushMessage (T *message) final
 
bool pullEvent (JEvent &event) final
 

Detailed Description

template<typename T>
class JMergeWindow< T >

JMergeWindow 'hydrates' an existing JEvent by appending any JMessages that fall into its pre-existing time interval.

This is unlike the other JWindows, which assume the JEvent contains no JObjects and has no associated time interval. It should be used downstream of a TrivialWindow/FixedWindow/SessionWindow, e.g. for level 2 triggers, EPICS data, or calibration constants. It should probably not be public-facing.

Member Function Documentation

◆ pullEvent()

template<typename T >
bool JMergeWindow< T >::pullEvent ( JEvent event)
finalvirtual

Implements JWindow< T >.

◆ pushMessage()

template<typename T >
void JMergeWindow< T >::pushMessage ( T *  message)
finalvirtual

Implements JWindow< T >.


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