You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/TopologyDictionary.h
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -73,11 +73,11 @@ class TopologyDictionary
73
73
74
74
/// constexpr for the definition of the groups of rare topologies.
75
75
/// The attritbution of the group ID is stringly dependent on the following parameters: it must be a power of 2.
76
-
staticconstexprint RowClassSpan = 4; ///< Row span of the classes of rare topologies
77
-
staticconstexprint ColClassSpan = 4; ///< Column span of the classes of rare topologies
78
-
staticconstexprintMinimumClassArea = RowClassSpan * ColClassSpan; ///< Area of the smallest class of rare topologies (used as reference)
79
-
staticconstexprintMaxNumberOfClasses = ClusterPattern::MaxPatternBits / MinimumClassArea; ///< Maximum number of row/column classes for the groups of rare topologies
80
-
staticconstexprint NumberOfRareGroups = MaxNumberOfClasses * MaxNumberOfClasses;///< Number of entries corresponding to groups of rare topologies (those whos matrix exceed the max number of bytes are empty).
76
+
staticconstexprint RowClassSpan = 4; ///< Row span of the classes of rare topologies
77
+
staticconstexprint ColClassSpan = 4; ///< Column span of the classes of rare topologies
78
+
staticconstexprintMaxNumberOfRowClasses = 1 + (ClusterPattern::MaxRowSpan - 1) / RowClassSpan; ///< Maximum number of row classes for the groups of rare topologies
79
+
staticconstexprintMaxNumberOfColClasses = 1 + (ClusterPattern::MaxColSpan - 1) / ColClassSpan; ///< Maximum number of col classes for the groups of rare topologies
80
+
staticconstexprint NumberOfRareGroups = MaxNumberOfRowClasses * MaxNumberOfColClasses; ///< Number of entries corresponding to groups of rare topologies (those whos matrix exceed the max number of bytes are empty).
0 commit comments