All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
icarus::trigger::MajorityTriggerCombiner Class Reference

Combines a group of trigger gates for majority trigger. Glorified Sum(). More...

Inheritance diagram for icarus::trigger::MajorityTriggerCombiner:
icarus::ns::util::mfLoggingClass

Public Member Functions

 MajorityTriggerCombiner (std::string const &logCategory="MajorityTriggerCombiner")
 
template<typename GateObj >
GateObj combine (std::vector< GateObj > const &gates) const
 Combines all the gates (by cryostat) in a single majority gate. More...
 

Additional Inherited Members

- Protected Member Functions inherited from icarus::ns::util::mfLoggingClass
 mfLoggingClass (std::string const &logCategory)
 Constructor: initializes with the specified log category. More...
 
std::string logCategory () const
 Returns the logging category string for this object. More...
 
mfLoggingClass const & loggingClass () const
 Returns this object (as a logging class object). More...
 
mf::LogError mfLogError (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogError() stream for logging. More...
 
mf::LogWarning mfLogWarning (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogWarning() stream for logging. More...
 
mf::LogProblem mfLogProblem (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogProblem() stream for logging. More...
 
mf::LogInfo mfLogInfo (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogInfo() stream for logging. More...
 
mf::LogVerbatim mfLogVerbatim (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogVerbatim() stream for logging. More...
 
mf::LogDebug mfLogDebug (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogDebug() stream for logging. More...
 
mf::LogTrace mfLogTrace (std::string const &file={}, int const lineNumber=0) const
 Returns a mf::LogTrace() stream for logging. More...
 

Detailed Description

Combines a group of trigger gates for majority trigger. Glorified Sum().

Definition at line 92 of file MajorityTriggerSimulation_module.cc.

Constructor & Destructor Documentation

icarus::trigger::MajorityTriggerCombiner::MajorityTriggerCombiner ( std::string const &  logCategory = "MajorityTriggerCombiner")
inline

Definition at line 99 of file MajorityTriggerSimulation_module.cc.

Helper for logging classes.
std::string logCategory() const
Returns the logging category string for this object.

Member Function Documentation

template<typename GateObj >
GateObj icarus::trigger::MajorityTriggerCombiner::combine ( std::vector< GateObj > const &  gates) const
inline

Combines all the gates (by cryostat) in a single majority gate.

Definition at line 104 of file MajorityTriggerSimulation_module.cc.

105  { return icarus::trigger::sumGates(gates); }
auto sumGates(GateColl const &gates)
Sums all the gates in a collection.

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