forked from acts-project/acts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
340 additions
and
304 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
33 changes: 33 additions & 0 deletions
33
Core/include/Acts/EventData/TrackContainerFrontendConcept.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,33 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2024 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/EventData/TrackContainerBackendConcept.hpp" | ||
#include "Acts/EventData/Types.hpp" | ||
|
||
#include <concepts> | ||
|
||
namespace Acts { | ||
|
||
template <typename T> | ||
concept TrackContainerFrontend = requires() { | ||
{ T::ReadOnly } -> std::same_as<const bool &>; | ||
|
||
requires std::same_as<typename T::IndexType, TrackIndexType>; | ||
|
||
requires TrackContainerBackend<typename T::TrackContainerBackend>; | ||
requires CommonMultiTrajectoryBackend<typename T::TrackStateContainerBackend>; | ||
|
||
typename T::TrackProxy; | ||
typename T::ConstTrackProxy; | ||
typename T::TrackStateProxy; | ||
typename T::ConstTrackStateProxy; | ||
}; | ||
|
||
} // namespace Acts |
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
// This file is part of the Acts project. | ||
// | ||
// Copyright (C) 2024 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/EventData/MultiTrajectoryBackendConcept.hpp" | ||
#include "Acts/EventData/TrackContainerBackendConcept.hpp" | ||
#include "Acts/EventData/Types.hpp" | ||
|
||
#include <concepts> | ||
|
||
namespace Acts { | ||
|
||
template <typename T> | ||
concept TrackProxyConcept = requires() { | ||
{ T::ReadOnly } -> std::same_as<const bool &>; | ||
|
||
requires TrackContainerBackend<typename T::Container>; | ||
|
||
requires CommonMultiTrajectoryBackend<typename T::Trajectory>; | ||
|
||
requires std::same_as<typename T::IndexType, TrackIndexType>; | ||
}; | ||
|
||
} // namespace Acts |
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
Oops, something went wrong.