Skip to content
Snippets Groups Projects

Rich : Use MsgCounter instances.

Merged Christopher Rob Jones requested to merge Rich-UseMsgCounter into master
11 files
+ 113
89
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -43,9 +43,7 @@ StatusCode SmartIDClustering::initialize() {
// Warnings
for ( const auto rich : {Rich::Rich1, Rich::Rich2} ) {
if ( !m_usedDets[rich] ) {
Warning( "Pixels for " + Rich::text( rich ) + " are disabled", StatusCode::SUCCESS ).ignore();
}
if ( !m_usedDets[rich] ) { info() << "Pixels for " << rich << " are disabled" << endmsg; }
}
return sc;
@@ -245,9 +243,7 @@ Rich::PDPixelCluster::Vector SmartIDClustering::operator()( const Rich::Future::
if ( UNLIKELY( clusters.size() > m_maxClusters ) ) {
// Too many hits. Clear to prevent event processing.
clusters.clear();
Warning( "Too many clusters (>" + std::to_string( m_maxClusters.value() ) + "). Processing aborted.",
StatusCode::SUCCESS, 0 )
.ignore();
++m_maxClusWarn;
}
// return the found clusters
Loading