Skip to content
Snippets Groups Projects

Make Calo event model types SOACollections

Merged Arthur Marius Hennequin requested to merge ahennequ_soacalo into master
Compare and
38 files
+ 1480
1292
Compare changes
  • Side-by-side
  • Inline
Files
38
@@ -98,13 +98,13 @@ void CaloFutureClusterChecker::operator()( const Input& table, const Clusters& c
// loop over clusters
auto fill = [&table, this]( auto& clusters ) {
for ( const auto& cluster : clusters ) {
const auto& range = table.relations( cluster->seed() );
for ( const auto& cluster : clusters.scalar() ) {
const auto& range = table.relations( cluster.cellID() );
// number of relations per cluster
hFill1( "2", range.size() );
if ( range.empty() ) continue;
// cluster energy
const double e = cluster->e();
const double e = cluster.e();
// minimal weight
hFill1( "3", range.front().weight() / e );
// maximal weight
Loading