Skip to content

Commit

Permalink
add requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 1, 2024
1 parent ce250b0 commit 9cd9cdb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Core/include/Acts/Clusterization/TimedClusterization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@
#pragma once

#include "Acts/Clusterization/Clusterization.hpp"
#include "Acts/Definitions/Algebra.hpp"

namespace Acts::Ccl {

template <typename Cell, std::size_t N>
struct TimedClusterization {
};
template <typename Cell>
concept HasRetrievableTimeInfo = requires(Cell cell) {
{ getCellTime(cell) } -> std::same_as<Acts::ActsScalar>;
};

}
template <Acts::Ccl::HasRetrievableTimeInfo Cell, std::size_t N>
struct TimedClusterization {};

} // namespace Acts::Ccl

0 comments on commit 9cd9cdb

Please sign in to comment.