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

Combines cryostat triggers via OR. Glorified Max(). More...

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

Public Member Functions

 CryostatTriggerCombiner (std::string const &logCategory="CryostatTriggerCombiner")
 
template<typename GateObj >
GateObj combine (std::vector< GateObj > const &cryoGates) 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 cryostat triggers via OR. Glorified Max().

Definition at line 117 of file MajorityTriggerSimulation_module.cc.

Constructor & Destructor Documentation

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

Definition at line 124 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::CryostatTriggerCombiner::combine ( std::vector< GateObj > const &  cryoGates) const
inline

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

Definition at line 129 of file MajorityTriggerSimulation_module.cc.

130  { return icarus::trigger::maxGates(cryoGates); }
auto maxGates(GateColl const &gates)
Computes the gate with the maximum opening of gates from collection.

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