-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into seedPerfFloat
- Loading branch information
Showing
288 changed files
with
8,629 additions
and
3,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ ans | |
dthe | ||
dthe | ||
vart | ||
pixelx |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-434 Bytes
(99%)
CI/physmon/reference/performance_amvf_gridseeder_seeded_hist.root
Binary file not shown.
Binary file modified
BIN
-451 Bytes
(99%)
CI/physmon/reference/performance_amvf_gridseeder_ttbar_hist.root
Binary file not shown.
Binary file modified
BIN
-443 Bytes
(99%)
CI/physmon/reference/performance_amvf_orthogonal_hist.root
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-255 Bytes
(99%)
CI/physmon/reference/performance_amvf_truth_estimated_hist.root
Binary file not shown.
Binary file modified
BIN
-264 Bytes
(99%)
CI/physmon/reference/performance_amvf_truth_smeared_hist.root
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+714 Bytes
(100%)
CI/physmon/reference/performance_ckf_truth_estimated.root
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+456 Bytes
(100%)
CI/physmon/reference/performance_ivf_truth_estimated_hist.root
Binary file not shown.
Binary file modified
BIN
+459 Bytes
(100%)
CI/physmon/reference/performance_ivf_truth_smeared_hist.root
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+362 Bytes
(100%)
CI/physmon/reference/tracksummary_ckf_orthogonal_hist.root
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+835 Bytes
(100%)
CI/physmon/reference/tracksummary_ckf_truth_estimated_hist.root
Binary file not shown.
Binary file modified
BIN
+707 Bytes
(100%)
CI/physmon/reference/tracksummary_ckf_truth_smeared_hist.root
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# setup appropriate LCG release via cvmfs | ||
|
||
if test -e /etc/centos-release && grep 'CentOS Linux release 7' /etc/centos-release; then | ||
lcg_os=centos7 | ||
elif test -e /etc/centos-release && grep 'CentOS Stream release 8' /etc/centos-release; then | ||
lcg_os=centos8 | ||
# not centos. Check for RHEL | ||
elif test -e /etc/redhat-release && grep 'Linux release 9' /etc/redhat-release; then | ||
lcg_os=el9 | ||
else | ||
echo "Unsupported system" 1>&2 | ||
return | ||
fi | ||
|
||
lcg_release=LCG_105 | ||
lcg_compiler=gcc11-opt | ||
lcg_platform=x86_64-${lcg_os}-${lcg_compiler} | ||
lcg_view=/cvmfs/sft.cern.ch/lcg/views/${lcg_release}/${lcg_platform} | ||
|
||
source ${lcg_view}/setup.sh | ||
# extra variables required to build acts | ||
export DD4hep_DIR=${lcg_view} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
Core/include/Acts/Detector/CuboidalContainerBuilder.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2023 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/Detector/Blueprint.hpp" | ||
#include "Acts/Detector/DetectorComponents.hpp" | ||
#include "Acts/Detector/interface/IDetectorComponentBuilder.hpp" | ||
#include "Acts/Geometry/GeometryContext.hpp" | ||
#include "Acts/Utilities/BinningType.hpp" | ||
#include "Acts/Utilities/Logger.hpp" | ||
|
||
#include <memory> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace Acts { | ||
namespace Experimental { | ||
|
||
class IRootVolumeFinderBuilder; | ||
class IGeometryIdGenerator; | ||
|
||
/// @brief A dedicated container builder for cuboid detector containers | ||
/// | ||
/// It relies on the detailed implementation of the CuboidDetectorHelper | ||
/// and allows for DetectorVolume attachment in x/y/z | ||
/// | ||
/// There exists an option to create this container builder (recursively) | ||
/// from a blueprint tree, which attempts to fill in the gap volumes | ||
/// accordingly. | ||
/// | ||
/// @note the builder expects a fully consistent set of sub volume builders | ||
/// that will be executed in a chain | ||
/// | ||
/// @note allowed BinningValue(s) for the cuboid container builder are | ||
/// {binX}, {binY}, {binZ}. | ||
/// | ||
/// @note Connecting containers isn't functional yet due to the underlying | ||
/// issues in the CuboidDetectorHelper | ||
/// | ||
class CuboidalContainerBuilder : public IDetectorComponentBuilder { | ||
public: | ||
/// Nested configuration object | ||
struct Config { | ||
/// The configured volume builders | ||
std::vector<std::shared_ptr<const IDetectorComponentBuilder>> builders = {}; | ||
/// Binning prescription of attachment | ||
BinningValue binning{}; | ||
/// The root volume finder | ||
std::shared_ptr<const IRootVolumeFinderBuilder> rootVolumeFinderBuilder = | ||
nullptr; | ||
/// The geometry id generator | ||
std::shared_ptr<const IGeometryIdGenerator> geoIdGenerator = nullptr; | ||
/// An eventual reverse geometry id generation | ||
bool geoIdReverseGen = false; | ||
/// Auxiliary information, mainly for screen output | ||
std::string auxiliary = ""; | ||
}; | ||
|
||
/// Constructor with configuration struct | ||
/// | ||
/// @param cfg is the configuration struct | ||
/// @param logger logging instance for screen output | ||
CuboidalContainerBuilder(const Config& cfg, | ||
std::unique_ptr<const Logger> logger = | ||
getDefaultLogger("CuboidalContainerBuilder", | ||
Logging::INFO)); | ||
|
||
/// Constructor from blueprint and logging level | ||
/// | ||
/// It will create recursively the builders of sub volumes | ||
/// | ||
/// @param bpNode is the entry blue print node | ||
/// @param logLevel is the logging output level for the builder tools | ||
/// | ||
/// @note no checking is being done on consistency of the blueprint, | ||
/// it is assumed it has passed first through gap filling via the | ||
/// blueprint helper. | ||
/// | ||
/// @note that the naming of the builders is taken from the bluprint nodes | ||
/// | ||
/// @return a cylindrical container builder representing this blueprint | ||
CuboidalContainerBuilder(const Acts::Experimental::Blueprint::Node& bpNode, | ||
Acts::Logging::Level logLevel = Acts::Logging::INFO); | ||
|
||
/// The final implementation of the cylindrical container builder | ||
/// | ||
/// @param gctx The geometry context for this call | ||
/// | ||
/// @return an outgoing detector component | ||
DetectorComponent construct(const GeometryContext& gctx) const final; | ||
|
||
private: | ||
/// configuration object | ||
Config m_cfg; | ||
|
||
/// Private access method to the logger | ||
const Logger& logger() const { return *m_logger; } | ||
|
||
/// logging instance | ||
std::unique_ptr<const Logger> m_logger; | ||
}; | ||
|
||
} // namespace Experimental | ||
} // namespace Acts |
Oops, something went wrong.