From 9b9f206ae51c8476b9a2a271e0558f20a66a68a6 Mon Sep 17 00:00:00 2001 From: Andrew Loeliger Date: Thu, 31 Oct 2024 07:02:38 -0500 Subject: [PATCH] code format --- L1Trigger/L1TCaloLayer1/test/testUCTLayer1.cpp | 2 +- L1Trigger/L1TCaloLayer1/test/testUCTLayer1HF.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L1Trigger/L1TCaloLayer1/test/testUCTLayer1.cpp b/L1Trigger/L1TCaloLayer1/test/testUCTLayer1.cpp index e278acc5b45ab..ecf2c99cb0011 100644 --- a/L1Trigger/L1TCaloLayer1/test/testUCTLayer1.cpp +++ b/L1Trigger/L1TCaloLayer1/test/testUCTLayer1.cpp @@ -57,7 +57,7 @@ void print(UCTLayer1& uct) { if (regions[rgn]->et() > 0) { int hitEta = regions[rgn]->hitCaloEta(); int hitPhi = regions[rgn]->hitCaloPhi(); - auto const& towers = regions[rgn]->getTowers(); + auto const& towers = regions[rgn]->getTowers(); for (uint32_t twr = 0; twr < towers.size(); twr++) { if (towers[twr]->caloPhi() == hitPhi && towers[twr]->caloEta() == hitEta) { std::cout << "*"; diff --git a/L1Trigger/L1TCaloLayer1/test/testUCTLayer1HF.cpp b/L1Trigger/L1TCaloLayer1/test/testUCTLayer1HF.cpp index 87c4103eef7a7..104ca91e9cc1e 100644 --- a/L1Trigger/L1TCaloLayer1/test/testUCTLayer1HF.cpp +++ b/L1Trigger/L1TCaloLayer1/test/testUCTLayer1HF.cpp @@ -56,7 +56,7 @@ void print(UCTLayer1& uct) { for (uint32_t crd = 0; crd < cards.size(); crd++) { vector regions = cards[crd]->getRegions(); for (uint32_t rgn = 0; rgn < regions.size(); rgn++) { - auto const& towers = regions[rgn]->getTowers(); + auto const& towers = regions[rgn]->getTowers(); for (uint32_t twr = 0; twr < towers.size(); twr++) { if (towers[twr]->et() != 0) std::cout << *towers[twr] << std::endl;