All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
icarus::TriggerConfiguration::GateConfig Struct Reference

#include <TriggerConfiguration.h>

Public Member Functions

bool operator== (GateConfig const &other) const noexcept
 Comparison: all fields need to have the same values. More...
 
bool operator!= (GateConfig const &other) const noexcept
 

Public Attributes

bool hasGate = false
 Return gate activation. More...
 
bool hasDriftGate = false
 Return drift gate activation status (for out-of-time light) More...
 
bool hasMinBiasGate = false
 Return MinBias triggers activation status. More...
 
bool hasMinBiasDriftGate = false
 Return MinBias drift gate activation status (for out-of-time light) More...
 
unsigned int gateWidth = 0U
 Duration of the gate for the in-time activity in ns. More...
 
unsigned int driftGateWidth = 0U
 Duration of the drift gate for the out-of-time activity in ns. More...
 
unsigned long prescaleMinBias =1U
 Prescale for the MinBias triggers (calculated with respect to the number of gates opened) More...
 
unsigned long offBeamGateRate = 1U
 Rate of gates opened outside the extraction (calculated with respect to the number of gates opened) More...
 
unsigned long earlyWarningOffset = 0U
 Early warning offset for the BNB (NuMI) GatedBES ($MIBS74) in ns; used for the beam gate. More...
 
unsigned long earlyEarlyWarningOffset = 0U
 Early Early warning offset for the BNB (NuMI) $1D ($AE) in ns; used for the drift gate. More...
 
unsigned int period = 0U
 Period of two consecutive pulses from the internal pulse generator (valid for calibration gate) in ns. More...
 

Detailed Description

Definition at line 60 of file TriggerConfiguration.h.

Member Function Documentation

bool icarus::TriggerConfiguration::GateConfig::operator!= ( GateConfig const &  other) const
inlinenoexcept

Definition at line 99 of file TriggerConfiguration.h.

100  { return ! this->operator== (other); }
bool operator==(GateConfig const &other) const noexcept
Comparison: all fields need to have the same values.
bool icarus::TriggerConfiguration::GateConfig::operator== ( GateConfig const &  other) const
inlinenoexcept

Comparison: all fields need to have the same values.

Definition at line 320 of file TriggerConfiguration.h.

321  {
322  if( hasGate != other.hasGate ) return false;
323  if( hasDriftGate != other.hasDriftGate ) return false;
324  if( hasMinBiasGate != other.hasMinBiasGate ) return false;
325  if( gateWidth != other.gateWidth ) return false;
326  if( driftGateWidth != other.driftGateWidth ) return false;
327  if( prescaleMinBias != other.prescaleMinBias ) return false;
328  if( offBeamGateRate != other.offBeamGateRate ) return false;
329  if( earlyWarningOffset != other.earlyWarningOffset ) return false;
330  if( earlyEarlyWarningOffset != other.earlyEarlyWarningOffset ) return false;
331  if( period != other.period ) return false;
332 
333  return true;
334 
335  }
bool hasDriftGate
Return drift gate activation status (for out-of-time light)
unsigned int period
Period of two consecutive pulses from the internal pulse generator (valid for calibration gate) in ns...
bool hasMinBiasGate
Return MinBias triggers activation status.
unsigned long prescaleMinBias
Prescale for the MinBias triggers (calculated with respect to the number of gates opened) ...
unsigned int gateWidth
Duration of the gate for the in-time activity in ns.
unsigned long earlyEarlyWarningOffset
Early Early warning offset for the BNB (NuMI) $1D ($AE) in ns; used for the drift gate...
unsigned long offBeamGateRate
Rate of gates opened outside the extraction (calculated with respect to the number of gates opened) ...
unsigned long earlyWarningOffset
Early warning offset for the BNB (NuMI) GatedBES ($MIBS74) in ns; used for the beam gate...
unsigned int driftGateWidth
Duration of the drift gate for the out-of-time activity in ns.

Member Data Documentation

unsigned int icarus::TriggerConfiguration::GateConfig::driftGateWidth = 0U

Duration of the drift gate for the out-of-time activity in ns.

Definition at line 78 of file TriggerConfiguration.h.

unsigned long icarus::TriggerConfiguration::GateConfig::earlyEarlyWarningOffset = 0U

Early Early warning offset for the BNB (NuMI) $1D ($AE) in ns; used for the drift gate.

Definition at line 90 of file TriggerConfiguration.h.

unsigned long icarus::TriggerConfiguration::GateConfig::earlyWarningOffset = 0U

Early warning offset for the BNB (NuMI) GatedBES ($MIBS74) in ns; used for the beam gate.

Definition at line 87 of file TriggerConfiguration.h.

unsigned int icarus::TriggerConfiguration::GateConfig::gateWidth = 0U

Duration of the gate for the in-time activity in ns.

Definition at line 75 of file TriggerConfiguration.h.

bool icarus::TriggerConfiguration::GateConfig::hasDriftGate = false

Return drift gate activation status (for out-of-time light)

Definition at line 66 of file TriggerConfiguration.h.

bool icarus::TriggerConfiguration::GateConfig::hasGate = false

Return gate activation.

Definition at line 63 of file TriggerConfiguration.h.

bool icarus::TriggerConfiguration::GateConfig::hasMinBiasDriftGate = false

Return MinBias drift gate activation status (for out-of-time light)

Definition at line 72 of file TriggerConfiguration.h.

bool icarus::TriggerConfiguration::GateConfig::hasMinBiasGate = false

Return MinBias triggers activation status.

Definition at line 69 of file TriggerConfiguration.h.

unsigned long icarus::TriggerConfiguration::GateConfig::offBeamGateRate = 1U

Rate of gates opened outside the extraction (calculated with respect to the number of gates opened)

Definition at line 84 of file TriggerConfiguration.h.

unsigned int icarus::TriggerConfiguration::GateConfig::period = 0U

Period of two consecutive pulses from the internal pulse generator (valid for calibration gate) in ns.

Definition at line 93 of file TriggerConfiguration.h.

unsigned long icarus::TriggerConfiguration::GateConfig::prescaleMinBias =1U

Prescale for the MinBias triggers (calculated with respect to the number of gates opened)

Definition at line 81 of file TriggerConfiguration.h.


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