ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::BetheHeitlerApproxSingleCmp Class Referencefinal

This class approximates the Bethe-Heitler with only one component. More...

#include <Acts/TrackFitting/BetheHeitlerApprox.hpp>

Inheritance diagram for Acts::BetheHeitlerApproxSingleCmp:
[legend]
Collaboration diagram for Acts::BetheHeitlerApproxSingleCmp:
[legend]

Public Member Functions

std::size_t maxComponents () const override
 Returns the number of components the returned mixture will have.
std::span< Componentmixture (const double xOverX0, const std::span< Component > mixture) const override
 Returns array with length 1 containing a 1-component-representation of the Bethe-Heitler-Distribution.
bool validXOverX0 (const double xOverX0) const override
 Checks if an input is valid for the parameterization.
Public Member Functions inherited from Acts::BetheHeitlerApprox
virtual ~BetheHeitlerApprox ()=default

Additional Inherited Members

Public Types inherited from Acts::BetheHeitlerApprox
using Component = detail::GaussianComponent

Detailed Description

This class approximates the Bethe-Heitler with only one component.

This is mainly inside AtlasBetheHeitlerApprox, but can also be used as the only component approximation (then probably for debugging)

Member Function Documentation

◆ maxComponents()

std::size_t Acts::BetheHeitlerApproxSingleCmp::maxComponents ( ) const
overridevirtual

Returns the number of components the returned mixture will have.

Returns
Number of components (always 1 for single component approximation)

Implements Acts::BetheHeitlerApprox.

◆ mixture()

std::span< Component > Acts::BetheHeitlerApproxSingleCmp::mixture ( const double xOverX0,
const std::span< Component > mixture ) const
overridevirtual

Returns array with length 1 containing a 1-component-representation of the Bethe-Heitler-Distribution.

Parameters
xOverX0pathlength in terms of the radiation length
mixturepreallocated array to store the result
Returns
the unmodified input span containing the single component

Implements Acts::BetheHeitlerApprox.

◆ validXOverX0()

bool Acts::BetheHeitlerApproxSingleCmp::validXOverX0 ( const double xOverX0) const
overridevirtual

Checks if an input is valid for the parameterization.

The threshold for x/x0 is 0.002 and orientates on the values used in ATLAS

Parameters
xOverX0The x/x0 value to check
Returns
True if x/x0 is below the threshold for single component approximation

Implements Acts::BetheHeitlerApprox.