All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
icarus::trigger::details Namespace Reference

Classes

struct  EventIDTree
 Class managing the serialization of event ID in a simple ROOT tree. More...
 
struct  EventInfo_t
 Selected information about the event. More...
 
struct  EventInfoTree
 Class managing the serialization of event information in a simple ROOT tree. More...
 
class  EventInfoExtractor
 Extracts from event the relevant information on the physics event. More...
 
class  EventInfoExtractorMaker
 A helper class creating a EventInfoExtractor with a specific setup. More...
 
struct  PMTInfo_t
 Helper data structure to store PMT activity information in the event. More...
 
struct  TreeHolder
 Simple class holding a tree. More...
 
class  GateOpeningInfoExtractor
 Helper to extract OpeningInfo_t from a trigger gate. More...
 
struct  TriggerInfo_t
 Helper data structure to store transient trigger result. More...
 
struct  DumpTriggerWindowChannelWrapper
 
struct  DumpTriggerWindowDefWrapper
 
class  TriggerPassCounters
 Tracks pass rate by discrimination threshold and trigger pattern name. More...
 
struct  PlotInfoTree
 Class managing the serialization of plot information in a simple ROOT tree. More...
 
struct  map_dereferenced_values_impl
 
struct  isTrackedTriggerGateImpl
 
struct  isTrackedTriggerGateImpl< TrackedTriggerGate< Gate, TrackedType > >
 
struct  GateExtractorImpl
 
struct  GateExtractorImpl< Gate, std::enable_if_t< icarus::trigger::isReadoutTriggerGate< Gate >::value > >
 
struct  GateExtractorImpl< Gate, std::enable_if_t< isTrackedTriggerGate< Gate >::value > >
 
struct  GateExtractorImpl< icarus::trigger::TriggerGateData< Tick, TickInterval > >
 
struct  GateWrapper
 Container of a single gate (base class). More...
 
struct  CompactFormatter
 Wrapper to format a gate as "compact". More...
 
struct  TriggerGateStatus
 

Enumerations

enum  TriggerGateEventType { TriggerGateEventType::Unknown, TriggerGateEventType::Set, TriggerGateEventType::Shift }
 Type of events that can happen at a certain tick of a trigger gate. More...
 

Functions

std::ostream & operator<< (std::ostream &out, EventInfo_t const &info)
 
std::ostream & operator<< (std::ostream &out, DumpTriggerWindowChannelWrapper window)
 
std::ostream & operator<< (std::ostream &out, DumpTriggerWindowDefWrapper windows)
 
std::ostream & operator<< (std::ostream &out, TriggerPassCounters const &counters)
 
template<typename Map >
decltype(auto) map_dereferenced_values (Map &&map)
 
template<typename Gate >
 GateWrapper (Gate const &) -> GateWrapper< Gate >
 
template<typename Gate >
std::ostream & operator<< (std::ostream &out, CompactFormatter< Gate > const &wrap)
 

Variables

constexpr auto TriggerGateDebugLog = "TriggerSimulation"
 

Enumeration Type Documentation

Type of events that can happen at a certain tick of a trigger gate.

Enumerator
Unknown 

Unknown state. This can't be good.

Set 

Set the level, overriding the previous level.

Shift 

Relative shift, adding an offset to the previous level.

Definition at line 35 of file TriggerGateData.h.

35  {
36  Unknown, ///< Unknown state. This can't be good.
37  Set, ///< Set the level, overriding the previous level.
38  Shift ///< Relative shift, _adding_ an offset to the previous level.
39  }; // TriggerGateEventType
Relative shift, adding an offset to the previous level.
Type of beam unknown.
constexpr BitMask< Storage > Set(Flag_t< Storage > flag)
Returns a bit mask which sets the specified flag.

Function Documentation

template<typename Gate >
icarus::trigger::details::GateWrapper ( Gate const &  ) -> GateWrapper< Gate >
template<typename Map >
decltype(auto) icarus::trigger::details::map_dereferenced_values ( Map &&  map)

Definition at line 63 of file PlotSandbox.h.

64  { return map_dereferenced_values_impl<std::decay_t<Map>>::iterate(std::forward<Map>(map)); }
std::ostream & icarus::trigger::details::operator<< ( std::ostream &  out,
EventInfo_t const &  info 
)
inline

Definition at line 302 of file EventInfo_t.h.

303  { info.dump(out); return out; }
template<typename Gate >
std::ostream & icarus::trigger::details::operator<< ( std::ostream &  out,
CompactFormatter< Gate > const &  wrap 
)

Implementation of compactdump() printout of a gate.

See Also
compactdump()

Definition at line 93 of file TriggerGateDataFormatting.h.

94 {
95  auto const& gate { wrap.gate };
96 
97  out << "[";
98  if (gate.hasChannel()) {
99  out << "channel: " << gate.channel();
100  }
101  else if (gate.hasChannels()) {
102  out << gate.nChannels() << " channels: "
103  << icarus::makeIntegerRanges(gate.channels());
104  }
105  else out << "no channel";
106  out << "] " << gate.gateLevels();
107 
108  return out;
109 } // icarus::trigger::operator<< (GateWrapper)
IntegerRanges< typename Coll::value_type, CheckGrowing > makeIntegerRanges(Coll const &coll)
std::ostream & icarus::trigger::details::operator<< ( std::ostream &  out,
DumpTriggerWindowChannelWrapper  window 
)
inline

Definition at line 111 of file SlidingWindowDefs.h.

112  { printTriggerWindowChannels(out, *(window.window)); return out; }
void printTriggerWindowChannels(std::ostream &out, TriggerWindowChannels_t const &window)
Prints the composition of the optical detector window inline.
std::ostream & icarus::trigger::details::operator<< ( std::ostream &  out,
DumpTriggerWindowDefWrapper  windows 
)
inline

Definition at line 124 of file SlidingWindowDefs.h.

125  { printTriggerWindowDefs(out, *(windows.windows)); return out; }
void printTriggerWindowDefs(std::ostream &out, TriggerWindowDefs_t const &windows)
Prints the composition of all windows in long format.
std::ostream & icarus::trigger::details::operator<< ( std::ostream &  out,
TriggerPassCounters const &  counters 
)

Definition at line 384 of file TriggerEfficiencyPlotsBase.cxx.

385  { counters.dump(out); return out; }

Variable Documentation

constexpr auto icarus::trigger::details::TriggerGateDebugLog = "TriggerSimulation"

Definition at line 276 of file TriggerGateBuilder.h.