diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d3aa6f32c99..97f66117320 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -150,3 +150,13 @@ jobs: - name: Check run: > CI/check_fpe_masks.py --token ${{ secrets.GITHUB_TOKEN }} + unused_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Check + run: > + CI/check_unused_files.py diff --git a/CI/check_unused_files.py b/CI/check_unused_files.py new file mode 100755 index 00000000000..0de9e8c5c12 --- /dev/null +++ b/CI/check_unused_files.py @@ -0,0 +1,228 @@ +#!/usr/bin/env python3 + +from pathlib import Path +import os +import sys +import subprocess + + +def file_can_be_removed(searchstring, scope): + cmd = "grep -IR '" + searchstring + "' " + " ".join(scope) + + p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) + output, _ = p.communicate() + return output == b"" + + +def count_files(path=".", exclude_dirs=(), exclude_files=()): + count = 0 + for root, dirs, files in os.walk(path): + dirs[:] = [d for d in dirs if d not in exclude_dirs] + files[:] = [f for f in files if f not in exclude_files] + count += len(files) + + return count + + +def main(): + print("\033[32mINFO\033[0m Start check_unused_files.py ...") + exclude_dirs = ( + "Scripts", + "thirdparty", + "CI", + "git", + "cmake", + ".git", + ".github", + ".", + ".idea", + ) + exclude_files = ( + "acts_logo_colored.svg", + ".gitignore", + "README.md", + "CMakeLists.txt", + "DetUtils.h", + "CommandLineArguments.h", + # Filename not completed in source + "vertexing_event_mu20_beamspot.csv", + "vertexing_event_mu20_tracks.csv", + "vertexing_event_mu20_vertices_AMVF.csv", + # TODO Move the following files to a better place? + "Magfield.ipynb", + "SolenoidField.ipynb", + # TODO Add README next to the following files? + "default-input-config-generic.json", + "geoSelection-openDataDetector.json", + "alignment-geo-contextualDetector.json", + ) + + suffix_header = ( + ".hpp", + ".cuh", + ) + suffix_source = ( + ".ipp", + ".cpp", + ".cu", + ) + suffix_image = ( + ".png", + ".svg", + ".jpg", + ".gif", + ) + suffix_python = (".py",) + suffix_doc = ( + ".md", + ".rst", + ) + suffix_other = ( + "", + ".csv", + ".css", + ".gdml", + ".hepmc3", + ".in", + ".ipynb", + ".json", + ".j2", + ".onnx", + ".root", + ".toml", + ".txt", + ".yml", + ) + suffix_allowed = ( + suffix_header + + suffix_source + + suffix_image + + suffix_python + + suffix_doc + + suffix_other + ) + + exit = 0 + + dirs_base = next(os.walk("."))[1] + dirs_base[:] = [d for d in dirs_base if d not in exclude_dirs] + dirs_base_docs = ("docs",) + dirs_base_code = [d for d in dirs_base if d not in dirs_base_docs] + + # Collectors + wrong_extension = () + unused_files = () + + # walk over all files + for root, dirs, files in os.walk("."): + dirs[:] = [d for d in dirs if d not in exclude_dirs] + files[:] = [f for f in files if f not in exclude_files] + + # Skip base-directory + if str(Path(root)) == ".": + continue + + # Print progress + if root[2:] in dirs_base: + processed_files = 0 + current_base_dir = root + number_files = count_files(root, exclude_dirs, exclude_files) + # print empty to start a new line + print("") + + # Skip "white-paper-figures" + # TODO Find a more elegant way + if str(root).find("white_papers/figures") != -1: + processed_files += count_files(root, exclude_dirs, exclude_files) + continue + + # Skip "DD4hep-tests" since their cmake looks a bit different + # TODO Find a more elegant way + if str(root).find("Tests/UnitTests/Plugins/DD4hep") != -1: + processed_files += count_files(root, exclude_dirs, exclude_files) + continue + + root = Path(root) + for filename in files: + processed_files += 1 + # get the full path of the file + filepath = root / filename + + # Check for wrong extensions + if filepath.suffix not in suffix_allowed: + wrong_extension += (str(filepath),) + + # Check header files and remove + if filepath.suffix in suffix_header + suffix_source: + if file_can_be_removed(filepath.stem, dirs_base_code): + unused_files += (str(filepath),) + remove_cmd = "rm " + str(filepath) + os.system(remove_cmd) + + # TODO Find test to check python files + if filepath.suffix in suffix_python: + continue + + # Check documentation files (weak tests) + # TODO find more reliable test for this + if filepath.suffix in suffix_doc: + if file_can_be_removed(filepath.stem, dirs_base_docs): + unused_files += (str(filepath),) + remove_cmd = "rm " + str(filepath) + os.system(remove_cmd) + + # Check and print other files + if filepath.suffix in suffix_image + suffix_other: + if file_can_be_removed(filename, dirs_base): + unused_files += (str(filepath),) + remove_cmd = "rm " + str(filepath) + os.system(remove_cmd) + + # Print the progress in place + progress = int(20 * processed_files / number_files) + sys.stdout.write("\r") + sys.stdout.write( + "Checked [%-20s] %d/%d files in %s" + % ("=" * progress, processed_files, number_files, current_base_dir) + ) + sys.stdout.flush() + + if len(wrong_extension) != 0: + print( + "\n\n\033[31mERROR\033[0m " + + f"The following {len(wrong_extension)} files have an unsupported extension:\n\n" + + "\033[31m" + + "\n".join(wrong_extension) + + "\033[0m" + + "\nCheck if you can change the format to one of the following:\n" + + "\n".join(suffix_allowed) + + "\nIf you really need that specific extension, add it to the list above.\n" + ) + + exit += 1 + + if len(unused_files) != 0: + print( + "\n\n\033[31mERROR\033[0m " + + f"The following {len(unused_files)} files seem to be unused:\n" + + "\033[31m" + + "\n".join(unused_files) + + "\033[0m" + + "\nYou have 3 options:" + + "\n\t- Remove them" + + "\n\t- Use them (check proper include)" + + "\n\t- Modify the ignore list of this check\n" + ) + + exit += 1 + + if exit == 0: + print( + "\n\n\033[32mINFO\033[0m Finished check_unused_files.py without any errors." + ) + + return exit + + +if "__main__" == __name__: + sys.exit(main()) diff --git a/Core/include/Acts/Material/MaterialCollector.hpp b/Core/include/Acts/Material/MaterialCollector.hpp deleted file mode 100644 index f7b523549b4..00000000000 --- a/Core/include/Acts/Material/MaterialCollector.hpp +++ /dev/null @@ -1,145 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018-2020 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -#include "Acts/Material/ISurfaceMaterial.hpp" -#include "Acts/Material/Material.hpp" -#include "Acts/Material/MaterialSlab.hpp" -#include "Acts/Surfaces/Surface.hpp" - -#include - -namespace Acts { - -/// The information to be writtern out per hit surface -struct MaterialHit { - const Surface* surface = nullptr; - Vector3 position; - Vector3 direction; - Material material; - double pathLength; -}; - -/// A Material Collector struct -struct MaterialCollector { - /// In the detailed collection mode the material - /// per surface is collected, otherwise only the total - /// pathlength in X0 or L0 are recorded - bool detailedCollection = false; - - /// Simple result struct to be returned - /// - /// Result of the material collection process - /// It collects the overall X0 and L0 path lengths, - /// and optionally a detailed per-material breakdown - struct this_result { - std::vector collected; - double materialInX0 = 0.; - double materialInL0 = 0.; - }; - - using result_type = this_result; - - /// Collector action for the ActionList of the Propagator - /// It checks if the state has a current surface, - /// in which case the action is performed: - /// - it records the surface given the configuration - /// - /// @tparam propagator_state_t is the type of Propagator state - /// @tparam stepper_t Type of the stepper of the propagation - /// @tparam navigator_t Type of the navigator of the propagation - /// - /// @param state is the mutable propagator state object - /// @param stepper The stepper in use - /// @param navigator The navigator in use - /// @param result is the result object to be filled - /// @param logger a logger instance - template - void operator()(propagator_state_t& state, const stepper_t& stepper, - const navigator_t& navigator, result_type& result, - const Logger& logger) const { - if (navigator.currentSurface(state.navigation)) { - if (navigator.currentSurface(state.navigation) == - navigator.targetSurface(state.navigation) && - !navigator.targetReached(state.navigation)) { - return; - } - - ACTS_VERBOSE("Material check on surface " - << navigator.currentSurface(state.navigation)->geometryId()); - - if (navigator.currentSurface(state.navigation)->surfaceMaterial()) { - // get the material propertices and only continue - const MaterialSlab* mProperties = - navigator.currentSurface(state.navigation) - ->surfaceMaterial() - ->material(stepper.position(state.stepping)); - if (mProperties) { - // pre/post/full update - double prepofu = 1.; - if (navigator.startSurface(state.navigation) == - navigator.currentSurface(state.navigation)) { - ACTS_VERBOSE("Update on start surface: post-update mode."); - prepofu = navigator.currentSurface(state.navigation) - ->surfaceMaterial() - ->factor(state.options.direction, - MaterialUpdateStage::PostUpdate); - } else if (navigator.targetSurface(state.navigation) == - navigator.currentSurface(state.navigation)) { - ACTS_VERBOSE("Update on target surface: pre-update mode"); - prepofu = navigator.currentSurface(state.navigation) - ->surfaceMaterial() - ->factor(state.options.direction, - MaterialUpdateStage::PreUpdate); - } else { - ACTS_VERBOSE("Update while pass through: full mode."); - } - - // the pre/post factor has been applied - // now check if there's still something to do - if (prepofu == 0.) { - ACTS_VERBOSE("Pre/Post factor set material to zero."); - return; - } - // more debugging output to the screen - ACTS_VERBOSE("Material properties found for this surface."); - - // the path correction from the surface intersection - double pCorrection = - prepofu * navigator.currentSurface(state.navigation) - ->pathCorrection(stepper.position(state.stepping), - stepper.direction(state.stepping)); - // the full material - result.materialInX0 += pCorrection * mProperties->thicknessInX0(); - result.materialInL0 += pCorrection * mProperties->thicknessInL0(); - - ACTS_VERBOSE("t/X0 (t/L0) increased to " - << result.materialInX0 << " (" << result.materialInL0 - << " )"); - - // if configured, record the individual material hits - if (detailedCollection) { - // create for recording - MaterialHit mHit; - mHit.surface = navigator.currentSurface(state.navigation); - mHit.position = stepper.position(state.stepping); - mHit.direction = stepper.direction(state.stepping); - // get the material & path length - mHit.material = mProperties->material(); - mHit.pathLength = pCorrection * mProperties->thickness(); - // save if in the result - result.collected.push_back(mHit); - } - } - } - } - } -}; // namespace Acts -} // namespace Acts diff --git a/Core/include/Acts/Utilities/GridFwd.hpp b/Core/include/Acts/Utilities/GridFwd.hpp deleted file mode 100644 index 7cb2b5daa77..00000000000 --- a/Core/include/Acts/Utilities/GridFwd.hpp +++ /dev/null @@ -1,14 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2019 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -namespace Acts { -template -class Grid; -} // namespace Acts diff --git a/Core/include/Acts/Utilities/detail/MPL/get_position.hpp b/Core/include/Acts/Utilities/detail/MPL/get_position.hpp deleted file mode 100644 index a3f9e8d2497..00000000000 --- a/Core/include/Acts/Utilities/detail/MPL/get_position.hpp +++ /dev/null @@ -1,42 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2016-2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once -namespace Acts { -/// @cond detail -namespace detail { -/** - * @brief get position of integral constant in template parameter pack - * - * @tparam T integral type of the values to be investigated - * @tparam target target value whose position in the template parameter pack - * should be determined - * @tparam values template parameter pack containing the list of values - * - * @return `get_position::value` yields the position of - * `target` inside `values`. - * If `target` is not in the list of `values`, a compile-time error is - * generated. - */ -template -struct get_position; - -/// @cond -template -struct get_position { - enum { value = 0 }; -}; - -template -struct get_position { - enum { value = get_position::value + 1 }; -}; -/// @endcond -} // namespace detail -/// @endcond -} // namespace Acts diff --git a/Core/include/Acts/Utilities/detail/MPL/is_contained.hpp b/Core/include/Acts/Utilities/detail/MPL/is_contained.hpp deleted file mode 100644 index 4b2ad62ed87..00000000000 --- a/Core/include/Acts/Utilities/detail/MPL/is_contained.hpp +++ /dev/null @@ -1,50 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2016-2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once -namespace Acts { -/// @cond detail -namespace detail { -/** - * @brief check whether given integral constant is contained in a template - * parameter pack - * - * @tparam T integral type of the values to be checked - * @tparam target target value to be looked for - * @tparam values template parameter pack containing the list of values - * - * @return `is_contained::value` is @c true if `target` is - * among `values`, otherwise @c false - */ -template -struct is_contained; - -/// @cond -template -struct is_contained { - enum { value = true }; -}; - -template -struct is_contained { - enum { value = true }; -}; - -template -struct is_contained { - enum { value = is_contained::value }; -}; - -template -struct is_contained { - enum { value = false }; -}; -/// @endcond -} // namespace detail -/// @endcond -} // namespace Acts diff --git a/Examples/Io/Json/include/ActsExamples/Io/Json/JsonSpacePointWriter.hpp b/Examples/Io/Json/include/ActsExamples/Io/Json/JsonSpacePointWriter.hpp deleted file mode 100644 index df6fff26baa..00000000000 --- a/Examples/Io/Json/include/ActsExamples/Io/Json/JsonSpacePointWriter.hpp +++ /dev/null @@ -1,111 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2017 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -/// @file -/// @date 2016-05-23 Initial version -/// @date 2017-08-07 Rewrite with new interfaces - -#pragma once - -#include "ActsExamples/EventData/GeometryContainers.hpp" -#include "ActsExamples/Framework/WriterT.hpp" -#include "ActsExamples/Utilities/Paths.hpp" - -#include - -namespace ActsExamples { - -/// Write out a space point collection in JSON format. -/// -/// This writes one file per event into the configured output directory. By -/// default it writes to the current working directory. Files are named -/// using the following schema -/// -/// event000000001-spacepoints.json -/// event000000002-spacepoints.json -/// -template -class JsonSpacePointWriter : public WriterT> { - public: - struct Config { - std::string collection; ///< which collection to write - std::string outputDir; ///< where to place output files - std::size_t outputPrecision = 6; ///< floating point precision - }; - - JsonSpacePointWriter(const Config& cfg, - Acts::Logging::Level level = Acts::Logging::INFO); - - protected: - ActsExamples::ProcessCode writeT( - const ActsExamples::AlgorithmContext& context, - const GeometryIdMultimap& spacePoints) override; - - private: - // since class itself is templated, base class template must be fixed - using Base = WriterT>; - - Config m_cfg; -}; - -} // namespace ActsExamples - -template -ActsExamples::JsonSpacePointWriter::JsonSpacePointWriter( - const ActsExamples::JsonSpacePointWriter::Config& cfg, - Acts::Logging::Level level) - : Base(cfg.collection, "JsonSpacePointWriter", level), m_cfg(cfg) { - if (m_cfg.collection.empty()) { - throw std::invalid_argument("Missing input collection"); - } -} - -template -ActsExamples::ProcessCode ActsExamples::JsonSpacePointWriter::writeT( - const ActsExamples::AlgorithmContext& context, - const GeometryIdMultimap& spacePoints) { - // open per-event file - std::string path = perEventFilepath(m_cfg.outputDir, "spacepoints.json", - context.eventNumber); - std::ofstream os(path, std::ofstream::out | std::ofstream::trunc); - if (!os) { // NOLINT(readability-implicit-bool-conversion) - throw std::ios_base::failure("Could not open '" + path + "' to write"); - } - - os << std::setprecision(m_cfg.outputPrecision); - os << "{\n"; - - bool firstVolume = true; - for (auto& volumeData : spacePoints) { - geo_id_value volumeID = volumeData.first; - - if (!firstVolume) - os << ",\n"; - os << " \"SpacePoints_" << volumeID << "\" : [\n"; - - bool firstPoint = true; - for (auto& layerData : volumeData.second) { - for (auto& moduleData : layerData.second) { - for (auto& data : moduleData.second) { - // set the comma correctly - if (!firstPoint) - os << ",\n"; - // write the space point - os << " [" << data.x() << ", " << data.y() << ", " << data.z() - << "]"; - firstPoint = false; - } - } - } - os << "]"; - firstVolume = false; - } - os << "\n}\n"; - - return ProcessCode::SUCCESS; -} diff --git a/Examples/Io/Obj/include/ActsExamples/Plugins/Obj/ObjSpacePointWriter.hpp b/Examples/Io/Obj/include/ActsExamples/Plugins/Obj/ObjSpacePointWriter.hpp deleted file mode 100644 index ef98f7d3eed..00000000000 --- a/Examples/Io/Obj/include/ActsExamples/Plugins/Obj/ObjSpacePointWriter.hpp +++ /dev/null @@ -1,94 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2017-2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -#include "ActsExamples/EventData/GeometryContainers.hpp" -#include "ActsExamples/Framework/WriterT.hpp" -#include "ActsExamples/Utilities/Paths.hpp" - -#include - -namespace ActsExamples { - -/// Write out a space point collection in OBJ format. -/// -/// This writes one file per event into the configured output directory. By -/// default it writes to the current working directory. Files are named -/// using the following schema -/// -/// event000000001-spacepoints.obj -/// event000000002-spacepoints.obj -/// -/// One write call per thread and hence thread safe. -template -class ObjSpacePointWriter : public WriterT> { - public: - struct Config { - std::string collection; ///< which collection to write - std::string outputDir; ///< where to place output files - double outputScalor = 1.0; ///< scale output values - std::size_t outputPrecision = 6; ///< floating point precision - }; - - ObjSpacePointWriter(const Config& cfg, - Acts::Logging::Level level = Acts::Logging::INFO); - - protected: - ProcessCode writeT(const AlgorithmContext& context, - const GeometryIdMultimap& spacePoints); - - private: - // since class iitself is templated, base class template must be fixed - using Base = WriterT>; - - Config m_cfg; -}; - -} // namespace ActsExamples - -template -inline ActsExamples::ObjSpacePointWriter::ObjSpacePointWriter( - const ObjSpacePointWriter::Config& cfg, Acts::Logging::Level level) - : Base(cfg.collection, "ObjSpacePointWriter", level), m_cfg(cfg) { - if (m_cfg.collection.empty()) { - throw std::invalid_argument("Missing input collection"); - } -} - -template -inline ActsExamples::ProcessCode ActsExamples::ObjSpacePointWriter::writeT( - const ActsExamples::AlgorithmContext& context, - const ActsExamples::GeometryIdMultimap& spacePoints) { - // open per-event file - std::string path = ActsExamples::perEventFilepath( - m_cfg.outputDir, "spacepoints.obj", context.eventNumber); - std::ofstream os(path, std::ofstream::out | std::ofstream::trunc); - if (!os) { - throw std::ios_base::failure("Could not open '" + path + "' to write"); - } - - os << std::setprecision(m_cfg.outputPrecision); - // count the vertex - std::size_t vertex = 0; - // loop and fill the space point data - for (auto& volumeData : spacePoints) { - for (auto& layerData : volumeData.second) { - for (auto& moduleData : layerData.second) { - for (auto& data : moduleData.second) { - // write the space point - os << "v " << m_cfg.outputScalor * data.x() << " " - << m_cfg.outputScalor * data.y() << " " - << m_cfg.outputScalor * data.z() << '\n'; - os << "p " << ++vertex << '\n'; - } - } - } - } - return ProcessCode::SUCCESS; -} diff --git a/Examples/Python/src/DetectorInspectorsStub.cpp b/Examples/Python/src/DetectorInspectorsStub.cpp deleted file mode 100644 index 59990c1ccb7..00000000000 --- a/Examples/Python/src/DetectorInspectorsStub.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2021 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -namespace Acts { -namespace Python { -struct Context; -} // namespace Python -} // namespace Acts - -namespace Acts::Python { -void addDetectorInspectors(Context& /*ctx*/) {} -} // namespace Acts::Python diff --git a/Examples/Run/Geant4/barrel_chambers00.png b/Examples/Run/Geant4/barrel_chambers00.png deleted file mode 100644 index f694d061537..00000000000 Binary files a/Examples/Run/Geant4/barrel_chambers00.png and /dev/null differ diff --git a/Plugins/DD4hep/src/DD4hepMaterialConverter.cpp b/Plugins/DD4hep/src/DD4hepMaterialConverter.cpp deleted file mode 100644 index b872084f353..00000000000 --- a/Plugins/DD4hep/src/DD4hepMaterialConverter.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2019 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#include "Acts/Geometry/ApproachDescriptor.hpp" -#include "Acts/Geometry/Layer.hpp" -#include "Acts/Material/ProtoSurfaceMaterial.hpp" -#include "Acts/Plugins/DD4hep/ConvertDD4hepMaterial.hpp" -#include "Acts/Plugins/DD4hep/DD4hepConversionHelpers.hpp" -#include "Acts/Surfaces/Surface.hpp" -#include "Acts/Utilities/BinUtility.hpp" - -#include -#include -#include -#include -#include - -#include -#include - -std::shared_ptr Acts::createProtoMaterial( - const dd4hep::rec::VariantParameters& params, const std::string& valueTag, - const std::vector >& - binning, - const Logger& logger) { - using namespace std::string_literals; - - // Create the bin utility - Acts::BinUtility bu; - // Loop over the bins - for (auto& bin : binning) { - // finding the iterator position to determine the binning value - auto bit = std::find(Acts::binningValueNames().begin(), - Acts::binningValueNames().end(), bin.first); - std::size_t indx = std::distance(Acts::binningValueNames().begin(), bit); - Acts::BinningValue bval = Acts::BinningValue(indx); - Acts::BinningOption bopt = bin.second; - double min = 0.; - double max = 0.; - if (bopt == Acts::closed) { - min = -M_PI; - max = M_PI; - } - int bins = params.get(valueTag + "_"s + bin.first); - ACTS_VERBOSE(" - material binning for " << bin.first << " on " << valueTag - << ": " << bins); - if (bins >= 1) { - bu += Acts::BinUtility(bins, min, max, bopt, bval); - } - } - return std::make_shared(bu); -} - -void Acts::addLayerProtoMaterial( - const dd4hep::rec::VariantParameters& params, Layer& layer, - const std::vector >& - binning, - const Logger& logger) { - ACTS_VERBOSE("addLayerProtoMaterial"); - // Start with the representing surface - std::vector materialOptions = {"layer_material_representing"}; - std::vector materialSurfaces = { - &(layer.surfaceRepresentation())}; - // Now fill (optionally) with the approach surfaces - auto aDescriptor = layer.approachDescriptor(); - if (aDescriptor != nullptr and aDescriptor->containedSurfaces().size() >= 2) { - // Add the inner and outer approach surface - const std::vector& aSurfaces = - aDescriptor->containedSurfaces(); - materialOptions.push_back("layer_material_inner"); - materialSurfaces.push_back(aSurfaces[0]); - materialOptions.push_back("layer_material_outer"); - materialSurfaces.push_back(aSurfaces[1]); - } - - // Now loop over it and create the ProtoMaterial - for (unsigned int is = 0; is < materialOptions.size(); ++is) { - // if (actsExtension.hasValue(materialOptions[is])) { - ACTS_VERBOSE(" - checking material for: " << materialOptions[is]); - if (params.contains(materialOptions[is])) { - ACTS_VERBOSE(" - have material"); - // Create the material and assign it - auto psMaterial = - createProtoMaterial(params, materialOptions[is], binning, logger); - // const_cast (ugly - to be changed after internal geometry stored - // non-const) - Surface* surface = const_cast(materialSurfaces[is]); - surface->assignSurfaceMaterial(psMaterial); - } - } -} - -void Acts::addCylinderLayerProtoMaterial(dd4hep::DetElement detElement, - Layer& cylinderLayer, - const Logger& logger) { - ACTS_VERBOSE( - "Translating DD4hep material into Acts material for CylinderLayer : " - << detElement.name()); - if (hasParams(detElement)) { - ACTS_VERBOSE(" params: " << getParams(detElement)); - } else { - ACTS_VERBOSE(" NO params"); - } - if (getParamOr("layer_material", detElement, false)) { - addLayerProtoMaterial(getParams(detElement), cylinderLayer, - {{"binPhi", Acts::closed}, {"binZ", Acts::open}}, - logger); - } -} - -void Acts::addDiscLayerProtoMaterial(dd4hep::DetElement detElement, - Layer& discLayer, const Logger& logger) { - ACTS_VERBOSE("Translating DD4hep material into Acts material for DiscLayer : " - << detElement.name()); - - if (hasParams(detElement)) { - ACTS_VERBOSE(" params: " << getParams(detElement)); - } else { - ACTS_VERBOSE(" NO params"); - } - if (getParamOr("layer_material", detElement, false)) { - addLayerProtoMaterial(getParams(detElement), discLayer, - {{"binPhi", Acts::closed}, {"binR", Acts::open}}, - logger); - } -} diff --git a/Plugins/ExaTrkX/include/Acts/Plugins/ExaTrkX/ExaTrkXTiming.hpp b/Plugins/ExaTrkX/include/Acts/Plugins/ExaTrkX/ExaTrkXTiming.hpp deleted file mode 100644 index 8bbd9839098..00000000000 --- a/Plugins/ExaTrkX/include/Acts/Plugins/ExaTrkX/ExaTrkXTiming.hpp +++ /dev/null @@ -1,87 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2022 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -#include "Acts/Utilities/Logger.hpp" - -#include -#include -#include -#include -#include - -namespace Acts { - -/// @struct ExaTrkXTime -/// -/// @brief Collection of timing information of the Exa.TrkX algorithm -struct ExaTrkXTime { - float embedding = 0.0; - float building = 0.0; - float filtering = 0.0; - float gnn = 0.0; - float labeling = 0.0; - float total = 0.0; - - void summary(const Logger& logger) const { - ACTS_VERBOSE("1) embedding: " << embedding); - ACTS_VERBOSE("2) building: " << building); - ACTS_VERBOSE("3) filtering: " << filtering); - ACTS_VERBOSE("4) gnn: " << gnn); - ACTS_VERBOSE("5) labeling: " << labeling); - ACTS_VERBOSE("6) total: " << total); - } -}; - -/// @class ExaTrkXTimer -/// -/// A timer to allow easy timing -class ExaTrkXTimer { - public: - ExaTrkXTimer(bool disabled = false) : m_disabled(disabled) {} - - void start() { - if (!m_disabled) { - m_start = std::chrono::high_resolution_clock::now(); - m_running = true; - } - } - void stop() { - if (!m_disabled) { - m_end = std::chrono::high_resolution_clock::now(); - m_running = false; - } - } - double stopAndGetElapsedTime() { - stop(); - return elapsedSeconds(); - } - double elapsed() { - if (!m_disabled) { - std::chrono::time_point end; - if (m_running) { - end = std::chrono::high_resolution_clock::now(); - } else { - end = m_end; - } - return std::chrono::duration(end - m_start).count(); - } else { - return 0.0; - } - } - double elapsedSeconds() { return elapsed() / 1000.0; } - - private: - std::chrono::time_point m_start; - std::chrono::time_point m_end; - bool m_running = false; - bool m_disabled; -}; - -} // namespace Acts diff --git a/Tests/IntegrationTests/PropagationTestsAtlasField.cpp b/Tests/IntegrationTests/PropagationTestsAtlasField.cpp deleted file mode 100644 index dbc1c532612..00000000000 --- a/Tests/IntegrationTests/PropagationTestsAtlasField.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2017-2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#include -#include - -#include "Acts/Definitions/Algebra.hpp" -#include "Acts/Definitions/Units.hpp" -#include "Acts/EventData/TrackParameters.hpp" -#include "Acts/MagneticField/BFieldMapUtils.hpp" -#include "Acts/MagneticField/InterpolatedBFieldMap.hpp" -#include "Acts/MagneticField/SharedBFieldMap.hpp" -#include "Acts/MagneticField/concept/AnyFieldLookup.hpp" -#include "Acts/Propagator/AtlasStepper.hpp" -#include "Acts/Propagator/EigenStepper.hpp" -#include "Acts/Propagator/Propagator.hpp" -#include "Acts/Surfaces/CylinderSurface.hpp" -#include "Acts/Surfaces/DiscSurface.hpp" -#include "Acts/Surfaces/PlaneSurface.hpp" -#include "Acts/Surfaces/StrawSurface.hpp" -#include "Acts/Utilities/Grid.hpp" -#include "Acts/Utilities/detail/Axis.hpp" - -#include "PropagationTestHelper.hpp" - -namespace Acts { - -/// Get the ATLAS field from : -/// http://acts.web.cern.ch/ACTS/data/AtlasField/AtlasField.tar.gz -/// to run this - -namespace IntegrationTest { - -// Create a mapper from a text file -InterpolatedBFieldMap::FieldMapper<3, 3> readFieldXYZ( - std::function binsXYZ, - std::array nBinsXYZ)> - localToGlobalBin, - std::string fieldMapFile = "Field.txt", double lengthUnit = 1., - double BFieldUnit = 1., std::size_t nPoints = 100000, - bool firstOctant = false) { - /// [1] Read in field map file - // Grid position points in x, y and z - std::vector xPos; - std::vector yPos; - std::vector zPos; - // components of magnetic field on grid points - std::vector bField; - // reserve estimated size - xPos.reserve(nPoints); - yPos.reserve(nPoints); - zPos.reserve(nPoints); - bField.reserve(nPoints); - // [1] Read in file and fill values - std::ifstream map_file(fieldMapFile.c_str(), std::ios::in); - std::string line; - double x = 0., y = 0., z = 0.; - double bx = 0., by = 0., bz = 0.; - while (std::getline(map_file, line)) { - if (line.empty() || line[0] == '%' || line[0] == '#' || - line.find_first_not_of(' ') == std::string::npos) - continue; - - std::istringstream tmp(line); - tmp >> x >> y >> z >> bx >> by >> bz; - xPos.push_back(x); - yPos.push_back(y); - zPos.push_back(z); - bField.push_back(Acts::Vector3(bx, by, bz)); - } - map_file.close(); - - return fieldMapperXYZ(localToGlobalBin, xPos, yPos, zPos, bField, lengthUnit, - BFieldUnit, firstOctant); -} - -// create a bfiel map from a mapper -std::shared_ptr atlasBField( - std::string fieldMapFile = "Field.txt") { - // Declare the mapper - Concepts ::AnyFieldLookup<> mapper; - double lengthUnit = UnitConstants::mm; - double BFieldUnit = UnitConstants::T; - // read the field x,y,z from a text file - mapper = readFieldXYZ( - [](std::array binsXYZ, - std::array nBinsXYZ) { - return (binsXYZ.at(0) * (nBinsXYZ.at(1) * nBinsXYZ.at(2)) + - binsXYZ.at(1) * nBinsXYZ.at(2) + binsXYZ.at(2)); - }, - fieldMapFile, lengthUnit, BFieldUnit); - // create the config - InterpolatedBFieldMap::Config config; - config.scale = 1.; - config.mapper = std::move(mapper); - // make the interpolated field - return std::make_shared(std::move(config)); -} - -double Bz = 2_T; - -using BFieldType = InterpolatedBFieldMap; -using EigenStepperType = EigenStepper<>; -using AtlasStepperType = AtlasStepper; -using EigenPropagatorType = Propagator; -using AtlasPropagatorType = Propagator; - -auto bField = atlasBField("Field.txt"); - -EigenStepperType estepper(bField); -EigenPropagatorType epropagator(std::move(estepper)); -AtlasStepperType astepper(bField); -AtlasPropagatorType apropagator(std::move(astepper)); - -// The actual test - needs to be included to avoid -// template inside template definition through boost -#include "PropagationTestBase.hpp" - -} // namespace IntegrationTest -} // namespace Acts diff --git a/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.hpp b/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.hpp deleted file mode 100644 index a430a83801a..00000000000 --- a/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.hpp +++ /dev/null @@ -1,38 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -#include "Acts/Seeding/IBinFinder.hpp" - -#include - -namespace Acts { - -// DEBUG: THIS REQUIRES THE BINS TO BE SET TO phi:41 z:11 - -/// @class ATLASBinFinder -/// The ATLASBinFinder is an implementation of the ATLAS bincombination behavior -/// satisfying the IBinFinder interface. Assumes the grid has 11 bins filled by -/// the same logic as ATLAS bins. -template -class ATLASBottomBinFinder : public IBinFinder { - public: - /// destructor - ~ATLASBottomBinFinder() = default; - - /// Return all bins that could contain space points that can be used with the - /// space points in the bin with the provided indices to create seeds. - /// @param phiBin phi index of bin with middle space points - /// @param zBin z index of bin with middle space points - /// @param binnedSP phi-z grid containing all bins - std::set findBins(std::size_t phiBin, std::size_t zBin, - const SpacePointGrid* binnedSP); -}; -} // namespace Acts -#include "ATLASBottomBinFinder.ipp" diff --git a/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.ipp b/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.ipp deleted file mode 100644 index 7b6a1d9c2aa..00000000000 --- a/Tests/UnitTests/Core/Seeding/ATLASBottomBinFinder.ipp +++ /dev/null @@ -1,46 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -// DEBUG: THIS REQUIRES THE BINS TO BE SET TO phi:41 z:11 - -template -std::set Acts::ATLASBottomBinFinder::findBins( - std::size_t phiBin, std::size_t zBin, - const Acts::SpacePointGrid* binnedSP) { - std::set neighbourBins = - binnedSP->neighborHoodIndices({phiBin, zBin}, 1); - if (zBin == 6) { - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin - 1})); - return neighbourBins; - } - if (zBin > 6) { - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin + 1})); - } else { - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin - 1})); - } - if (zBin == 4) { - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin, zBin + 2})); - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin - 1, zBin + 2})); - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin + 1, zBin + 2})); - } - if (zBin == 8) { - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin, zBin - 2})); - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin - 1, zBin - 2})); - neighbourBins.insert(binnedSP->getGlobalBinIndex({phiBin + 1, zBin - 2})); - } - return neighbourBins; -} diff --git a/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.hpp b/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.hpp deleted file mode 100644 index d04a0ec5547..00000000000 --- a/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.hpp +++ /dev/null @@ -1,39 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -#include "Acts/Seeding/IBinFinder.hpp" - -#include - -namespace Acts { - -// DEBUG: THIS REQUIRES THE BINS TO BE SET TO phi:41 z:11 - -/// @class ATLASBinFinder -/// The ATLASBinFinder is an implementation of the ATLAS bincombination behavior -/// satisfying the IBinFinder interface. Assumes the grid has 11 bins filled by -/// the same logic as ATLAS bins. -template -class ATLASTopBinFinder : public IBinFinder { - public: - /// Virtual destructor - ~ATLASTopBinFinder() = default; - - /// Return all bins that could contain space points that can be used with the - /// space points in the bin with the provided indices to create seeds. - /// @param phiBin phi index of bin with middle space points - /// @param zBin z index of bin with middle space points - /// @param binnedSP phi-z grid containing all bins - std::set findBins(std::size_t phiBin, std::size_t zBin, - const SpacePointGrid* binnedSP); -}; -} // namespace Acts - -#include "ATLASTopBinFinder.ipp" diff --git a/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.ipp b/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.ipp deleted file mode 100644 index a3fdb6b47c8..00000000000 --- a/Tests/UnitTests/Core/Seeding/ATLASTopBinFinder.ipp +++ /dev/null @@ -1,31 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -// DEBUG: THIS REQUIRES THE BINS TO BE SET TO phi:41 z:11 -template -std::set Acts::ATLASTopBinFinder::findBins( - std::size_t phiBin, std::size_t zBin, - const Acts::SpacePointGrid* binnedSP) { - std::set neighbourBins = - binnedSP->neighborHoodIndices({phiBin, zBin}, 1); - if (zBin == 6) { - return neighbourBins; - } - // <10 not necessary because grid doesn't return bins that don't exist (only - // works for 11 zbins) - if (zBin > 6) { - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin - 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin - 1})); - } else { - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin + 1})); - neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin + 1})); - } - return neighbourBins; -} diff --git a/Tests/UnitTests/Core/Seeding/TestCovarianceTool.hpp b/Tests/UnitTests/Core/Seeding/TestCovarianceTool.hpp deleted file mode 100644 index 33181404cb4..00000000000 --- a/Tests/UnitTests/Core/Seeding/TestCovarianceTool.hpp +++ /dev/null @@ -1,40 +0,0 @@ -// This file is part of the Acts project. -// -// Copyright (C) 2018 CERN for the benefit of the Acts project -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. - -#pragma once - -namespace Acts { -class CovarianceTool { - public: - /// Virtual destructor - ~CovarianceTool() = default; - - /// ICovarianceTool interface method - /// returns squared errors in z and r for the passed SpacePoint - /// @param sp is the SpacePoint from which the covariance values will be - /// retrieved - /// @param zAlign is the alignment uncertainty in z. - /// it is going to be squared and added to varianceZ. - /// @param rAlign is the alignment uncertainty in r. - /// it is going to be squared and added to varianceR. - /// @param sigma is multiplied with the combined alignment and covariance - /// errors - template - Acts::Vector2 getCovariances(const SpacePoint* sp, float zAlign = 0, - float rAlign = 0, float sigma = 1); -}; -template -inline Acts::Vector2 CovarianceTool::getCovariances(const SpacePoint* sp, - float zAlign, float rAlign, - float sigma) { - Acts::Vector2 cov; - cov[0] = ((*sp).varianceR + rAlign * rAlign) * sigma; - cov[1] = ((*sp).varianceZ + zAlign * zAlign) * sigma; - return cov; -} -} // namespace Acts diff --git a/docs/core/figures/material/MaterialAssignment.jpeg b/docs/core/figures/material/MaterialAssignment.jpg similarity index 100% rename from docs/core/figures/material/MaterialAssignment.jpeg rename to docs/core/figures/material/MaterialAssignment.jpg diff --git a/docs/core/figures/material/MaterialAveraging.jpeg b/docs/core/figures/material/MaterialAveraging.jpg similarity index 100% rename from docs/core/figures/material/MaterialAveraging.jpeg rename to docs/core/figures/material/MaterialAveraging.jpg diff --git a/docs/core/geometry/figures/DiscLayerAB.png b/docs/core/geometry/figures/DiscLayerAB.png deleted file mode 100644 index 54676e2a735..00000000000 Binary files a/docs/core/geometry/figures/DiscLayerAB.png and /dev/null differ diff --git a/docs/core/material.md b/docs/core/material.md index cc6f76b6441..05efff08748 100644 --- a/docs/core/material.md +++ b/docs/core/material.md @@ -16,5 +16,5 @@ Link to instructions how to run the material mapping in the examples Improve material mapping technical description ::: -![](figures/material/MaterialAssignment.jpeg) -![](figures/material/MaterialAveraging.jpeg) +![](figures/material/MaterialAssignment.jpg) +![](figures/material/MaterialAveraging.jpg) diff --git a/docs/examples/howto/figures/materialMapping/ActsMaterialMappingAutoTuning.png b/docs/examples/howto/figures/materialMapping/ActsMaterialMappingAutoTuning.png deleted file mode 100644 index 9bf06a09dff..00000000000 Binary files a/docs/examples/howto/figures/materialMapping/ActsMaterialMappingAutoTuning.png and /dev/null differ diff --git a/docs/figures/doxygen/RotatedTrapezoidBounds.gif b/docs/figures/doxygen/RotatedTrapezoidBounds.gif deleted file mode 100644 index c9c6c0fbe4d..00000000000 Binary files a/docs/figures/doxygen/RotatedTrapezoidBounds.gif and /dev/null differ diff --git a/docs/figures/performance/CKF/duplicationrate_vs_eta_ttbar_pu200.png b/docs/figures/performance/CKF/duplicationrate_vs_eta_ttbar_pu200.png deleted file mode 100644 index 219281a0df9..00000000000 Binary files a/docs/figures/performance/CKF/duplicationrate_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/CKF/fakerate_vs_eta_ttbar_pu200.png b/docs/figures/performance/CKF/fakerate_vs_eta_ttbar_pu200.png deleted file mode 100644 index 421b3d222ff..00000000000 Binary files a/docs/figures/performance/CKF/fakerate_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/CKF/trackeff_vs_eta_ttbar_pu200.png b/docs/figures/performance/CKF/trackeff_vs_eta_ttbar_pu200.png deleted file mode 100644 index 86077f64e71..00000000000 Binary files a/docs/figures/performance/CKF/trackeff_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/fitter/nHoles_vs_eta_ttbar_pu200.png b/docs/figures/performance/fitter/nHoles_vs_eta_ttbar_pu200.png deleted file mode 100644 index 4c38da8824a..00000000000 Binary files a/docs/figures/performance/fitter/nHoles_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/fitter/nMeasurements_vs_eta_ttbar_pu200.png b/docs/figures/performance/fitter/nMeasurements_vs_eta_ttbar_pu200.png deleted file mode 100644 index cfa5af10d4b..00000000000 Binary files a/docs/figures/performance/fitter/nMeasurements_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/fitter/pull_perigee_parameters_ttbar_pu200.png b/docs/figures/performance/fitter/pull_perigee_parameters_ttbar_pu200.png deleted file mode 100644 index 4aecbd6cc2b..00000000000 Binary files a/docs/figures/performance/fitter/pull_perigee_parameters_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/fitter/trackeff_vs_eta_ttbar_pu200.png b/docs/figures/performance/fitter/trackeff_vs_eta_ttbar_pu200.png deleted file mode 100644 index 232cb1306c9..00000000000 Binary files a/docs/figures/performance/fitter/trackeff_vs_eta_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/fitter/trackeff_vs_pT_ttbar_pu200.png b/docs/figures/performance/fitter/trackeff_vs_pT_ttbar_pu200.png deleted file mode 100644 index 760a636fd01..00000000000 Binary files a/docs/figures/performance/fitter/trackeff_vs_pT_ttbar_pu200.png and /dev/null differ diff --git a/docs/figures/performance/seeding/seeding_eff_vs_eta.png b/docs/figures/performance/seeding/seeding_eff_vs_eta.png deleted file mode 100644 index 304813f03bc..00000000000 Binary files a/docs/figures/performance/seeding/seeding_eff_vs_eta.png and /dev/null differ diff --git a/docs/figures/performance/seeding/seeding_eff_vs_pt.png b/docs/figures/performance/seeding/seeding_eff_vs_pt.png deleted file mode 100644 index bfc8e29882b..00000000000 Binary files a/docs/figures/performance/seeding/seeding_eff_vs_pt.png and /dev/null differ diff --git a/docs/figures/tracking/layer_geo.svg b/docs/figures/tracking/layer_geo.svg deleted file mode 100644 index ccd1d344816..00000000000 --- a/docs/figures/tracking/layer_geo.svg +++ /dev/null @@ -1 +0,0 @@ -xyzbarrelpositive endcapnegative endcap \ No newline at end of file diff --git a/docs/figures/tracking/navigation.svg b/docs/figures/tracking/navigation.svg deleted file mode 100644 index c47e633544a..00000000000 --- a/docs/figures/tracking/navigation.svg +++ /dev/null @@ -1 +0,0 @@ -pADpDHpCDABCDEFGHxyz \ No newline at end of file diff --git a/docs/figures/tracking/strip_ghosts.svg b/docs/figures/tracking/strip_ghosts.svg deleted file mode 100644 index 2239ddea9b6..00000000000 --- a/docs/figures/tracking/strip_ghosts.svg +++ /dev/null @@ -1 +0,0 @@ -(a)particleAparticleB(b) \ No newline at end of file diff --git a/docs/plugins/figures/sycl/count_duplets.png b/docs/plugins/figures/sycl/count_duplets.png deleted file mode 100644 index 41b21818b24..00000000000 Binary files a/docs/plugins/figures/sycl/count_duplets.png and /dev/null differ diff --git a/docs/plugins/figures/sycl/duplet_search_matrix.png b/docs/plugins/figures/sycl/duplet_search_matrix.png deleted file mode 100644 index aaf5cc8e500..00000000000 Binary files a/docs/plugins/figures/sycl/duplet_search_matrix.png and /dev/null differ diff --git a/docs/plugins/figures/sycl/flat_matrix.png b/docs/plugins/figures/sycl/flat_matrix.png deleted file mode 100644 index 643776b4945..00000000000 Binary files a/docs/plugins/figures/sycl/flat_matrix.png and /dev/null differ diff --git a/docs/plugins/figures/sycl/middle_duplet_indices.png b/docs/plugins/figures/sycl/middle_duplet_indices.png deleted file mode 100644 index 20a7ace1116..00000000000 Binary files a/docs/plugins/figures/sycl/middle_duplet_indices.png and /dev/null differ diff --git a/docs/plugins/figures/sycl/prefix_sum_array.png b/docs/plugins/figures/sycl/prefix_sum_array.png deleted file mode 100644 index b6e01718b4a..00000000000 Binary files a/docs/plugins/figures/sycl/prefix_sum_array.png and /dev/null differ diff --git a/docs/plugins/figures/tgeo/TGeoArb8_PlaneSurface.png b/docs/plugins/figures/tgeo/TGeoArb8_PlaneSurface.png deleted file mode 100644 index 316543d961d..00000000000 Binary files a/docs/plugins/figures/tgeo/TGeoArb8_PlaneSurface.png and /dev/null differ diff --git a/docs/whitepaper-template.png b/docs/whitepaper-template.png deleted file mode 100644 index e8e4c8acf86..00000000000 Binary files a/docs/whitepaper-template.png and /dev/null differ