Skip to content

Commit

Permalink
Make clang-tidy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedd1123 committed Dec 18, 2024
1 parent 3883f9b commit 9fe2773
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/algorithms/digi/LGADPulseGeneration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
#include <DDRec/CellIDPositionConverter.h>
#include <Evaluator/DD4hepUnits.h>
#include <RtypesCore.h>
#include <cmath>
#include <gsl/pointers>
#include <unordered_map>
#include <vector>

#include "TMath.h"
#include "LGADPulseGeneration.h"
#include "TMath.h"
#include "algorithms/digi/LGADPulseGenerationConfig.h"

namespace eicrecon {
Expand Down
5 changes: 5 additions & 0 deletions src/algorithms/digi/LGADPulseGeneration.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@

#pragma once

#include <DDRec/CellIDPositionConverter.h>
#include <algorithms/algorithm.h>
#include <edm4hep/RawTimeSeriesCollection.h>
#include <edm4hep/SimTrackerHitCollection.h>
#include <memory>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>

#include "algorithms/digi/LGADPulseGenerationConfig.h"
#include "algorithms/interfaces/WithPodConfig.h"
Expand Down
8 changes: 5 additions & 3 deletions src/tests/algorithms_test/digi_LGADPulseDigitization.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@
#include <DD4hep/Detector.h>
#include <DD4hep/IDDescriptor.h>
#include <DD4hep/Readout.h>
#include <Evaluator/DD4hepUnits.h>
#include <TMath.h>
#include <algorithms/geo.h>
#include <catch2/catch_test_macros.hpp> // for AssertionHandler, operator""_catch_sr, StringRef, REQUIRE, operator<, operator==, operator>, TEST_CASE
#include <cmath>
#include <edm4eic/RawTrackerHitCollection.h>
#include <edm4hep/RawTimeSeriesCollection.h>
#include <gsl/pointers>
#include <memory> // for allocator, unique_ptr, make_unique, shared_ptr, __shared_ptr_access
#include <spdlog/common.h> // for level_enum
#include <spdlog/logger.h> // for logger
#include <spdlog/spdlog.h> // for default_logger
#include <cmath>
#include <gsl/pointers>
#include <memory> // for allocator, unique_ptr, make_unique, shared_ptr, __shared_ptr_access
#include <tuple>
#include <utility>

#include "algorithms/digi/LGADPulseDigitization.h"
#include "algorithms/digi/LGADPulseDigitizationConfig.h"

TEST_CASE("the LGAD charge sharing algorithm runs", "[LGADPulseDigitization]") {
const float EPSILON = 1e-5;
Expand Down
11 changes: 7 additions & 4 deletions src/tests/algorithms_test/digi_LGADPulseGeneration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@
#include <DD4hep/Detector.h>
#include <DD4hep/IDDescriptor.h>
#include <DD4hep/Readout.h>
#include <algorithm>
#include <Evaluator/DD4hepUnits.h>
#include <algorithms/geo.h>
#include <catch2/catch_test_macros.hpp> // for AssertionHandler, operator""_catch_sr, StringRef, REQUIRE, operator<, operator==, operator>, TEST_CASE
#include <edm4hep/RawTimeSeriesCollection.h>
#include <edm4hep/SimTrackerHitCollection.h>
#include <fmt/core.h>
#include <gsl/pointers>
#include <limits>
#include <memory> // for allocator, unique_ptr, make_unique, shared_ptr, __shared_ptr_access
#include <podio/RelationRange.h>
#include <spdlog/common.h> // for level_enum
#include <spdlog/logger.h> // for logger
#include <spdlog/spdlog.h> // for default_logger
#include <algorithm>
#include <cmath>
#include <gsl/pointers>
#include <limits>
#include <memory> // for allocator, unique_ptr, make_unique, shared_ptr, __shared_ptr_access
#include <tuple>
#include <utility>
#include <vector>

#include "TF1.h"
#include "TGraphErrors.h"
#include "algorithms/digi/LGADPulseGeneration.h"
#include "algorithms/digi/LGADPulseGenerationConfig.h"

TEST_CASE("the LGAD charge sharing algorithm runs", "[LGADPulseGeneration]") {
const float EPSILON = 1e-5;
Expand Down

0 comments on commit 9fe2773

Please sign in to comment.