All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
SlidingWindowDefs.h File Reference

Definition for PMT sliding windows. More...

#include "lardataobj/RawData/OpDetWaveform.h"
#include <iosfwd>
#include <vector>

Go to the source code of this file.

Classes

struct  icarus::trigger::details::DumpTriggerWindowChannelWrapper
 
struct  icarus::trigger::details::DumpTriggerWindowDefWrapper
 

Namespaces

 icarus::trigger
 
 icarus::trigger::details
 

Functions

std::ostream & icarus::trigger::details::operator<< (std::ostream &out, DumpTriggerWindowChannelWrapper window)
 
std::ostream & icarus::trigger::details::operator<< (std::ostream &out, DumpTriggerWindowDefWrapper windows)
 

Optical detector windows

An optical detector window is just a group of optical detectors. For trigger, these windows comprise contiguous optical detectors, and may overlap for better coverage.

The algorithm SlidingWindowDefinitionAlg allows the creation of "sliding" windows. The information on a single window is encoded in a standard container (TriggerWindowChannels_t), with a unique channel number representing each detector in the window in no particular order.

Definitions ("aliases") are here provided for convenience, together with a couple of functions to print the content of a window or a set of windows.

using icarus::trigger::TriggerWindowChannels_t = std::vector< raw::Channel_t >
 Type of optical detector channel list in a window. More...
 
using icarus::trigger::TriggerWindowDefs_t = std::vector< TriggerWindowChannels_t >
 Definition of all windows. More...
 
void icarus::trigger::printTriggerWindowChannels (std::ostream &out, TriggerWindowChannels_t const &window)
 Prints the composition of the optical detector window inline. More...
 
void icarus::trigger::printTriggerWindowDefs (std::ostream &out, TriggerWindowDefs_t const &windows)
 Prints the composition of all windows in long format. More...
 
auto icarus::trigger::dumpTriggerWindowChannels (TriggerWindowChannels_t const &window) -> details::DumpTriggerWindowChannelWrapper
 
auto icarus::trigger::dumpTriggerWindowDefs (TriggerWindowDefs_t const &windows) -> details::DumpTriggerWindowDefWrapper
 

Detailed Description

Definition for PMT sliding windows.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
January 26, 2021
See Also
icaruscode/PMT/Trigger/Algorithms/SlidingWindowDefs.cxx

Definition in file SlidingWindowDefs.h.