ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsFatras::Segmentizer::ChannelStep Struct Reference

Nested struct for stepping from one channel to the next. More...

#include <ActsFatras/Digitization/Segmentizer.hpp>

Collaboration diagram for ActsFatras::Segmentizer::ChannelStep:
[legend]

Public Member Functions

 ChannelStep (BinDelta2D delta_, Acts::Vector2 intersect_, const Acts::Vector2 &start)
 Constructor with arguments for a ChannelStep.
bool operator< (const ChannelStep &cstep) const
 Smaller operator for sorting the ChannelStep objects.

Public Attributes

BinDelta2D delta = {0, 0}
 This is the delta to the last step in bins.
Acts::Vector2 intersect
 The intersection with the channel boundary.
double path = 0.
 The patlength from the start.

Detailed Description

Nested struct for stepping from one channel to the next.

Constructor & Destructor Documentation

◆ ChannelStep()

ActsFatras::Segmentizer::ChannelStep::ChannelStep ( BinDelta2D delta_,
Acts::Vector2 intersect_,
const Acts::Vector2 & start )

Constructor with arguments for a ChannelStep.

Parameters
delta_The bin delta for this step
intersect_The intersect with the channel boundary
startThe start of the surface segment, for path from origin

Member Function Documentation

◆ operator<()

bool ActsFatras::Segmentizer::ChannelStep::operator< ( const ChannelStep & cstep) const

Smaller operator for sorting the ChannelStep objects.

Parameters
cstepThe other ChannelStep to be compared
Returns
true if this ChannelStep has smaller path distance than cstep

The ChannelStep objects can be compared with its path distance from the start (surface segment origin)

Member Data Documentation

◆ delta

BinDelta2D ActsFatras::Segmentizer::ChannelStep::delta = {0, 0}

This is the delta to the last step in bins.

◆ intersect

Acts::Vector2 ActsFatras::Segmentizer::ChannelStep::intersect

The intersection with the channel boundary.

◆ path

double ActsFatras::Segmentizer::ChannelStep::path = 0.

The patlength from the start.