Pottu
Classes | Public Member Functions | Public Attributes | List of all members
pottu::LogicalEventCollector< Sort, Tr > Class Template Reference

Class which creates the logical events from stream of detector events. More...

#include <LogicalEventCollector.hpp>

Classes

struct  event_collection_window_t
 

Public Member Functions

 LogicalEventCollector (Sort &sort, Tr &tr, int64_t triggerDeadTime, int64_t eventDelay, int64_t maxEventLength)
 
template<class Cont >
void feed (const Cont &data) noexcept
 Use this to feed detector event to this machine. More...
 

Public Attributes

Sort & _sort
 
Tr & _tr
 
int64_t _triggerDeadTime {300}
 
int64_t _eventDelay {-100}
 
int64_t _maxEventLength {600}
 
std::deque< event_collection_window_t_eventWindows
 
int64_t _tsLast {0}
 
std::deque< pottu::DetectorEvent_queue
 

Detailed Description

template<class Sort, class Tr>
class pottu::LogicalEventCollector< Sort, Tr >

Class which creates the logical events from stream of detector events.

This class is a detail of pottu implementation. Do not try to understand ;)

Member Function Documentation

◆ feed()

template<class Sort , class Tr >
template<class Cont >
void pottu::LogicalEventCollector< Sort, Tr >::feed ( const Cont &  data)
inlinenoexcept

Use this to feed detector event to this machine.

This copies the DetectorEvent objects from data so that same incoming data can be used for parallel pipelines.


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