Changes in MM L1 Simulation
The following changes are implemented:
- Removed intermediate if-clause on hit vector size and moved up in the code, directly after hits being gathered from digits, replacing the check for empty size (alignment fixed accordingly in
MMTriggerTool.cxx
) - Changed
BC
andage
data types fromdouble
toint
, as they should be - Changed algorithm used to identify the smallest, positive BC (now done with
std::minmax_element
approach) - Other minor changes in
MMT_Diamond.cxx
: used range-based for loop, passed object by reference and expanded tabs into space, fixing alignment
./cc @vadamico