Pottu
Public Member Functions | Public Attributes | List of all members
pottu::DetectorEventGenerator Class Reference

Class to process raw timestamped dataitems to DetectorEvents. More...

#include <DetectorEventGenerator.hpp>

Inheritance diagram for pottu::DetectorEventGenerator:
Inheritance graph
[legend]
Collaboration diagram for pottu::DetectorEventGenerator:
Collaboration graph
[legend]

Public Member Functions

 DetectorEventGenerator (_result_tree_type results)
 
void process (const std::vector< dataitem_ts_t > &input, std::vector< DetectorEvent > &output)
 Feeds raw data in and gets processed detector events out. More...
 
- Public Member Functions inherited from pottu::StageStampedRawToDetectorEvent
virtual ~StageStampedRawToDetectorEvent ()
 Virtual destructor.
 

Public Attributes

ContextHandle_ctxh
 
int64_t _queue_minlength {10000}
 
int64_t _pileupSearchtime {1000}
 
int64_t _underrangeSearchtime {1000}
 
int64_t _overrangeSearchtime {1000}
 
int64_t _underflowSearchtime {1000}
 
int64_t _overflowSearchtime {1000}
 
int64_t _tsPrev {0}
 
std::deque< DetectorEvent_itemqueue
 
uint64_t _timeOrderErrorCounter {0}
 
_histogram_1d_pow2_type_h_rectypes
 
_histogram_1d_pow2_type_h_infocodes
 
_histogram_1d_pow2_type_h_ch_data
 
_histogram_1d_pow2_type_h_ch_dataIgnored
 
_histogram_1d_pow2_type_h_ch_trace
 
_histogram_1d_pow2_type_h_ch_pileup
 
_histogram_1d_pow2_type_h_ch_overrange
 
_histogram_1d_pow2_type_h_ch_underrange
 
_histogram_1d_pow2_type_h_ch_overflow
 
_histogram_1d_pow2_type_h_ch_underflow
 
_histogram_1d_pow2_type_h_ch_pileup_marked
 
_histogram_1d_pow2_type_h_ch_overrange_marked
 
_histogram_1d_pow2_type_h_ch_underrange_marked
 
_histogram_1d_pow2_type_h_ch_overflow_marked
 
_histogram_1d_pow2_type_h_ch_underflow_marked
 
_histogram_1d_pow2_type_h_ch_fail
 
_histogram_1d_pow2_type_h_ch_veto
 
_histogram_1d_pow2_type_h_ch_adcbit14
 
_histogram_1d_pow2_type_h_ch_adcbit15
 

Detailed Description

Class to process raw timestamped dataitems to DetectorEvents.

Member Function Documentation

◆ process()

void pottu::DetectorEventGenerator::process ( const std::vector< dataitem_ts_t > &  input,
std::vector< DetectorEvent > &  output 
)
inlinevirtual

Feeds raw data in and gets processed detector events out.

Parameters
inputRaw data with timestamps in. Container value_type must be dataitem_ts_t.
outputProcessed detector events out. Container value_type must be DetectorEvent.

Implements pottu::StageStampedRawToDetectorEvent.


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