|
|
| RawHistogrammer (EventOp eventOp) |
| |
| void | setHistogram (uint16_t ch, _histogram_1d_type *h) |
| | Sets individual histogram to a channel. More...
|
| |
|
_histogram_1d_type * | getHistogram (uint16_t ch) noexcept |
| |
|
void | createAndSetHistogramsChannelInterval (_result_tree_type tree, const std::string &prefix, uint16_t chFirst, uint16_t chLast, double low, double high, unsigned int binc) |
| |
| template<class DAQCH > |
| void | setGroup (DetectorEvent::group_type group, double low, double high, unsigned int binc, const DAQCH &daqchannels, _result_tree_type tree) |
| |
| virtual void | process (std::vector< DetectorEvent > &data) noexcept |
| | Uses or modifies detector events in a container. More...
|
| |
|
virtual | ~StageDetectorEvent () |
| | Virtual desctructor.
|
| |
◆ process()
template<class EventOp = EventOpEnergy>
Uses or modifies detector events in a container.
- Parameters
-
| data | Vector containing detector events to be modified or used. |
Typically only the fields of each detector event is modified and the event is otherwise kept the same.
Implements pottu::StageDetectorEvent.
◆ setGroup()
template<class EventOp = EventOpEnergy>
template<class DAQCH >
Creates histogram for the group and attaches all channels to it
- Parameters
-
| group | Group index |
| low | low value of the histogram |
| high | high value of the histogram |
| binc | number of bins for the histogram |
| daqchannels | DAQChannels object to find the channels for the group group. |
| tree | Pointer to the result tree where new histogram is to be created. |
◆ setHistogram()
template<class EventOp = EventOpEnergy>
Sets individual histogram to a channel.
Histogram is owned by the caller also after this call.
NOTE: There is only one histogram for a channel so only the last set for a channel is effective. Therefore, use different RawHistogrammer instances for group and individual channel histogramming.
The documentation for this class was generated from the following file: