Combines cryostat triggers via OR. Glorified Max()
.
More...
Public Member Functions | |
GeometryChannelSplitter (geo::GeometryCore const &geom, std::string const &logCategory="GeometryChannelSplitter") | |
template<typename GateObj > | |
std::vector< std::vector < GateObj > > | byCryostat (std::vector< GateObj > &&gates) const |
Splits the gates by cryostat. More... | |
Static Private Member Functions | |
static std::vector < geo::CryostatID > | makeChannelCryostatMap (geo::GeometryCore const &geom) |
Creates a map like fChannelCryostat from the geometry information. More... | |
Private Attributes | |
unsigned int const | fNCryostats |
Number of cryostats in the detector. More... | |
std::vector< geo::CryostatID > const | fChannelCryostat |
Map: optical channel ID -> number of the cryostat with that channel. 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... | |
Combines cryostat triggers via OR. Glorified Max()
.
Definition at line 142 of file MajorityTriggerSimulation_module.cc.
icarus::trigger::GeometryChannelSplitter::GeometryChannelSplitter | ( | geo::GeometryCore const & | geom, |
std::string const & | logCategory = "GeometryChannelSplitter" |
||
) |
Definition at line 174 of file MajorityTriggerSimulation_module.cc.
std::vector< std::vector< GateObj > > icarus::trigger::GeometryChannelSplitter::byCryostat | ( | std::vector< GateObj > && | gates | ) | const |
Splits the gates by cryostat.
Definition at line 188 of file MajorityTriggerSimulation_module.cc.
|
staticprivate |
Creates a map like fChannelCryostat
from the geometry information.
Definition at line 203 of file MajorityTriggerSimulation_module.cc.
|
private |
Map: optical channel ID -> number of the cryostat with that channel.
Definition at line 163 of file MajorityTriggerSimulation_module.cc.
|
private |
Number of cryostats in the detector.
Definition at line 160 of file MajorityTriggerSimulation_module.cc.