Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:39

0001 
0002 // Copyright 2020, Jefferson Science Associates, LLC.
0003 // Subject to the terms in the LICENSE file found in the top-level directory.
0004 
0005 
0006 #pragma once
0007 #include <JANA/Streaming/JWindow.h>
0008 
0009 /// JMergeWindow 'hydrates' an existing JEvent by appending any JMessages that fall into its
0010 /// pre-existing time interval. This is unlike the other JWindows, which assume the JEvent
0011 /// contains no JObjects and has no associated time interval. It should be used downstream
0012 /// of a TrivialWindow/FixedWindow/SessionWindow, e.g. for level 2 triggers,
0013 /// EPICS data, or calibration constants. It should probably not be public-facing.
0014 template <typename T>
0015 class JMergeWindow : public JWindow<T> {
0016 public:
0017     void pushMessage(T* message) final;
0018     bool pullEvent(JEvent& event) final;
0019 private:
0020 };
0021