Helper data structure to store PMT activity information in the event. More...
#include <PMTInfo_t.h>
Public Types | |
using | ChannelID_t = raw::Channel_t |
Type to represent a channel ID. More... | |
using | ADCcount_t = std::string |
Type to represent threshold. More... | |
Public Member Functions | |
PMTInfo_t ()=default | |
PMTInfo_t (ADCcount_t const &threshold, std::vector< ChannelID_t > activeChannels) | |
Access to PMT information | |
ADCcount_t const & | threshold () const |
The threshold this PMT data is extracted with (tag). More... | |
std::vector< ChannelID_t > const & | activeChannels () const |
Returns the list of channels with activity above threshold. More... | |
Private Attributes | |
ADCcount_t | fThreshold {} |
Discrimination threshold tag. More... | |
std::vector< ChannelID_t > | fActiveChannels |
Channels whose activity is above threshold. More... | |
Helper data structure to store PMT activity information in the event.
Definition at line 25 of file PMTInfo_t.h.
using icarus::trigger::details::PMTInfo_t::ADCcount_t = std::string |
Type to represent threshold.
Definition at line 29 of file PMTInfo_t.h.
Type to represent a channel ID.
Definition at line 27 of file PMTInfo_t.h.
|
default |
icarus::trigger::details::PMTInfo_t::PMTInfo_t | ( | ADCcount_t const & | threshold, |
std::vector< ChannelID_t > | activeChannels | ||
) |
Definition at line 69 of file PMTInfo_t.h.
|
inline |
Returns the list of channels with activity above threshold.
Definition at line 49 of file PMTInfo_t.h.
|
inline |
The threshold this PMT data is extracted with (tag).
Definition at line 46 of file PMTInfo_t.h.
|
private |
Channels whose activity is above threshold.
Definition at line 60 of file PMTInfo_t.h.
|
private |
Discrimination threshold tag.
Definition at line 57 of file PMTInfo_t.h.