Skip to content

Commit

Permalink
Merge pull request #472 from eic/adjacency-matrix-remove-spaces
Browse files Browse the repository at this point in the history
fix: remove spaces in adjacency matrix expression
  • Loading branch information
wdconinc authored Feb 9, 2023
2 parents 80b964b + f03e720 commit cfff541
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ProtoCluster_factory_EcalBarrelSciGlassProtoClusters : public JFactoryT<ed
// 24 - number of sectors
// 5 - number of towers per sector
u_adjacencyMatrix = "(abs(tower_1 - tower_2) + (abs((sector_1 - sector_2) * 5 + row_1 - row_2) == 1) + (abs((sector_1 - sector_2) * 5 + row_1 - row_2) == (24 * 5 - 1))) == 1";
std::remove(u_adjacencyMatrix.begin(), u_adjacencyMatrix.end(), ' ');
m_readout = "EcalBarrelSciGlassHits";

// neighbour checking distances
Expand Down

0 comments on commit cfff541

Please sign in to comment.