ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::Ccl::TimedConnect< Cell, N > Struct Template Reference

Connection type with an added time compatibility requirement. More...

#include <Acts/Clusterization/TimedClusterization.hpp>

Inheritance diagram for Acts::Ccl::TimedConnect< Cell, N >:
[legend]
Collaboration diagram for Acts::Ccl::TimedConnect< Cell, N >:
[legend]

Public Member Functions

 TimedConnect (double time)
 Constructor.
 TimedConnect (double time, bool commonCorner)
 Constructor.
ConnectResult operator() (const Cell &ref, const Cell &iter) const override
 Check if two cells are connected in space and time.

Public Attributes

double timeTolerance {std::numeric_limits<double>::max()}
 Maximum time difference for cells to be considered connected.

Detailed Description

template<Acts::Ccl::HasRetrievableTimeInfo Cell, std::size_t N>
struct Acts::Ccl::TimedConnect< Cell, N >

Connection type with an added time compatibility requirement.

Constructor & Destructor Documentation

◆ TimedConnect() [1/2]

template<Acts::Ccl::HasRetrievableTimeInfo Cell, std::size_t N>
Acts::Ccl::TimedConnect< Cell, N >::TimedConnect ( double time)
explicit

Constructor.

Parameters
timeTime tolerance

◆ TimedConnect() [2/2]

template<Acts::Ccl::HasRetrievableTimeInfo Cell, std::size_t N>
Acts::Ccl::TimedConnect< Cell, N >::TimedConnect ( double time,
bool commonCorner )

Constructor.

Parameters
timeTime tolerance
commonCornerWhether cells sharing only a corner are considered connected

Member Function Documentation

◆ operator()()

template<Acts::Ccl::HasRetrievableTimeInfo Cell, std::size_t N>
ConnectResult Acts::Ccl::TimedConnect< Cell, N >::operator() ( const Cell & ref,
const Cell & iter ) const
override

Check if two cells are connected in space and time.

Parameters
refReference cell
iterCandidate cell
Returns
Connection result