All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
icarus::trigger::details::PMTInfo_t Struct Reference

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_tfActiveChannels
 Channels whose activity is above threshold. More...
 

Detailed Description

Helper data structure to store PMT activity information in the event.

Definition at line 25 of file PMTInfo_t.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

icarus::trigger::details::PMTInfo_t::PMTInfo_t ( )
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.

71  , fActiveChannels(std::move(activeChannels))
72 {}
std::vector< ChannelID_t > fActiveChannels
Channels whose activity is above threshold.
Definition: PMTInfo_t.h:60
ADCcount_t fThreshold
Discrimination threshold tag.
Definition: PMTInfo_t.h:57
ADCcount_t const & threshold() const
The threshold this PMT data is extracted with (tag).
Definition: PMTInfo_t.h:46

Member Function Documentation

std::vector<ChannelID_t> const& icarus::trigger::details::PMTInfo_t::activeChannels ( ) const
inline

Returns the list of channels with activity above threshold.

Definition at line 49 of file PMTInfo_t.h.

50  { return fActiveChannels; }
std::vector< ChannelID_t > fActiveChannels
Channels whose activity is above threshold.
Definition: PMTInfo_t.h:60
ADCcount_t const& icarus::trigger::details::PMTInfo_t::threshold ( ) const
inline

The threshold this PMT data is extracted with (tag).

Definition at line 46 of file PMTInfo_t.h.

46 { return fThreshold; }
ADCcount_t fThreshold
Discrimination threshold tag.
Definition: PMTInfo_t.h:57

Member Data Documentation

std::vector<ChannelID_t> icarus::trigger::details::PMTInfo_t::fActiveChannels
private

Channels whose activity is above threshold.

Definition at line 60 of file PMTInfo_t.h.

ADCcount_t icarus::trigger::details::PMTInfo_t::fThreshold {}
private

Discrimination threshold tag.

Definition at line 57 of file PMTInfo_t.h.


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