42 L_(info) <<
"Filling histos with " << stsDigis.size() <<
" STS digis";
43 for (
auto& digi : stsDigis) {
44 if (fill.
Skip(digi.GetAddress()))
continue;
49 for (
size_t p = 0; p < stsClusters.NPartitions(); p++) {
50 auto [sensor, address] = stsClusters.Partition(p);
51 if (fill.
Skip(address))
continue;
52 L_(info) <<
"Filling STS sensor " << address <<
" with " << sensor.size() <<
" clusters";
53 for (
auto& cluster : sensor) {
59 for (
size_t p = 0; p < stsHits.NPartitions(); p++) {
60 auto [sensor, address] = stsHits.Partition(p);
61 if (fill.
Skip(address))
continue;
62 L_(info) <<
"Filling STS sensor " << address <<
" with " << sensor.size() <<
" hits";
64 std::unordered_map<int, int> nHitsFromClusterF, nHitsFromClusterB;
66 for (
auto& hit : sensor) {
78 nHitsFromClusterF[hit.fFrontClusterId]++;
79 nHitsFromClusterB[hit.fBackClusterId]++;
82 for (
auto& [clusterId, nHits] : nHitsFromClusterF)
85 for (
auto& [clusterId, nHits] : nHitsFromClusterB)